All pastes #133633 Raw Edit

Stuff

public text v1 · immutable
#133633 ·published 2006-08-16 00:43 UTC
rendered paste body
on *:join:#:if (($read(mem.txt,w,$+(*,$nick,*))) && (!$notify($nick))) notify $nick
on *:notify:/msg $nick 12 Auto Message 5Hello! $nick  We're looking for you in #castlewars Remember to use the chat when you log on 4 ( We Know You Have Got This Message ) 


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:!members:*:{ /play $nick founder.txt | /play $nick leader.txt | /play $nick officer.txt | /play $nick mems.txt }
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. }
}
on 1:TEXT:!clearmembers*:*:{
  if (($nick == lordrut) {
    /write -c mems.txt $null
    /write -c leader.txt $null
    /write -c founder.txt $null
    /write -c officer.txt $null
  /notice $nick All members were deleted. }
} 
on 1:TEXT:!leaders:*:{ /play $nick leader.txt | /play $nick founder.txt }
on 1:TEXT:!officers:*:{ /play $nick officer.txt }