27.03.2015, 07:00
Hmm so i figure out the problem i think it's caused by the bots. I currently have 2 bots on my IRC, tested joining when the 2nd bot haven't joined and it worked fine.
So now, my question is, how do i make only 1 bot to do SendClientMessageToAll ?
Thanks for the help tho, i really don't know anything about scripting :c
Oh and here's the command to send message in-game from IRC, i used it to do the same thing with the joining message (Might help)
It doesn't appear double when using this command so i think i'm missing something from this
So now, my question is, how do i make only 1 bot to do SendClientMessageToAll ?
Thanks for the help tho, i really don't know anything about scripting :c
Oh and here's the command to send message in-game from IRC, i used it to do the same thing with the joining message (Might help)
Код:
IRCCMD:say(botid, channel[], user[], host[], params[]) { if (!isnull(params)) { new msg[128]; // Echo the formatted message format(msg, sizeof(msg), "02*** %s on IRC: %s", user, params); IRC_GroupSay(groupID, channel, msg); format(msg, sizeof(msg), "*** %s on IRC: %s", user, params); SendClientMessageToAll(0xFF9900AA, msg); } }