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.
a
azul
Post
by azul » Wed Jul 10, 2002 4:11 pm
Hi guys
I need to call the netchanset procedure from my tcl.
I suppose the command should be:
putallbots "nb netchanset #mychannel chanmode +is"
but netbots is not catching this call...
can you give me some help?
Thanks!
slennox
Owner
Posts: 593 Joined: Sat Sep 22, 2001 8:00 pm
Contact:
Post
by slennox » Thu Jul 11, 2002 2:19 am
The putallbots won't work -- you need to send the command through nb_sendcmd with the following syntax for netchanset:
nb_sendcmd $nb_control netchanset [list <hand> <chan> <settings>]
For <hand> you'll probably want to put the name of your script, and <chan> could be "-reload" or "-all" or a valid channel. <settings> is optional, but if you need to specify them they could be a little fiddly.
This of course will execute the command on other netbots, but not the current one.