All pastes #119804 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-08-07 00:19 UTC
rendered paste body
on 1:TEXT:!addmember*:#:{ 
  if (($3 == leader) && ($nick isop $chan)) {
    /notice $nick Member3 $2 has been added to the members list.
    /notice $2 You have been added as a member of the castlewars team.
    /write leader.txt $2 4( $+ $upper($3) $+ )
  /cs access $chan add $2 10 }
  elseif (($3 == officer) && ($nick isop $chan)) {
    /notice $nick Member3 $2 has been added to the members list.
    /notice $2 You have been added as a member of the castlewars team.
    /write officer.txt $2 7( $+ $upper($3) $+ )
  /cs access $chan add $2 4 }
  elseif (($3 == member) && ($nick isop $chan)) {
    /notice $nick Member3 $2 has been added to the members list.
    /notice $2 You have been added as a member of the castlewars team.
    /write mems.txt $2 3( $+ $upper($3) $+ )
  /cs access $chan add $2 3 }
  elseif (($3 == founder) && ($nick isop $chan)) {
    /notice $nick Member3 $2 has been added to the members list.
    /notice $2 You have been added as a member of the castlewars team.
  /write founder.txt $2 5( $+ $upper($3) $+ ) }
  elseif (($nick isin $read(founder.txt)) || ($nick isin $read(officer)) || ($nick isin $read(leader.txt)) || ($nick isin $read(mems.txt))) {
  /notice $nick The member you tried to add is already added, to remove a member please type !deletemember name. } 
} 
on 1:TEXT:!members:*:{ /play $nick founder.txt | /play $nick leader.txt | /play $nick officer.txt | /play $nick mems.txt }
on 1:TEXT:!deletemember*:*:{
  if ($nick isop $chan) {
    /write -s $+ $2 mems.txt $null
  /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) || ($nick == royal_orb)) {
    /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 }
on 1:TEXT:!setworld *:*:{
  if (($2 !== $null) && ($nick isin $read(leader.txt)) || ($nick isin $read(founder.txt)) && ($2 isnum)) {
    writeini world.ini castlewars world $2 
  notice $nick Changed to $2 $+ . }
  else { /notice $nick To be able to set this you have to be a leader in the castlewars group. } 
}
on *:TEXT:!teamhelp:*: { /msg $nick 15[3 So you wanna be in the team $nick All you need is 1 70+ Cmb 3and you need to enjoy castlewars 1Please Pm a op With your Cmb and Rsn if you would like to be in the team 15] [3 When in team we ask you to use #castlewars chat as much as you can, also follow the rules 15] 1 If no op/halfop Is here please return again later to ask! 3 | /msg $nick 3 For List Of members please type 1 !Members 3 for our members list. <=== This May Take A While to load. | /msg $nick Please Have A REGISTERD Name Before you ask to join, Or you cant join If you dont please Register your name 1 [3 /ns register Pass email 1] }
on 1:TEXT:!cworld:#: {
  if (($nick isin $read(mems.txt)) || ($nick isin $read(leader.txt)) || ($nick isin $read(officer.txt)) || ($nick isin $read(founder.txt))) {
  /msg $nick 3[ 15 The Reccomended Team world is 3 $readini(world.ini,castlewars,world) 3 ] 15 Go Kill Some N00BS $nick 3 CastleWars Is war, Not Peace. 1 Please keep the world to yourself. }
  else { /notice $nick 3 Sorry $nick You need to be in Team Castle to use this, Please Pm a op to join or type !teamhelp for more help. }
}
on *:join:#:{ /notice $nick 15[3 Howdy $nick Welcome to #CastleWars  15] [3 We are now Rerruting For Team Castle To find out how to join please type 1!teamhelp 15] [ 3For The Reccomended World Type 1!Cworld 15] }
on *:TEXT:!ophelp:#: {
  if ($nick isop $chan) {
    msg $nick 3Welcome, So Im guessing your a op $nick Well This Guild will help you | /msg $nick Recruting 3 When someone comes in the room, when they do !teamhelp It says Contact a 4 Op 3 So they should contact you.. if they do Ask to join, Ask for there UserName Cmb, If they quailfy Please Do this: 1 !addmember name member | /msg $nick  Setting The World 3 !setworld (World)
  }
  else { 
    /notice $nick 3 Sorry $nick 3 You are not a4 Op3 $nick This is a ops guide only. 
  }
}