0 Members and 2 Guests are viewing this topic.
g++ gclass.cpp -o gclass
Well, you need to tweak it up a bit. you should remove the useless !sinfo commands, as well as others which are server dependent (!playing, etc).
system("./commands.rb > cmds.txt")
}else if(split.size() >= 3 && split[3] == ":!playing" && halted==false){ server[0].fetch_refresh(); irc.msg_chan(string("Server0: "+server[0].playing_info())); }else if(split.size() >= 3 && split[3] == ":!playing2" && halted==false){ server[1].fetch_refresh(); irc.msg_chan(string("Server1: "+server[1].playing_info())); }else if(split.size() >= 3 && split[3] == ":!playing3" && halted==false){ server[2].fetch_refresh(); irc.msg_chan(string("Server2: "+server[2].playing_info())); }else if(split.size() >= 3 && split[3] == ":!playing4" && halted==false){ server[3].fetch_refresh(); irc.msg_chan(string("Server3: "+server[3].playing_info()));
}else if(split.size() >= 3 && split[3] == ":!playing" && halted==false){ server[0].fetch_refresh(); irc.msg_chan(string("Server0: "+server[0].playing_info()));
const signed short int ERR_GATHER_RUNNING = -3;
You can't usually have more than two simultaneous connections from the same user (ident) to Quakenet, when you're using a trust for a box.