12.01.2011, 10:27
(
Последний раз редактировалось Fool; 12.01.2011 в 10:27.
Причина: didnt use /code
)
Okay here is a Simple GMX command that will help you.
Код:
IRCCMD:gmx(botid, channel[], user[], host[], params[]) { if (IRC_IsAdmin(botid, channel, user)) { new msg[128]; format(msg, sizeof(msg), "The server was restarted by Admin %s.", user); IRC_GroupSay(gGroupID, channel, msg); SendRconCommand("gmx"); SendClientMessageToAll(0xFF0000FF, msg); } return 1; }