SA-MP Forums Archive
irc help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: irc help (/showthread.php?tid=299467)



irc help - RBTDM - 26.11.2011

Hello!
I need a irc ,in that 2 channels should be there
1st irc is normal and the 2nd is for admins
here is an example
pawn Код:
#define IRC_CHANNEL "#normal"
#define IRC_ADMINCHANNEL "#adminchannel"
Please anyone give a script like this


Re: irc help - RBTDM - 26.11.2011

help plz


Re: irc help - Rob_Maate - 26.11.2011

When you say IRC channel - Do you mean you want it to connect to an online/out of game IRC channel?
If so you need the IRC plugin


Re: irc help - RBTDM - 26.11.2011

Not that, i need a seperate admin channel


Re: irc help - RBTDM - 26.11.2011

like this
pawn Код:
/IRC Defines
// 1st Echo Bot
#define BOT_1_NICKNAME "Name1"
#define BOT_1_REALNAME "SA-MP Bot"
#define BOT_1_USERNAME "SFCRRPG"

// 2nd Echo Bot
#define BOT_2_NICKNAME "Name2"
#define BOT_2_REALNAME "SA-MP Bot"
#define BOT_2_USERNAME "SFCRRPG"

//All bots password
#define IRC_BOT_PASSWORD "password"

// Admin Echo Bot (3rd)
#define BOT_3_NICKNAME "Name3"
#define BOT_3_REALNAME "SA-MP Bot"
#define BOT_3_USERNAME "SFCRRPG"

//Admin Channel password
#define IRC_ADMINCHANNEL_PASSWORD "password"

#define IRC_SERVER "" //EDIT THIS <------------ and here
#define IRC_PORT (6667) //EDIT THIS and here <------
#define IRC_CHANNEL "#SFCRRPG" //EDIT THIS <---------- same here
#define IRC_ADMINCHANNEL "#SFCRRPG.OPER" //EDIT THIS help me :
you can see IRC_ADMINCHANNEL "#sa-mp.live.OPER"


Re: irc help - Rob_Maate - 26.11.2011

That's for out-of-game interaction with an actual IRC channel.

If all you want is an ingame admin-chat channel, that's much simpler, you don't need all that.


Re: irc help - RBTDM - 26.11.2011

Then can you tell me how?


Re: irc help - [MG]Dimi - 26.11.2011

Quote:
Originally Posted by Rob_Maate
Посмотреть сообщение
That's for out-of-game interaction with an actual IRC channel.

If all you want is an ingame admin-chat channel, that's much simpler, you don't need all that.
I think he needs echo channel but he doesn't know what he needs.

@RBTDM You want that messages can be sent from server to IRC and from IRC to server?


Re: irc help - RBTDM - 26.11.2011

Yes like admin chat.