Hello this is my first snippet on hawkee and well even though its pretty simple it's useful to quickly kickban someone. The ban type used on this snippet is a type 3 you can modify it. You can include this snippet in your script but I want some credits for it Please don't remove the commented lines :) Is the least you can do :) Thanks!
Nice snippet reaperx i\'m using it on my project, I just modified a few bits and added color codes :)
;// JOIN, PART, QUIT //;
on ^:JOIN:#:{
if ($nick == $me) { echo -ti2 $chan Joined: 7 $+ $chan | halt }
else { echo -ti2 $chan Joins: $nick 14(7 $+ $address $+ 14) | halt }
}
on ^:PART:#:{
if ($1 == $null ) { echo -ti2 $chan Part: $nick ( $+ $address $+ ) | halt }
else { echo -ti2 $chan Parts: $nick 14(7 $+ $address $+ 14) : ( $+ $1- $+ ) | halt }
}
on ^*:QUIT:{
haltdef
var %z = 1
while (%z <= $comchan($nick,0)) { echo -ti2 $comchan($nick,%z) Quit: $nick 14(15 $+ $address $+ 14)15 - 14( $+ $1- $+ 14) | inc %z }
}