View Single Post
  #21  
Old 09-02-2005, 12:29 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
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:
Originally Posted by napo_p2p
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?)
The params are passed to the eventsbot when an event begins.

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)
__________________
Skyld

Last edited by Admins; 06-12-2006 at 12:41 AM..
Reply With Quote