SA-MP Forums Archive
irc help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: irc help (/showthread.php?tid=294887)



irc help - Unknown123 - 03.11.2011

how can i get message only send back to teh guy who typed the command? the text sends to all, and i want to it send back to him.

pawn Код:
IRCCMD:command(botid, channel[], user[], host[], params[])
{
    if(!IRC_IsOp(botid, channel, user)) return IRC_Say(botid, channel, "You must be OP to use this command!");
    {
        //something
    }
    return 1;
}



Re: irc help - Kingunit - 03.11.2011

You mean like: /pm [PlayerID] ?


Re: irc help - Unknown123 - 03.11.2011

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
You mean like: /pm [PlayerID] ?
almost, like a pm to a guy on irc.


Re: irc help - Kingunit - 03.11.2011

So to make it clear. Ingame you want a command that sends a privatemessage to a person on the IRC.
Or you mean that the person on IRC can send a message to someone ingame?


Re: irc help - Unknown123 - 03.11.2011

what the guy under said


Re: irc help - [MG]Dimi - 03.11.2011

No. I think he meant on message for only one player on IRC. Like return info. Same as SendClientmEssage just on IRC

EDIT: way too slow


Re: irc help - Unknown123 - 03.11.2011

Quote:
Originally Posted by [MG]Dimi
Посмотреть сообщение
No. I think he meant on message for only one player on IRC. Like return info. Same as SendClientmEssage just on IRC
yes, correct!


Respuesta: irc help - Super_Panda - 03.11.2011

IRCSay


Re: Respuesta: irc help - Unknown123 - 03.11.2011

Quote:
Originally Posted by Super_Panda
Посмотреть сообщение
IRCSay
i did that, look at my first post. everyone that is on irc can see it, but its supposed to only send the message to the guy who used the command, like SendClientMessage(playerid


Re: irc help - [MG]Dimi - 03.11.2011

MAYBE this one?

I don't know

IRC_ReplyCTCP