All pastes #245964 Raw Edit

Someone

public text v1 · immutable
#245964 ·published 2006-11-11 18:01 UTC
rendered paste body
on 1:TEXT:!options:#pc-own: { if ($nick ishop #pc-own || $nick isop #pc-own) { msg $nick 3«««7Staff Options3»»» }
  { msg $nick !setworld worldnumber ~ Sets a new world for the !world command. (h) }
  { msg $nick !add nickname ~ Adds a registered nickname to the voice access list. (h) } 
  { msg $nick !mute ~ Mutes channel so only voiced or higher can benefit from #pc-own (This stops noobs from typing !world and getting the world. Only voiced or higher will be able to speak or be heard). (h) }
  { msg $nick !joinlimit ~ Enabling this helps scripts run more effective in the channel. (This slows down the join rate of the channel. It stops massess of people from joinning at the same time) (h} }
  { msg $nick !newmemo texthere ~ Adds a memo to the memo list. (op) }
  { msg $nick !memolist ~ Displays all the saved memos. (op) }
  { msg $nick !tb nickname seconds ~ Kick Bans a nickname for a specified amount of seconds. }
  { msg $nick 3«« 7(h) = Requires atleast half-op to work. 3»»  «« 4(op) = Requires atleast Op status to work. 3»» }
}

on 1:ACTION:#pc-own:*slaps*:/kick #pc-own $nick Don't use me's in this channel.

on 1:TEXT:!commands:#pc-own:{ /msg $nick 3~5Commands3~
  /msg $nick 5!rules ~ will give the rules of the channel.
  /msg $nick 5!world ~ will give the current world.
  /msg $nick 5!stats ~ will give the stats of a specified user.
  /msg $nick 5!price ~ will give the price value of the specified item.
}

on *:NOTICE:!setworld *:?: { if ($nick isop #pc-own || $nick ishop #pc-own) { set %world $2- | set %worldsettime $ctime | msg #pc-own 3The world has been changed by5 $nick ~ 4Please type 3!world 4to see the lastest world  $+ . } }

on *:TEXT:!world:#pc-own: { notice $nick 3The current world is 4 $+ %world $+ .3 This world was set:7 $duration($calc($ctime - %worldsettime)) 3ago. }

on *:NOTICE:!setworld *:?: { if ($nick isop #pc-own || $nick ishop #pc-own) { set %world $2- | set %worldsettime $ctime | msg $chan 3The world has been changed by5 $nick ~ 4Please type 3!world 4to see the lastest world  $+ . } }

on 1:TEXT:*!setbot*:#pc-own: { if ($nick isop #pc-own || $nick ishop #pc-own) { set -sn %bot $2 } { notice $nick The script bot has being changed to %bot  }
}

on 1:TEXT:*!bot*:#pc-own: { if ($nick isop #pc-own || $nick ishop $chan) { notice $nick The current script bot is %bot . To set a new one type !setbot botnamehere } }


on *:JOIN:#pc-own:{ /notice $nick Please wait while we look you up to see if you meet the requirements...
  /notice $nick Note: If you do meet the requirements and you have yet not being voiced, please type /hop.
  /set -sneu20 %nick $nick
  /msg #pc-own !cmb %nick
}

on *:NOTICE:*Script Is Currently In Use...Try Again Now!*:?:/msg %nick Please type /hop

on *:NOTICE:*100*:?:/mode #pc-own +v %nick  

on *:NOTICE:*101*:?:/mode #pc-own +v %nick

on *:NOTICE:*102*:?:/mode #pc-own +v %nick

on *:NOTICE:*103*:?:/mode #pc-own +v %nick 

on *:NOTICE:*104*:?:/mode #pc-own +v %nick

on *:NOTICE:*105*:?:/mode #pc-own +v %nick

on *:NOTICE:*106*:?:/mode #pc-own +v %nick

on *:NOTICE:*107*:?:/mode #pc-own +v %nick

on *:NOTICE:*108*:?:/mode #pc-own +v %nick

on *:NOTICE:*109*:?:/mode #pc-own +v %nick 

on *:NOTICE:*110*:?:/mode #pc-own +v %nick

on *:NOTICE:*111*:?:/mode #pc-own +v %nick

on *:NOTICE:*112*:?:/mode #pc-own +v %nick

on *:NOTICE:*113*:?:/mode #pc-own +v %nick 

on *:NOTICE:*114*:?:/mode #pc-own +v %nick 

on *:NOTICE:*115*:?:/mode #pc-own +v %nick 

on *:NOTICE:*116*:?:/mode #pc-own +v %nick

on *:NOTICE:*117*:?:/mode #pc-own +v %nick

on *:NOTICE:*118*:?:/mode #pc-own +v %nick

on *:NOTICE:*119*:?:/mode #pc-own +v %nick

on *:NOTICE:*120*:?:/mode #pc-own +v %nick

on *:NOTICE:*121*:?:/mode #pc-own +v %nick

on *:NOTICE:*122*:?:/mode #pc-own +v %nick

on *:NOTICE:*123*:?:/mode #pc-own +v %nick

on *:NOTICE:*124*:?:/mode #pc-own +v %nick

on *:NOTICE:*125*:?:/mode #pc-own +v %nick

on *:NOTICE:*126*:?:/mode #pc-own +v %nick 

on 1:TEXT:*!add*:#pc-own: { if ($nick isop #pc-own || $nick ishop #pc-own) { cs access #pc-own add $2 3 } { notice $nick $2 has been added to the auto-voice list! } }

on 1:TEXT:!mute:#pc-own: { if ($nick isop #pc-own || $nick ishop #pc-own) { mode #pc-own +m } }

on 1:TEXT:!joinlimit:#pc-own: { if ($nick isop #pc-own || $nick ishop #pc-own) { mode #pc-own +j 1:10 } }

on *:TEXT:!tb*:#: {
  if ($nick isop $chan || $nick ishop $chan) {
    mode $chan +b $address($2,2)
    kick $chan $2
    timer 1 $3- mode $chan -b $address($2,2)
  }
}

on *:TEXT:!newmemo*:#: { if ($nick ishop $chan)  { write memoes.txt 3From4 $nick : $2- }
{ notice $nick Your memo has been added to the list. } }

