Simple Commands

By PoiXon on Dec 24, 2004

This is just 2 simple commands that have a timer on them so you can ban a person for an amount of time or kick ban them for a amount of time

just type !ban ''time'' ''nick''

or !k-ban ''time'' ''nick''

on *:input:*: {
  if ($1 == !ban) { set %b-nick $3 | set %time $2 | msg $active $1- | timer 1 1 ban %b-nick | timer 1 %time ban -r %b-nick | halt }
  elseif ($1 == !k-ban) { set %b-nick $3 | set %time $2 | msg $active $1- | timer 1 1 ban %b-nick | timer 1 1 kick # %b-nick | timer 1 %time ban -r %b-nick | halt }
}

Comments

Sign in to comment.
Yoinx   -  Dec 24, 2004

It looks like it would work, but Im confused... does it do anything besides what \"/ban -utime\" already does?

 Respond  
DarthReven   -  Dec 24, 2004

once again elseif

 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.