Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public
- IRC_OnUserJoinChannel(botid, channel[], user[], host[])
- {
- printf("*** IRC_OnUserJoinChannel (Bot ID %d): User %s (%s) joined channel %s!", botid, user, host, channel);
- add here if(!strcmp(channel,"blabla")) { or so i FORGOT HOW TO
- new msg[128];
- format(msg,sizeof(msg),"Hello %s",user);
- if(botid == 1) { IRC_Say...(gbotid(DK_WHAT),user,msg); }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement