alias /checkhydra { if (%req == Off) { halt } if ($1 == #devhydra) || ($1 == #hydra) { HALT } else { set %sqdf $calc($nick($1,0) - 1 ) if ($calc($nick($1,0) - 1 ) <= 3) { part $1 4You need at least10 3 4users on your channel (excluding me) to keep me here! There are currently only10 $calc($nick($1,0) - 1 ) 4users on10 $1 $+ 4! } } } on *:INVITE:#: { if $ini(black.ini,bans,$chan) { /notice $nick 10Access Denied.4 The channel10 $chan 4has been blacklisted. Reason:10 " $+ %blackreason. [ $+ [ $chan ] ] $+ " 4- To undo this, join 10#Hydra4 and contact the Ops/Admins. halt } if ($me == [SA]Hydra) { /notice $nick 4[10Hydra4] You can't invite me directly into your channel. Invite Hydra (/invite Hydra #yourchannel) halt } if ($me == [UK]Hydra) { /notice $nick 4[10Hydra4] You can't invite me directly into your channel. Invite Hydra (/invite Hydra #yourchannel) halt } if ($me == [US]Hydra) { /notice $nick 4[10Hydra4] You can't invite me directly into your channel. Invite Hydra (/invite Hydra #yourchannel) halt } if ($me == [EU]Hydra) { /notice $nick 4[10Hydra4] You can't invite me directly into your channel. Invite Hydra (/invite Hydra #yourchannel) halt } if ($chan($me) => 30) && (%gsoffline == Offline) { /notice $nick 4[10Hydra4] Hydra is currently full. Please try again later. halt } if ($chan($me) => 30) && (%gsoffline == Online) { /notice $nick 4[10Hydra4] Hydra is currently full. Searching for another Hydra Bot. /notice [UK]Hydra !join $chan /set %invchan $chan /set %invitenick $nick halt } else { if ($($+(%,kick.,$chan),2)) var %left = $+($calc(5 - $v1)) else var %left = 5 .set %activity. [ $+ [ $chan ] ] On /join $chan /set %invitechan $chan /msg $chan 4RuneScape Stats Bot10 $me $+ .4 Created by KarL` and Gsus - Hosted by10 %hoster /msg $chan 4WARNING: If i am kicked10 5 4times this channel will be blacklisted.10 %left 4kicks left for this channel. } } on *:PART:#: { if ($nick == $me) { halt } else { /checkhydra $chan } }