Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias -l password return bob
- alias -l hlchan return $chan
- on $*:TEXT:/^[!@.](mass)?hl\b/Si:*:{
- var %modes ohv
- if ($chan) {
- if ($chan == $hlchan) {
- if ($nick isop $chan) {
- msg $hlchan MASS HIGHLIGHT: $hl
- }
- }
- }
- else {
- if (!$3) msg $nick Syntax: !masshl <channel> <password>
- elseif ($me !ison $2) msg $nick You are not on that channel!
- elseif ($3 != $password) msg $nick that password is incorrect!
- else {
- msg $hlchan MASS HIGHLIGHT: $hl
- }
- }
- }
- alias -l hl {
- var %temp 1
- while (%temp <= $nick($hlchan,0,ohv)) {
- set -l %output %output $nick($hlchan,%temp,ohv)
- inc %temp
- }
- return %output
- }
Add Comment
Please, Sign In to add comment