timeban

By sadistic_sin on Jul 13, 2007

ok, came on here trying to find a timeban script, but i couldnt find 1, so i decided i'd make 1 it took a while to perfect, all you do is type !tb (nick) (amount of seconds here) i suggest 300 seconds (5mins) or 600 seconds (10mins)

on *:TEXT:!tb*:#: {
  if (($nick isop $chan) || ($nick ishop $chan))  {
    ban -ku $+ $3 $chan $2 2 you have been banned from $chan for $3 seconds next time dont do whatever the fuck you were doing
  }
}

Comments

Sign in to comment.
Lindrian   -  Jul 15, 2007

Yeah, it will result in a error....

More
 Respond  
Just1nn   -  Jul 14, 2007

aparently nothing because you didn\'t set the seconds

More
 Respond  
Lindrian   -  Jul 14, 2007

So, what happends if i just type !TB lindrian?

More
 Respond  
Just1nn   -  Jul 13, 2007

Oh... I guess I\'m just not that observative(sp?) tonight

More
 Respond  
sadistic_sin   -  Jul 13, 2007

lol yeah it was you dumb nut =)

More
 Respond  
Just1nn   -  Jul 13, 2007

that wasnt there ffs!!

More
 Respond  
sadistic_sin   -  Jul 13, 2007

already did >.<

More
 Respond  
Just1nn   -  Jul 13, 2007

:) put a lil thing that says the command is !tb

More
 Respond  
sadistic_sin   -  Jul 13, 2007

well, i will tell people how to use it. but i\'m not changing it, it works perfectly as it is.

More
 Respond  
Bouncer   -  Jul 13, 2007

Also you might want to tell people exactly how to use this. Alot of newer scripters will not be able to figure out the correct use.

More
 Respond  
Lindrian   -  Jul 13, 2007

How about adding a few checks?

on @*:TEXT:!tb*:#: {
  if ($nick($chan,$nick,oh)) && ($2) {
    ban -ku $+ $iif($3,$3,3600) $chan $2 2 you have been banned from $chan for $duration($3) next time dont do whatever the fuck you were doing
  }
}
More
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.