All pastes #71727 Raw Edit

Something

public text v1 · immutable
#71727 ·published 2006-06-26 02:10 UTC
rendered paste body
on 1:TEXT:!aop*:#:{
  if ($nick !isop $chan) { msg $chan Command Ignored (Must be OP) }
  else { writeini autos.ini aop $2 $2 | msg $chan Added $2 to Auto Op List }
}
on 1:TEXT:!aov*:#:{
  if ($nick !isop $chan) { msg $chan Command Ignored (Must be OP) }
  else { writeini autos.ini aov $2 $2 | msg $chan Added $2 to Auto Voice List }
}
on 1:TEXT:!aoh*:#:{
  if ($nick !isop $chan) { msg $chan Command Ignored (Must be OP) }
  else { writeini autos.ini aoh $2 $2 | msg $chan Added $2 to Auto Half-OP List }
}
on 1:JOIN:#:{
  if ($readini(autos.ini,aop,$nick) != $null) { mode $chan +o $nick }
  if ($readini(autos.ini,aov,$nick) != $null) { mode $chan +v $nick }
  if ($readini(autos.ini,aoh,$nick) != $null) { mode $chan +h $nick }
}
on 1:TEXT:!delaop*:#:{
  if ($nick !isop $chan) { msg $chan Command ignored (Must be OP) }
  else { remini autos.ini aop $2 | msg $chan Removed $2 From Auto Op List }
}
on 1:TEXT:!delaov*:#:{
  if ($nick !isop $chan) { msg $chan Command ignored (Must be OP) }
  else { remini autos.ini aov $2 | msg $chan Removed $2 From Auto Voice List }
}
on 1:TEXT:!delaoh*:#:{
  if ($nick !isop $chan) { msg $chan Command ignored (Must be OP) }
  else { remini autos.ini aoh $2 | msg $chan Removed $2 From Auto Half-OP List }
}