All pastes #133562 Raw Edit

Unnamed

public text v1 · immutable
#133562 ·published 2006-08-15 23:46 UTC
rendered paste body
on 1:TEXT:!addmember*:#:{
  IF ($IsTok(Leader Officer Member Founder,$3,32)) && ($nick isop $chan) {
    VAR %type = $+($Upper($Left($3,1)),$Lower($Right($3,-1)))
    .notice $nick %type $+(03,$2,) has been added to the %type list.
    .notice $2 You have been added as a %type of the #castlewars team Please type "/hop" in your message box and hit enter 3 We Ask All members To Use The Chat When They Log On Ss, Fail To Do So Will Result In Warning.
    IF ($nick isop $chan) cs access $chan add $2 $Replace(%type,Leader,10,Officer,4,Member,3)
    Write $+(%type,.txt) $2 $+(,$Replace(%type,Leader,04,Officer,07,Member,03),$Chr(40),$upper($3),$Chr(41))
    .notify $2
  }




on 1:TEXT:!Del*:#:{
  if ($nick isop $chan) {
    /write -s $+ $2 mems.txt $null
    /write -s $+ $2 founder.txt $null
    /write -s $+ $2 leader.txt $null
    /write -s $+ $2 officer.txt $null
    /cs access $chan add $2 1
  /notice $nick $2 was succesfully removed from the members list. }
  else { /notice $nick There was an error proccessing your request. }