24.07.2009, 02:28
Recently my !say command in IRC has stopped transmitting a players message to the server. I haven't touched or edited the !say command [to my knowledge], and everything looks fine to me.
The bot still connects to the IRC channel and transmits all player messages and activity to IRC, just not messages FROM IRC.
Below is the !say command for IRC in my script, if anyone needs to see more just let me know and I will post it.
The bot still connects to the IRC channel and transmits all player messages and activity to IRC, just not messages FROM IRC.
Below is the !say command for IRC in my script, if anyone needs to see more just let me know and I will post it.
pawn Код:
irccmd_say(conn, channel[], user[], params[])
{
if (!ircIsOp(conn,channel,user) && !ircHasVoice(conn,channel,user) && !ircIsHalfOp(conn,channel,user)) return false;
printinfo
new msg[112];
format(msg,sizeof(msg), "%s(IRC) %s", user, params);
SendClientMessageToAll(0x2587CEAA, msg);
format(msg, sizeof(msg), "%s(IRC) %s", user, params);
ircSay(conn, channel, msg);
return true;
}