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.
Just1nn   -  Jul 14, 2007

aparently nothing because you didn\'t set the seconds

 Respond  
Lindrian   -  Jul 14, 2007

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

 Respond  
Just1nn   -  Jul 13, 2007

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

 Respond  
sadistic_sin   -  Jul 13, 2007

lol yeah it was you dumb nut =)

 Respond  
Just1nn   -  Jul 13, 2007

that wasnt there ffs!!

 Respond  
sadistic_sin   -  Jul 13, 2007

already did >.<

 Respond  
Just1nn   -  Jul 13, 2007

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

 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.

 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
  }
}
 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.