This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
LorT
Voice
Posts: 15 Joined: Sun Mar 09, 2003 6:11 pm
Post
by LorT » Wed Mar 10, 2004 8:16 pm
hi, i have a script
set trigger "$botnick:"
bind pub - $trigger proc
i like the bot responde when some one write in channel bot: ***
when i run the bot or do .restart the proc dont work, but it i do rehash the proc work.
what are the error?
thks
user
Posts: 1452 Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway
Post
by user » Wed Mar 10, 2004 8:42 pm
the 'botnick' variable contains the nick your bot is currently using on irc. (it doesn't have a value untill the bot is logged on irc)
Have you ever read "The Manual"?
LorT
Voice
Posts: 15 Joined: Sun Mar 09, 2003 6:11 pm
Post
by LorT » Thu Mar 11, 2004 10:39 am
thks, can i do some bind as
bind evnt - init-server proc to set the value?
if i can what is the arguments sent to the tcl proc?
LorT
Voice
Posts: 15 Joined: Sun Mar 09, 2003 6:11 pm
Post
by LorT » Thu Mar 11, 2004 3:53 pm
is fix with dumb way
bind evnt - init-server team:event
proc team:event {type} {
rehash
}
thks
Ofloo
Owner
Posts: 953 Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:
Post
by Ofloo » Thu Mar 11, 2004 3:57 pm
why rehash ??
i think you could add the bind on botnick well it should work if it will thats an other story
XplaiN but think of me as stupid
LorT
Voice
Posts: 15 Joined: Sun Mar 09, 2003 6:11 pm
Post
by LorT » Thu Mar 11, 2004 4:12 pm
Ofloo wrote: why rehash ??
i think you could add the bind on botnick well it should work if it will thats an other story
ej. of the bind on botnick pls