Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public IRC_OnUserSay(botid, recipient[], user[], host[], message[])
- {
- printf("*** IRC_OnUserSay (Bot ID %d): User %s (%s) sent message to %s: %s", botid, user, host, recipient, message);
- // Someone sent the first bot a private message
- if (DotReplace == 1)
- {
- new string[500];
- format(string, sizeof(string), "%s", str_replace(".", "DOT", message));
- IRC_GroupSay(gGroupID, recipient, string);
- }
- if (CopyMe == 1)
- {
- IRC_GroupSay(gGroupID, recipient, message);
- }
- if (strfind(message, "Shabeer", true) != -1 && AFK == 1)
- {
- new string[128];
- format(string, sizeof(string), "*** Wait %s he's AFK.", user);
- IRC_GroupSay(gGroupID, recipient, string);
- }
- if (strfind(message, "Bloodcell", true) != -1)
- {
- IRC_GroupSay(gGroupID, recipient, "ohh Bloodcell is my babe, he rocks tbh.");
- }
- if (strfind(message, "Chrisy", true) != -1 && strfind(message, "slaps", true) != -1)
- {
- new string[128];
- format(string, sizeof(string), "ACTION Slaps %s around a bit with a large trout", user);
- IRC_GroupSay(gGroupID, recipient, string);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement