7.6 Writing your own script
Now lets expand the small script you made in the previous chapter a bit.
Make the script work for only two channels which you can set at the beginning of the script in arrays.
If the channel matches one of those two let the bot auto-voice the user and if it doesn't than only send the
welcome message to the channel.
If you want an example you can look here: http://www.suninet.org/tclguide/example-ch7.tcl.
|