Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.06 KB | None | 0 0
  1. public IRC_OnUserSay(botid, recipient[], user[], host[], message[])
  2. {
  3.     printf("*** IRC_OnUserSay (Bot ID %d): User %s (%s) sent message to %s: %s", botid, user, host, recipient, message);
  4.     // Someone sent the first bot a private message
  5.  
  6.     if (DotReplace == 1)
  7.     {
  8.         new string[500];
  9.         format(string, sizeof(string), "%s", str_replace(".", "DOT", message));
  10.         IRC_GroupSay(gGroupID, recipient, string);
  11.     }
  12.  
  13.     if (CopyMe == 1)
  14.     {
  15.         IRC_GroupSay(gGroupID, recipient, message);
  16.     }
  17.  
  18.     if (strfind(message, "Shabeer", true) != -1 && AFK == 1)
  19.     {
  20.         new string[128];
  21.         format(string, sizeof(string), "*** Wait %s he's AFK.", user);
  22.         IRC_GroupSay(gGroupID, recipient, string);
  23.     }
  24.  
  25.     if (strfind(message, "Bloodcell", true) != -1)
  26.     {
  27.         IRC_GroupSay(gGroupID, recipient, "ohh Bloodcell is my babe, he rocks tbh.");
  28.     }
  29.  
  30.     if (strfind(message, "Chrisy", true) != -1 && strfind(message, "slaps", true) != -1)
  31.     {
  32.         new string[128];
  33.         format(string, sizeof(string), "ACTION Slaps %s around a bit with a large trout", user);
  34.         IRC_GroupSay(gGroupID, recipient, string);
  35.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement