SA-MP Forums Archive
[Plugin] IRC Plugin - 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: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] IRC Plugin (/showthread.php?tid=98803)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


Re: [REL] IRC Plugin v1.1 - BlueRey - 29.09.2009

Nice job dudeeeeeee



Re: [REL] IRC Plugin v1.1 - Chris. - 29.09.2009

Great job on this Incognito
I shall be using this soon.


Re: [REL] IRC Plugin v1.3.2 - Painwithin - 13.12.2009

Well, all i had to do was remove the public IRC_OnReceiveraw part in the script, the hole thing after doing that and compiling all problems were gone.. as this problem was happening even with his new script he released with the new plugin not sure why it effects the server but this method did work for me.


Re: [REL] IRC Plugin v1.3.2 - tima - 16.12.2009

Tell me please how to be authorised on a server if bot nick is registered?


Re: [REL] IRC Plugin v1.3.2 - Danny_Costelo - 17.12.2009

Quote:
Originally Posted by tima
Tell me please how to be authorised on a server if bot nick is registered?
pawn Код:
// Top of script
#define BOTPASS enteryourpw

// Anywhere you want
public IRC_OnConnect(botid)
{
    new str[60]
    format(str, 60, "nickserv identify %s", BOTPASS);
    IRC_SendRaw(botid, str);
    return 1;
}



Re: [REL] IRC Plugin v1.3.2 - tima - 17.12.2009

Quote:
Originally Posted by Kylla
Quote:
Originally Posted by tima
Tell me please how to be authorised on a server if bot nick is registered?
pawn Код:
// Top of script
#define BOTPASS enteryourpw

// Anywhere you want
public IRC_OnConnect(botid)
{
    new str[60]
    format(str, 60, "nickserv identify %s", BOTPASS);
    IRC_SendRaw(botid, str);
    return 1;
}
Thank you very much.


Re: [REL] IRC Plugin v1.3.2 - Andy_McKinley - 17.12.2009

Thanks, everyone must be using this. Just like me and my friends here.

Andy.


Re: [REL] IRC Plugin v1.3.2 - Think - 22.12.2009

So i add this to my gamemode and my whole gamemode keeps freezing up and my bots ping timeout and most of the time only 1 bot connects, where could the problem be?


Re: [REL] IRC Plugin v1.3.2 - Incognito - 22.12.2009

That does not happen here. Something could be conflicting. Try stripping everything down (use a default gamemode, remove all other plugins, and load only the example filterscript) to see if that eliminates your problem.


Re: [REL] IRC Plugin v1.3.2 - Ironboy500 - 22.12.2009

Can you help me a bit? I want to make following: Example: Mesage "Hello admin!" to send on IRC only to % or higher?
Any help?


Re: [REL] IRC Plugin v1.3.2 - Think - 22.12.2009

Quote:
Originally Posted by Ironboy500
Can you help me a bit? I want to make following: Example: Mesage "Hello admin!" to send on IRC only to % or higher?
Any help?
use IsHalfop and IRC_GroupSay or IRC_Say


Re: [REL] IRC Plugin v1.3.2 - Ironboy500 - 23.12.2009

Can you make me some simple code of it?


Re: [REL] IRC Plugin v1.3.2 - Incognito - 23.12.2009

pawn Код:
IRC_Say(botid, "%#channel", "message");



Re: [REL] IRC Plugin v1.3.2 - Ironboy500 - 24.12.2009

Thanks!


Re: [REL] IRC Plugin v1.3.2 - Ironboy500 - 24.12.2009

I got another question, how can I define these bots to new gamemode? So I can use IRC_SAy and other CMDS in other gamemods?


Re: [REL] IRC Plugin v1.3.2 - Incognito - 24.12.2009

The best thing to do if you're working with multiple gamemodes is to load a separate filterscript. You can then communicate between the filterscript and the gamemode by using CallRemoteFunction.

Somewhere in your gamemode where you need to echo a message:

pawn Код:
CallRemoteFunction("IRC_RemoteSay", "ss", channel, text);
Anywhere in your filterscript in order to receive the message:

pawn Код:
forward
    IRC_RemoteSay(target[], message[]);

public
    IRC_RemoteSay(target[], message[])
{
    IRC_Say(gBot, target, message);
}



Re: [REL] IRC Plugin v1.3.2 - Ironboy500 - 25.12.2009

Thank you very much!


Re: [REL] IRC Plugin v1.3.2 - Jikesh - 26.12.2009

I added 2 bots in my CnR GM, everything worked fine .. but when 20+ players join the server, the Server gets freezed and the bots timeout.

Shall I try as a FilterScript or anyother reasons?


Re: [REL] IRC Plugin v1.3.2 - Jay_ - 27.12.2009

Is there any chance of a version of this that works on the 0.2x server?


Re: [REL] IRC Plugin v1.3.2 - Andy_McKinley - 28.12.2009

Hey! Thanks for this, man! And 0.2x IRC is not working, tested.