6.7 Writing your own script
Now it's time to see if you understood it all and are able to use the commands.
Try to write a script that voices everyone who joins a channel
and than says "Welcome <nick of the person who joined>!"
in the channel.
Good luck.
You can find a small example of such a script here: http://www.suninet.org/tclguide/example-ch6.tcl.
It's not very complicated and it's not the only way to write
a script like that, but if you get stuck you can always look
at it to see how it can be done.
|