Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias ranked {
- return +,%,@,&,~
- }
- alias qvoice {
- if (!$1) {
- echo -ac info * /qvoice: Improper Syntax: /qvoice <#chan>
- halt
- }
- var %i = 0
- while (%i < $nick($1, 0)) {
- inc %i
- if ($istok($ranked,$left($nick($1,%i).pnick,1),44)) {
- var %nicks $addtok(%nicks,$nick($1,%i) $+ $chr(32),44)
- }
- }
- msg $1 %nicks
- }
- on *:text:!mhl:#diversity: {
- if (($nick isop $chan) || ($nick ishop $chan)) {
- qvoice $chan
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement