All pastes #574363 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-06-18 15:06 UTC
rendered paste body
; 
; Pest Control Commands
; 
on *:TEXT:!pcis*:#:{ if ($1 != !pcis) { halt }
  if ($nick isvoice $chan) || ($nick isreg $chan) { notice $nick You must to be halfop or op to use this command
  halt }
  if ($2 < 2) || ($2 > 144) { notice $nick That world isn't correct.
  halt }
  set %pcworld $2
  set %pcnick $nick
  notice $nick You have set the world on %pcworld
  notice $nick Use !pcw to see the world
msg $chan New PC world has been set, typ !pcw to see it } }
on *:TEXT:!pcw:#:{ notice $nick the pcworld is %pcworld set by %pcnick }
; 
; Akick stats
; 
on *:join:#wiz:{ /msg $chan !cmb $nick }
on *:text:12*:*:{ if ($nick == icescript) { /msg $chan $1- 
    if ($remove($4,12) >= 110) { /msg $chan 
      /mode $chan +v $remove($1,12)
    /msg $chan 4 $+ $1 has reached the regs }
    if ($remove($4,12) < 110) { /msg $chan
      /mode $chan +b $address($remove($1,12),2) 
      /kick $chan $remove($1,12) You have not reached the regs, com back when you have combat 110+
  /timer 1 60 /mode $chan -b $address($1,2) } }
}
on *:TEXT:12*:*:{ if ($nick == icescript) && ($2 == 10does) { /msg $chan - combat 110
    /mode $chan +b $address($remove($1,12),2) 
    /kick $chan $remove($1,12) You have not reached the regs, com back when you have combat 110+
/timer 1 60 /mode $chan -b $address($1,2) } }
; 
; TimeBan Commands
; 
on *:text:!tb*:#:{ if ($2 isop $chan) || ($2 ishop $chan) {
    notice $nick I have been forbidden to use this command on Operators and Half-Operators!
    halt 
  } 
  else {
    if ($nick isop $chan) || ($nick ishop $chan) { 
      inc %kcount 
/ban -ku $+ $calc( $3 * 60 ) $chan $2 2 7 Reason: $4- 1- 11 $3 Minute Ban 1- 12Noobs Pwnt: 1(4 %kcount 1) } } }
; 
; Calculating COmmands
; 
type @calc <sum>.
on *:TEXT:@calc *:#: /msg $chan $nick $+ : The answer is $calc($2-)
type !calc <sum>.
on *:TEXT:!calc *:#: /notice $nick $nick $+ : The answer is $calc($2-)