All pastes #258743 Raw Edit

Untitled

public text v1 · immutable
#258743 ·published 2006-11-26 20:32 UTC
rendered paste body
on *:text:*:#:{
if ($read(botadmins.txt,w,$address($nick,2)) != $null) } { 
if ($1 == !addo) && ($nick isop $chan) { write -n opadds.txt $address($2,2) } { msg $chan 7 $2  14Has Been Added to Auto Operator. }
if ($1 == !addv) && ($nick isop $chan) { write -n vadds.txt $address($2,2) } { msg $chan 7 $2  14Has Been Added to Auto Voice. }
if ($1 == !dela) && ($nick isop $chan) { write -d admin.txt $address($2,2) } { msg $chan 7 $2  14Has Been Deleted From Auto Admin. }
if ($1 == !delo) && ($nick isop $chan) { write -d opadds.txt $address($2,2) } { msg $chan 7 $2  14Has Been Deleted From Auto Operator. }
if ($1 == !delv) && ($nick isop $chan) { write -d vadds.txt $address($2,2) } { msg $chan 7 $2  14Has Been Deleted From Auto Voice. }
if ($1 == !adda) && ($nick isop $chan) { write -n admin.txt $address($2,2) } { msg $chan 7 $2  14Has Been Added to Auto Admin. }
if ($1- == !rchan $me) && ($nick isop $chan || $nick == Staton) { perform off } { msg $chan 7 $me  14Has Been DISABLED in $chan }
if ($1- == !achan $me) && ($nick isop $chan || $nick == Staton) { perform on } { msg $chan 7 $me  14Has Been ACTIVATED in $chan }
if ($1 == !botadmin) { guser 20 $2 } { msg $chan 7 $2 14Has Been Added to Botadmin Status }