Hi all,

prob something simple so any help is appreciated.

Below is my code:

on *:topic:*: {
if (!join isin $1- && # == #trivia) {
/msg #trivia !join
}
}

Basically there is 2 trivia channels. #trivia and #trivia1

What im trying to do is if a game starts in #trivia or #trivia1 i want it to type !join in which ever starts first.

When it joins either 1, i want the script to turn itself off/disable and have a command like .on to turn it back on when im ready to use it.

I want the .on to be operational in a different channel so like if $nick = me and isin #mychannel "Trivia script enabled"

Also how can i make it so my original script just responds to a specific nick? i.e the nick of the trivia bot.

All help welcome.