home *** CD-ROM | disk | FTP | other *** search
- // For +x channels like #helpdesk :)))
- // IF you are a sysop however !...
- // /SWITCHTARGET nicktoswitch
- // Example : /SWITCHTARGET George
- // The next message will be seen from
- // Channel hosts/owners and George only :)
-
-
-
- string Sph = ""
- /target $channel
-
- for (int K = 0 ; K < GetNickCount($channel) ; K += 1)
-
- Sph = GetNick($channel,K)
-
- if (Sph==$mynick)
- continue
- endif
-
- if (GetNickLevel($channel,Sph) > 2)
- /target $channel +%Sph%
- else
- break
- endif
-
- endfor
-
- // add the user we specified...
- /target $channel +$1
-
-