[Plugin] IRC Plugin
#41

Nice job dudeeeeeee
Reply
#42

Great job on this Incognito
I shall be using this soon.
Reply
#43

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.
Reply
#44

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

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;
}
Reply
#46

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.
Reply
#47

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

Andy.
Reply
#48

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?
Reply
#49

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.
Reply
#50

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?
Reply
#51

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
Reply
#52

Can you make me some simple code of it?
Reply
#53

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

Thanks!
Reply
#55

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?
Reply
#56

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);
}
Reply
#57

Thank you very much!
Reply
#58

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?
Reply
#59

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

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


Forum Jump:


Users browsing this thread: 7 Guest(s)