Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- irccmd_banip(botid, channel[], user[], params[])
- {
- #pragma unused playerid
- if(!isnull(params))
- {
- new rcon[30];
- format(rcon, sizeof(rcon), "banip %s", params);
- SendRconCommand(rcon);
- format(text2, sizeof(text2), "1,10Admin %s(IRC) has banned ip : 4 %s.", user, rcon);
- IRC_GroupSay(gGroupID, IRC_ADMIN_CHANNEL, text2);
- IRC_GroupSay(gGroupID2, IRC_ADMIN_CHANNEL, text2);
- format(text2, sizeof(text2), "1,10Admin %s(IRC) has banned ip : 4 %s.", user, rcon);
- SendClientMessageToAdmin(1, -1, LEMON, text2);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement