04.09.2011, 08:38
Yoshi you should also check what NickServ (or whatever service) responds to the IDENTIFY through IRC_OnUserNotice!
public IRC_OnUserSetChannelMode(botid, channel[], user[], host[], mode[])
{
if (!strcmp("+m",mode,false)) AutoVoice = false;
else if (!strcmp("-m",mode,false)) AutoVoice = true;
else return 1;
new msg[128];
if (AutoVoice == true) format(msg,sizeof(msg),"2Automatic voice is now: on");
else format(msg,sizeof(msg),"2Automatic voice is now: off");
return IRC_GroupSay(gGroupID, channel, msg);
}
native IRC_SetStringData(botid, data, string[]);
irc.inc(38) : error 010: invalid function or declaration irc.inc(38) : error 001: expected token: ";", but found "[" irc.inc(40) : error 010: invalid function or declaration irc.inc(40) : error 001: expected token: ";", but found "[" irc.inc(43) : error 010: invalid function or declaration irc.inc(43) : error 001: expected token: ";", but found "[" irc.inc(44) : error 010: invalid function or declaration irc.inc(44) : error 001: expected token: ";", but found "[" irc.inc(47) : error 010: invalid function or declaration irc.inc(47) : error 001: expected token: ";", but found "[" irc.inc(51) : error 010: invalid function or declaration irc.inc(51) : error 001: expected token: ";", but found "[" irc.inc(52) : error 010: invalid function or declaration irc.inc(52) : error 001: expected token: ";", but found "[" irc.inc(53) : error 010: invalid function or declaration irc.inc(53) : error 001: expected token: ";", but found "[" irc.inc(58) : error 010: invalid function or declaration irc.inc(58) : error 001: expected token: ";", but found "[" irc.inc(59) : error 010: invalid function or declaration irc.inc(59) : error 001: expected token: ";", but found "[" irc.inc(69) : error 010: invalid function or declaration irc.inc(69) : error 001: expected token: ";", but found "[" irc.inc(70) : error 010: invalid function or declaration irc.inc(70) : error 001: expected token: ";", but found "[" irc.inc(71) : error 010: invalid function or declaration irc.inc(71) : error 001: expected token: ";", but found "["
#define IRC_SERVER "irc.freenode.net"
#define IRC_PORT (6667)
#define IRC_CHANNEL "#*removed*"