on *:TEXT:!memolist:#: { if ($nick isop $chan) { msg $nick Memo List }
  { msg $nick $read(memoes.txt,1) }
  { msg $nick $read(memoes.txt,2) }
  { msg $nick $read(memoes.txt,3) }
  { msg $nick $read(memoes.txt,4) }
  { msg $nick $read(memoes.txt,5) }
  { msg $nick $read(memoes.txt,6) }
  { msg $nick $read(memoes.txt,7) }
  { msg $nick $read(memoes.txt,8) }
  { msg $nick $read(memoes.txt,9) }
  { msg $nick $read(memoes.txt,10) }
  { msg $nick $read(memoes.txt,11) }
  { msg $nick $read(memoes.txt,12) }
  { msg $nick $read(memoes.txt,13) }
  { msg $nick $read(memoes.txt,14) }
  { msg $nick $read(memoes.txt,15) }
  { msg $nick $read(memoes.txt,16) }
  { msg $nick $read(memoes.txt,17) }
  { msg $nick $read(memoes.txt,18) }
  { msg $nick $read(memoes.txt,19) }
  { msg $nick $read(memoes.txt,20) }
  { msg $nick $read(memoes.txt,21) }
  { msg $nick $read(memoes.txt,22) }
  { msg $nick $read(memoes.txt,23) }
  { msg $nick $read(memoes.txt,24) }
  { msg $nick $read(memoes.txt,25) }
  { msg $nick $read(memoes.txt,26) }
  { msg $nick $read(memoes.txt,27) }
  { msg $nick $read(memoes.txt,28) }
  { msg $nick $read(memoes.txt,29) }
  { msg $nick $read(memoes.txt,30) }
  { msg $nick $read(memoes.txt,31) }
  { msg $nick $read(memoes.txt,32) }
  { msg $nick $read(memoes.txt,33) }
  { msg $nick $read(memoes.txt,34) }
  { msg $nick $read(memoes.txt,35) }
  { msg $nick $read(memoes.txt,36) }
  { msg $nick $read(memoes.txt,37) }
  { msg $nick $read(memoes.txt,38) }
  { msg $nick $read(memoes.txt,39) }
  { msg $nick $read(memoes.txt,40) }  
}

on *:text:!delmemoes:#:{
  if ($nick isop $chan) {
  .notice $nick The memoes have been deleted. } 
  write -c memoes.txt
}
}