SA-MP Forums Archive
IRC Problem - 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 Problem (/showthread.php?tid=602127)



IRC Problem - Droxx - 02.03.2016

Hello, About IRC

I have added irc to my test server, BOTS are connecting to the channel BUT They are not connecting to the server
I just see the chat between the players, Any help how i can connect the bots into the server?


Ty, Regards.


Re: IRC Problem - LocMax - 02.03.2016

In server.cfg, find
Код:
maxnpc 0
then change the 0 into the number of NPCs you want to connect


Re: IRC Problem - Droxx - 03.03.2016

Didn't work, They are not connecting and server slots are the same.


Re: IRC Problem - itsCody - 03.03.2016

IRC has no bots that connect to the server.
IRC is just to relay chat.


Re: IRC Problem - Sew_Sumi - 03.03.2016

The IRC Plugin doesn't make any connections to the game server itself as it is an echo plugin to broadcast to the IRC server.

You need to be voiced, or oped, and registered to the IRC Network for security. Normal joined users won't be able to talk into the server due to them not being of a higher position.

Again, there is no connection to the server, you should just be able to say something in the channel assigned for the bot, and it'll echo to the server if it's correctly setup.


Chances are it's Incognitos IRC plugin, and maxnpcs will NOT have any affect as it's totally unrelated.


Re: IRC Problem - iKarim - 03.03.2016

IRC != NPC


Re: IRC Problem - Droxx - 03.03.2016

You didn't get what i meant, Everything is registered into my server, IRC works but i JUST see the CHAT between players
I don't see the chat from the gamemode sent to irc


Re: IRC Problem - Amunra - 03.03.2016

U Just see Chat On Server ?
And You Server Can't see your Chat ?


Re: IRC Problem - Droxx - 03.03.2016

Listen, I can see the chat witch players type in irc/game
I don't see the normal msgs witch are sent from the gamemode


Re: IRC Problem - biker122 - 03.03.2016

Because - You have to script it.
SendClientMessage and SendClientMessageToAll will send the messages only within the server. You have to execute another code to broadcast the same message to IRC.

For example - if you have SendClientMessage (..., "xxx") - This will only be listed on server chat. If you want the same message to be displayed on IRC, then you gotta add "IRC_Say (..., "xxx")" [don't remember the proper syntax].