All pastes #449282 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-04-20 03:35 UTC
rendered paste body
#verify off
on *:TEXT:!verify*:#pest,#pestops: {
  if ($nick isop $chan) || ($nick ishop $chan) {
    unset %colour1 
    unset %colour2 
    unset %colour3 
    if ($2 isop $chan) { 
      set %colour1 4 $+ $2 $+ 
      set %verify %colour1 
    }
    if ($2 ishop $chan) {
      set %colour1 7 $+ $2 $+  
      set %verify %colour1
    }
    if ($3 == $null) {
      /notice $nick The person(s) now voicing are either %verify
      halt
    }
    if ($3 isop $chan) { 
      set %colour2 4 $+ $3 $+ 
      set %verify %colour1 or %colour2
    }
    if ($3 ishop $chan) {
      set %colour2 7 $+ $3 $+ 
      set %verify %colour1 or %colour2
    }
    if ($4 == $null) {
      /notice $nick The person(s) now voicing are either %verify
      halt
    }
    if ($4 isop $chan) {
      set %colour3 4 $+ $4 $+   
      set %verify %colour1 , %colour2 or %colour3
    } 
    if ($4 ishop $chan) { 
      set %colour3 7 $+ $4 $+   
      set %verify %colour1 , %colour2 or %colour3
    }
    if ($5 == $null) {
      /notice $nick The person(s) now voicing are either %verify
      halt
    }
    if ($5 isop $chan) {
      set %colour4 4 $+ $5 $+   
      set %verify %colour1 , %colour2 , %colour3 or %colour4
    } 
    if ($5 ishop $chan) { 
      set %colour4 7 $+ $5 $+  
      set %verify %colour1 , %colour2 , %colour3 or %colour4
    }  
    /notice $nick The person(s) now voicing are either %verify
  }
}

on *:TEXT:!vnames*:#pest,#pestops: {
  if (!%verify) halt
  if (%verification == off) { HALT }
  else { notice $nick The current moderators taking messages in RuneScape are either %verify }
}

on *:JOIN:#pests: {
  if (!%verify) halt
  if (%verification == off) { HALT }
  else { notice $nick Want to be voiced? Simply Msg %verify in RuneScape }
} 

on *:TEXT:!von:#pestops,#pest: { if ($nick isop $chan || $nick ishop $chan) {
    set %verification on
    notice $nick Verification has been turned on
  }
}

on *:TEXT:!voff:#pestops,#pest: { if ($nick isop $chan || $nick ishop $chan) {
    set %verification off
    notice $nick Verification has been turned off
  }
}
on 1:TEXT:~pm:#pest: { if ($nick ishop #pest || $nick isop #pest) {
    if (!%verify) halt
    else {
      msg #pest 3If you want 4voice, please3 PM the following channel mod(s) 1IN GAME:4 %verify $+ .3If you are muted in RS, please pm a channel moderator named in this message in IRC just once and they will sort it out.
    } 
  }
}
#verify end