Guest User

Untitled

a guest
Oct 21st, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. alias -l password return bob
  2. alias -l hlchan return $chan
  3. on $*:TEXT:/^[!@.](mass)?hl\b/Si:*:{
  4. var %modes ohv
  5. if ($chan) {
  6. if ($chan == $hlchan) {
  7. if ($nick isop $chan) {
  8. msg $hlchan MASS HIGHLIGHT: $hl
  9. }
  10. }
  11. }
  12. else {
  13. if (!$3) msg $nick Syntax: !masshl <channel> <password>
  14. elseif ($me !ison $2) msg $nick You are not on that channel!
  15. elseif ($3 != $password) msg $nick that password is incorrect!
  16. else {
  17. msg $hlchan MASS HIGHLIGHT: $hl
  18. }
  19. }
  20. }
  21. alias -l hl {
  22. var %temp 1
  23. while (%temp <= $nick($hlchan,0,ohv)) {
  24. set -l %output %output $nick($hlchan,%temp,ohv)
  25. inc %temp
  26. }
  27. return %output
  28. }
Add Comment
Please, Sign In to add comment