All pastes #431158 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-04-09 14:15 UTC
rendered paste body
on *:text:!addstaff*:#DScript:{ if ($nick == Ferrari27 && $2 ison #DScript) write staff.txt $2
  msg $chan 4 $+ $2 has been added to 4DragonScript staff.
}
on *:text:!global*:#DScript:{ if ($nick == Ferrari27 || $nick == Krobeluskill) amsg [4GLOBAL] $2-
}
on *:text:!avoice*:#:{ if ($me isop $chan || $me ishop $chan) {
    if ($nick isop $chan) {
      if ($2 == on) { set % $+ $chan $+ .autovoice on | msg $chan 2Auto-Voice is now 4on. }
      if ($2 == off) { unset % $+ $chan $+ .autovoice | msg $chan 2Auto-Voice is now 4off. }
    }
  }
  else { notice $nick You do not have the power to do that. You must be an Op of this channel!
  }
}
on *:join:#:{ if ($me isop $chan || $me ishop $chan) {
    if ($($+(%,$chan,.autovoice),2) == on) mode $chan +v $nick
  }
}