!kb (v3)

By RageD on Jun 28, 2005

Ok, here is a KickBan script! I have improved it greatly since the original! Note that now, you can do !kb , or type /kb & fill in the dialogs... I am still working on getting them so you only have to fill them in once, but not there yet! Well, here it is! And yet I have fixed even more!

-RageD

Now you can do /kb & Input information once for the kickban, I didn't even think of variables until just now working some more on my bot! :)

v3 Changes

Added /kbtimed! This allows you to time how long a user is kicked!

Comments

Sign in to comment.
DarthReven   -  Jun 30, 2005

i\'ve seen you go from v1.0 and now to 2.5 and yet it still has yet to improve. the on input command isn\'t nessary just use the alias and ass for your alias here is one w/ all the frustartions: alias kb { if (#* iswm $1) { if ($3 isnum) { ban -k $1- | inc %kick.count } | else { ban -k $1-2 4 $3- | inc %kick.count } } | else { echo 4 -a [Error] - No channel specified } }

 Respond  
aeros   -  Jun 29, 2005

hm... its alrite but too much for a simple command.. just manually kick and ban :D or just do on :text:!kb :{ ban -k $chan $2-

 Respond  
anthalus   -  Jun 29, 2005

I just simply have /kb defined in my alias.ini as

/kb /ban -k # $1 3

 Respond  
RageD   -  Jun 29, 2005

Well I made the Input work better, & I know my coding is sloppy... I whipped through this one :P...

 Respond  
Corne   -  Jun 29, 2005

I agree

 Respond  
DarthReven   -  Jun 29, 2005

Channge: \"mode $2 +b $address($1,4) | kick $2 $1 $4- 0(12 $+ %kick.count $+ 120 | inc %kick.count 1\" to \"ban -k $2 $1 4 $4- | inc %kick.count 1\" also your code is sloppy and has alota things that aren\'t needed

 Respond  
xero   -  Jun 29, 2005

:))

 Respond  
RageD   -  Jun 29, 2005

Yes, soon though, I am going to fool around with some dialog stuff :P That is always fun...

 Respond  
xero   -  Jun 29, 2005

very simple :)

 Respond  
RageD   -  Jun 29, 2005

right, I am still working on it (fixed the !kb) I put ($me !isop $chan) & that works... I am adding so you can just type /kb fill in the pop-up boxes & it does the work for you!

 Respond  
Corne   -  Jun 29, 2005

if ($1 == isop) wont check to see if you are op. Try if ($me isop #) ...

 Respond  
RageD   -  Jun 29, 2005

Ok, I\'ll do that.. But it wont work unless you are OP anyway... But I will do as you said something liek if ($1 == isop) blah blah | halt....

-RageD

 Respond  
Corne   -  Jun 28, 2005

You shoul do a check to see if you are op before kicking the users out and would bea easy if you use \'ban -k $chan $2-...\' instea of kick and mode .. (if you put a \'halt\' at the end would look nicer so you wont send the message to the channel (my oppinion))

 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.