A simple if statement can help:

if ($network == Networkname) { do stuff }

i.e.

on *:text:*:#terrortories:{
if ($network == Funnet) {
scon 2 msg #terrortories < $+ $nick $+ > $1-
}
}


The '2' assumes that the network you're messaging (Gamesnet) is the second one in your switchbar (the second one connected to).

Also see /help if then else and /help /scon.

Note: you only need to use the ^ prefix when halting text, and it appears you're not, so I removed it. And make sure you see qwerty's good point below grin

Regards,

Last edited by Mentality; 02/12/04 10:37 PM.

Mentality/Chris