Join/Part time

By Scruffy on Dec 20, 2005

Just change #Channel to your channel. And type /bantime what it does is if the person doesnt stay in the channel for longer than the set time it bans them.

on *:JOIN:#Channel: { .timer 1 %bantime chknick $nick $chan }
alias CHKNick { if ($1 !ison $2) { ban $2 $1 } }
alias BANTime { if ($1 isnum) && (!$2-) { set %BANTime $1 | echo -a Bantime set to $calc(%BANTime / 60) Minutes/ $+ %BANTime Seconds. } }

Comments

Sign in to comment.
Scruffy   -  Dec 20, 2005

fixed

 Respond  
xDaeMoN   -  Dec 20, 2005

Yes, you have the incorrect syntax for the timer. It should be...

.timer 1 %bantime chknick $nick $chan

 Respond  
Scruffy   -  Dec 20, 2005

Any comments or suggestions?

 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.