![]() |
Attention: IRC Bots
1 Attachment(s)
Alright, first I would like to tell you all where to get information about irc bots.
http://ilfirin.org/graal/Graal_v4_IRC Go their for information about the irc bots. Now, for the event bots. I had access to the admin panel, but after the new update..I lost it. I no longer recieve admin, I've tried everything. Restarting NC. Restarting Game Server etc..nothing has worked. The problem is somewhere is one of these parts of the scripts: NPC Code: And, theirs a bug with the IRC Chat (Picture Attached) |
Quote:
|
I'm in that pic. I feel special :D.
|
uhm didnt work for me too
i just put the !eventsadmin and !eventschannel pm thing in the doconnect part lol |
this.admins does have a value, yes?
|
uhm event if it has one
when i took this script form graalwiki and put my account in it didnt even recieve a message form IRCBot lol |
Quote:
|
then why my irc and events bot are both in the irc channels where they should be and send pm and things
just this events bot didnt get a message from IRCBot |
Quote:
|
it didnt recieve anything form ircbot
because i places a echo right after if(textlines[0]=="IRCBot") |
I am not recieving it, I tried to make it send text to channel, no worky.
Restarted, still doesn't work. Used to work b4 updae. Yes their is something in this.admins this.admins=Admin-Playerworld64,KuJi |
Quote:
|
ehr i think thats wrong ajira xD
|
Quote:
|
I would like to tell you that: sendtext("irc","privmsg",{"IRCBot","!resetevents"} );
That dos not reset the events, and i've restarted server several times. Does not work. |
NPC Code: anyone know what I'm doin wrong? |
Yes
function onRecieveText("irc","kick","") { WHAT IS THAT? |
Quote:
BTW, the bot nickname has to START with IRCBot_, Graal_, or EventsBot_. |
Bot does not recieve data from IRCBot, but does recieve other data.
|
Mine didn't work until i changed:
NPC Code: to NPC Code: (textlines[1] to textlines[2]) EDIT: For Script ID: and Params: in the event admin window, how is that used exactly? (I understand the script id part, but how do you access the params?) |
Well pointed out, napo_p2p. There was a mistake in the GraalWiki. textlines[1] is the destination, where textlines[2] is the data. It was checking the one wrong, but I have fixed it now.
Quote:
You will get something like this: textlines[0]: IRCBot textlines[1]: EventsBot_Rudora textlines[2][0]: !startevent textlines[2][1]: 1 (That's the script ID) textlines[2][2]: test (That's the params option) textlines[2][3]: Team A, Team B (team names as array) textlines[2][>=4]: Player and team information Update: added a parameter for team names (Stefan) |
| All times are GMT +2. The time now is 01:10 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.