SHARE
TWEET

Untitled

a guest Aug 12th, 2017 112 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. IRCCMD:gamerx(botid, channel[], user[], host[], params[])
  2. {
  3.     if(GetInfoPacket("85.17.161.66",8800))
  4.     {
  5.         new string[256], hostname[75], gamemode[45], mapname[35],SQplayers;
  6.         iGetHostname(hostname);
  7.         iGetGamemode(gamemode);
  8.         iGetMapname(mapname);
  9.         SQplayers = iGetPlayers();
  10.         format(string,sizeof string,"3%s:",hostname);
  11.         IRC_Say(irc,IRC_CHANNEL,string);
  12.         format(string,sizeof string,"%d Players, GM: %s, Mapname: %s",SQplayers,gamemode,mapname);
  13.         IRC_Say(irc,IRC_CHANNEL,string);
  14.     }
  15.     return 1;
  16. }
RAW Paste Data
Top