nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Apr 12, 2007 3:24 pm Post subject: |
|
|
First off, the number of arguments in your proc does not match the number of arguments used when the binding triggers (see doc/tcl-commands.doc).
Secondly, the variable "text" is not defined before it is used inside the same proc.
Third, you try to use some of the variabled you've defined in globalspace (outside the proc) from within the proc, using local namespace rather than the global (either access them using the "global" command, or use absolute addressing, ie $::nochanreq instead of $nochanreq
Fourth, chanlist will only operate on channels already added to your bot, so you cannot use it in this way (there is also a slight delay from when the channel is added, until your bot has actually joined it and gathered data on who's in the channel. During this time, chanlist will return an empty list). _________________ NML_375, idling at #eggdrop@IrcNET |
|