PDA

View Full Version : Help with irc bot needed.


PMH
31/07/2014, 02:41 AM
I want a script that would make a bot on irc server which will be online aong with my server. and I can use it too, read the pm's it recieve on irc basically i wud be able to connect as the bot. so i would see the whole chat on irc which while i was off, but the bot wasn't

hope u understand me :D if no then nvm :P lol


one more question, making new topic for it wud be stupid
when i player types in cmd, how to make that cmd visible to the admin(even the invalid oneS)

chintan
31/07/2014, 08:59 AM
if(gTeam[playerid] == TEAM_CVILIAN/CLASS)
{
ShowPlayerDialog(playerid,DIALOG_COMMANDS,DIALOG_S TYLE_MSGBOX,"{0000FF}CLASS COMMANDS"","Ok","Cancel");
format(string,sizeof(string),"4[ADMIN SPY] %s(%d) has typed /commands.",PlayerName(playerid),playerid);
IRC_GroupSay(gGroupAdminID,IRC_ADMINCHANNEL,string );
format(string,sizeof(string),"[ADMIN SPY] %s(%d) has typed /commands.",PlayerName(playerid),playerid);
SendClientMessageToAllAdmins(string);
}

chintan
31/07/2014, 09:01 AM
it is included for irc also
just add this lines in your class/civilian lines

Ritzy2K
31/07/2014, 09:02 AM
chutiye dono k dono :D

chintan
31/07/2014, 09:04 AM
sale baraber to hai :D

Ritzy2K
31/07/2014, 09:12 AM
yep.. xD

chintan
31/07/2014, 09:13 AM
acha meri help karde bhai http://forum.sa-mp.com/showthread.php?t=529055 wo array kaha pe dalu bata

Ritzy2K
31/07/2014, 09:17 AM
daal diya soltuion.. check krle

Vince
31/07/2014, 11:19 AM
Read the logs or get a bouncer if you want to do that. An IRC bot is intended for people who want to follow the chat in real time.