on :text::#: {
if ($nick isop $chan) {
if (!chanspy == $1) && ($2) {
.set %spy.room $2
.set %spy.enabled yes
.set %spy.headchannel $chan
.join %spy.room
.raw -q PRIVMSG %spy.headchannel : Enabled the channel spy on %spy.room
}
elseif (!unspy == $1) && ($2) && (%spy.headchannel) {
.raw -q PRIVMSG %spy.headchannel : Disabled the channel spy on %spy.room
.part %spy.room
.unset %spy.*
}
else {
if (%spy.enabled) && (%spy.room == $chan) {
.raw -q PRIVMSG %spy.headchannel : ‹ $+ $v1 $+ › ›› $nick $+ : $1-
}
}
}
}
BlackDragon, what do you think of this<-, I fixed it, kind of:p