Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on $*:TEXT:/^[.!@](highlight|hl)/Si:#nutz-leaders,#nutz,#nutz-lobby:{
- if ($nick(#,$nick,oh)) {
- hl $2
- }
- }
- alias hl {
- if ($1 == o) {
- var %count 1
- while ($nick(#,%count,o)) {
- var %nicks %nicks $v1 | inc %count } | msg # %nicks
- }
- if ($1 == h) {
- var %count 1
- while ($nick(#,%count,h)) {
- var %nicks %nicks $v1 | inc %count } | msg # %nicks
- }
- if ($1 == v) {
- var %count 1
- while ($nick(#,%count,v)) {
- var %nicks %nicks $v1 | inc %count } | msg # %nicks
- }
- if ($1 == r) {
- var %count 1
- while ($nick(#,%count,r)) {
- var %nicks %nicks $v1 | inc %count } | msg # %nicks
- }
- elseif ($1 != h) && ($1 != o) && ($1 != v) && ($1 != r) {
- var %count 1
- while ($nick(#,%count)) {
- var %nicks %nicks $v1 | inc %count } | msg # %nicks
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement