1) Why not use groups when disabling/enabling the script? And since you plan to echo in a channel, why not make it menu channel { because I could turn it off in a query or in the status window.
2) One thing I really don\'t like in this snippet is the connect event, but it\'s not really imperative that you remove that.
3) Could be simplified (would provide an example but Lindrian has that covered ;))