how to do it on multiple channels, multiple owners, and in pm instead of mainroom
edit:
i changed this:
on :TEXT:!Spy:#:{
if $nick == %owner { /join $2 | set %spychannel $2 | /msg $chan Spying Channel: $2 | set %msgspy $chan }
else { notice $nick Access Denied. }
}
on :TEXT:!UnSpy:#:{
if $nick == %owner { timer 1 2 unset %spychannel | /msg $chan Stopped Spying Channel: %spychannel | unset %msgspy $chan | part %spychannel }
else { notice $nick Access Denied. }
}
to this:
on :TEXT:!Spy:#:{
if $nick ison $chan { /join $2 | set %spychannel $2 | /msg $chan Spying Channel: $2 | set %msgspy $chan }
else { notice $nick Access Denied. }
}
on :TEXT:!UnSpy:#:{
if $nick ison $chan { timer 1 2 unset %spychannel | /msg $chan Stopped Spying Channel: %spychannel | unset %msgspy $chan | part %spychannel }
else { notice $nick Access Denied. }
}
its easier like this (in my case) because we have alot of rooms and with the %owner command, its only for one person that can use this, now everyone in the (private) room can use this.