All pastes #508945 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-25 06:52 UTC
rendered paste body
ON *:TEXT:!tb*:#:{ 
  ; A D Chan If can go here 
  if ($me isvoice $chan || $me isreg $chan) { notice $nick ERROR: Sorry I need halfop+ To do that. | halt } 
  if ($2 == $null) { Notice $nick ERROR: !tb <nick> <time> <reason> | halt } 
  if ($2 == $null) { Notice $nick ERROR: !tb $2 <time> <reason> | halt  } 
  if ($nick ishop $chan && $2 isop $chan) {  notice $nick ERROR: $2 is a op in $chan $+ , so I wont kick him. | halt  } 
  if ($nick isreg $chan || $nick isvoice $chan) { notice $nick ERROR: You must be Halfop+ for this script to work.  | halt } 
  if ($2 == c0le) { notice $nick ERROR: Thats my owner! | halt }
  if ($nick ishop $chan || $nick isop $chan) { 
    inc %kicked 
    /ban -ku $+ $calc( $3 * 60 ) $chan $2 2 8,1¤4,19 $3 4,1Min Ban 8¤4,1 Reason:9 $4- 8¤4,1 Noobs Pwnt:9 %kicked 8¤3,0
  } 
}
menu * { 
  TB System --> 
  ..TB Dialog:/dialog -m TB TB 
} 
dialog TB { 
  title "TB Dialog | Made By: c0le.In.The.Shadows.Of.Time ©" 
  size -1 -1 160 60 
  option dbu 
  button "Ok", 1, 0 0 37 30, ok 
  button "Cancel", 2, 123 0 37 60, cancel 
  box "Script By andrewvh2 © ", 3, 50 0 60 12, center 
  edit "Nick", 4, 50 12 60 12, center 
  edit "Time To Ban ", 6, 50 24 60 12, center 
  edit "#Channel", 7, 50 36 60 12, center 
  edit "Reason", 5, 50 48 60 12, center 
  button "TimeBan User", 8, 0 30 37 30, center 
} 

on *:DIALOG:TB:sclick:8:{ 
  inc %kicked 
}