on 1:TEXT:!castleworld *:*:{
if ($nick isop $chan) {
writeini world.ini castlewars world $2
notice $nick Changed to $2 $+ . }
else { /notice $nick Sorry, You are not a op, Only Ops can set world. }
}
on 1:TEXT:!cworld:#: {
if (($nick isvoice $chan) || ($nick ishop $chan) || ($nick isop $chan)) {
/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 type !helpme for more help. }
}
on $*:text:/PestControl|pc/Si:#:{ /kick $chan $nick PestControl Is **** Please Dont use the word on here }
on $*:text:/Fuck|shit|bitch|cock|tit|cum|cunt|bastard|whore|slut*/Si:#:{ /kick $chan $nick No Cussing, n00b }
on *:TEXT:!Topic List*:#: {
/msg $nick 3,1\1,3\9,3\3,9\0,9\9,0\0,0-15,0\0,15\14,15\15,14\1,14\14,1\1,1-0,1 8 1,1-14,1/1,14/15,14/14,15/0,15/15,0/0,0-9,0/0,9/3,9/9,3/1,3/3,1/
}
on *:TEXT:!topic 8*:#: {
if ($nick isop $chan) {
/topic $chan 3,1\1,3\9,3\3,9\0,9\9,0\0,0-15,0\0,15\14,15\15,14\1,14\14,1\1,1-0,1 $$3- 1,1-14,1/1,14/15,14/14,15/0,15/15,0/0,0-9,0/0,9/3,9/9,3/1,3/3,1/
}
}
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
/notify -r $2
/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 }
on 1:TEXT:!castleworld *:*:{
if ($nick isop $chan) {
writeini world.ini castlewars world $2
notice $nick Changed to $2 $+ . }
else { /notice $nick Sorry, You are not a op, Only Ops can set world. }
}
on *:TEXT:!helpme:*: { /msg $nick 3 5 MAKE SURE YOUR NICK IS REGISTERD BEFORE YOU APPLY, ASK A OP HOW TO REGISTER YOUR NICK IF YOU DO NOT KNOW, 1 How To Join: 3 All You Need Is 1 70+ 3 Combat And Ofcourse Need To Enjoy CastleWars So If You Would Like To Join Please Follow These Steps: | /msg $nick 3 Pm A 1 Op 3With Your Rsn And Your Cmb.5 5 (Please See End Of page For On Duty Ops To Pm) | /msg $nick 4 NOTICE 7When You Sign Up With Us Everytime You Log On To Ss, CastleBot Will Pm You Reminding You To Come TO Chat, If You Do Not Want This Please Do not Sign up, If You Sign Up You Entitle Us To Send You This Pm | /msg $nick On Duty Ops Are | /play $nick ops.txt else }
on *:TEXT:!ophelp:#: {
if ($nick isop $chan) {
/msg $nick 3Hey 1 $nick 3 This Is The Op Guide TO Help You With #CastleWars | /msg $nick When People Join They Should Pm You There Cmb And Rsn, If They Do Please Do the Following: Check There 1 Rsn Name 3 See If There 1 70 + 3 Then 1 !addmember Name Member, 3 Now To Delete A member Please Do this 1!removemember Nick 3( Make Sure There Nick Name Is Registerd, Reason Is It Adds Access When You Do This Action 1!addmember 3) | /msg $nick 3 To Set The World: 1 !castleworld Number | /msg $nick 3Last Thing, If The Bot Is Not Here Please Add Them Manullay 1 /cs ACCESS #Castlewars ADD Name 3 3 And Rememer There Name So I can Add Them To list. | /msg $nick 3 To Add YourSelf To Online Ops, Please Do this 1 !OnDuty 3 To Remove YourSelf 1 !OffDuty 3 Please Add Your Self To The ops List if your Playing RuneScape or staying In chat 3 If your Going Afk,Leave,Ect Please Remove Your Self From List }
else {
/notice $nick 3 Sorry $nick 3 You are not a4 Op3 $nick This is a ops guide only. }
}
on *:TEXT:!OnDuty*:#:{
if (($nick isop $chan) && ($2 ison $chan) && ($2 !isin $read(ops.txt)) && ($2 !== $null)) {
/write ops.txt $2
/notice $Nick The name $2 was added to online list. }
elseif (($nick isop $chan) && ($nick !isin $read(ops.txt)) && ($2 == $null)) {
/write ops.txt $nick
/notice $Chan $nick is On Duty. }
else { /notice $nick Access Denied. }
}
on 1:TEXT:!OffDuty*:#:{
if (($nick isop $chan) && ($2 !== $null)) {
/write -ds $+ $2 ops.txt
/notice $nick The name $2 was removed as an online op. }
elseif (($2 == $null) && ($nick isop $chan)) {
/write -ds $+ $nick ops.txt
/Notice $chan $nick Is Off Duty }
else { /notice $nick You don't have permission to do that. }
}
on 1:TEXT:!ops:#:{
if ($read(ops.txt) != $null) {
/msg $nick The current online ops are as follows:
/play $nick ops.txt }
else { /msg $nick There are no ops on duty please contact a halfop to join, If there is no halfops, Please Try Again Later }
}
on *:CONNECT: { /msg NickServ IDENTIFY sllabs | /echo Identified }
on 1:TEXT:!kill*:#:{
if ($nick isop $chan) {
/notify -r $2
else { /notice $nick 3 Sorry $nick You need to be in Team Castle to use this, Please type !helpme for more help. }
}
}
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 ) | /msg $nick 4[[[ Notice ]]]]6 When you Signd up to #castlewars you entilted us to send you this pm, It Is Not SPAM, For it To Be removed, you Would have to be trusted to come to chat when you log on. 7 ( To Get This Message Removed You Need To Be trusted To Come To chat, Pm Lordrut If You feel you are trusted)
ON @*:JOIN:#:{
notice $nick 15[3 Howdy $nick Welcome to #CastleWars 15] [3 We are now Recruting For Team Castle To find out how to join please type 1 !helpme 15] [ 3For The Reccomended World Type 1!Cworld 15] 3 Help Us Get More MEMBERS Tell Your Freinds About Us
VAR %address = $Address($nick,2)
INC $+(%,join.,$network,.,$chan,.,%address) 1
IF ($Eval($+(%,join.,$network,.,$chan,.,%address),2) >= 3) {
Ban -ku300 $chan $nick Hop Flood Detected - 5 Minute Kick-Ban Activated.
UNSET $+(%,join.,$network,.,$chan,.,%address)
$+(.timerjoin,$network,$chan,%address) off
}
IF (!$Timer($+(join,$network,.,$chan,%address))) $+(.timerjoin,$network,$chan,%address) 1 30 UNSET $+(%,join.,$network,.,$chan,.,%address)
}
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
}
}