I want to have the chanlist of a channel which the bot just joined ASAP.
What's the best way to do so, since the bot doesn't get it immediately (it's empty just after join)
I tried to get it into some loop with after and (u)timer.
[21:40] TCL error [pub:slaap]: too many nested calls to Tcl_EvalObj (infinite loop?)
best way would be a raw binding for 315 (end of /WHO list) to trigger whatever proc you wanna use the chanlist in.
[edit]
you might have to rebind the inbuilt raw 315 binding to execute before your own one though, ie
unbind raw - 315 *raw:irc:315
bind raw - 315 yourproc
proc yourproc {f k a} {*raw:irc:315 $f $k $a ; yourcode}
[/edit]
<font size=-1>[ This Message was edited by: Petersen on 2002-01-27 16:56 ]</font>
On 2002-01-27 16:51, Petersen wrote:
best way would be a raw binding for 315 (end of /WHO list) to trigger whatever proc you wanna use the chanlist in.
That line...
Eggdrop crashes on that when I .rehash it from partyline when there is no binding...
Howto avoid it?
Works perfectly for the rest!
Thanks!