Another of my scripts that i think users would find helpful from my upcoming r00t` iRC
Note r00t asin linux administration NOT skiddie rooting users for a botnet
anyways simple to use you click the type
Kline
Akill
Click
Add
Delete
Then click execute
If you choose kill there is no need for add / delete to be selected and having either selected will not effect the script
also this script is to be used for Chatspace servers
it will auto do a stats k so that the list can be filled with the klines \ akills on the server
If you have questions or comments post a comment on the script or get ahold of me on chat-central.no-ip.org:7001
Alias Kman { Dialog -m Kline Kline }
Menu Channel {
r00t` iRC Kline Manager:Kman
}
Dialog Kline {
Title "r00t` iRC Kill and Kline"
Size -1 -1 179 86
option dbu
Box "",1, 1 1 176 43
Edit "Ip\nick\host\ident",2, 4 6 120 10, autohs
Edit "",3, 4 20 120 10, autohs
Button "Execute",4, 130 6 45 36
Check "Kill",5, 4 32 20 12
Check "Kline",6, 29 32 20 12
Check "Akill",7, 57 32 20 12
Check "Add",8, 84 32 20 12
Check "Del",9, 110 32 20 12
List 10, 1 47 176 36, size vsbar hsbar
}
On *:Dialog:Kline:*:*:{
If ($Devent == Init) {
.stats k
Did -c $dname 6
Did -c $dname 8
Did -a $dname 3 No Reason Specified.
}
If ($Devent == Sclick) {
If ($did = 9) {
Set %llx Del
did -u $dname 8
}
If ($did = 8) {
Set %llx Add
did -u $dname 9
}
If ($did = 7) {
Set %type Akill
Did -u $dname 6
Did -u $dname 5
}
If ($did = 6) {
Set %Type Kline
Did -u $dname 7
Did -u $dname 5
}
If ($did = 5) {
Set %Type kill
Did -u $dname 7
Did -u $dname 6
}
If ($did = 4) {
If (%llx == Add) && (%Type == Kline) { Kline $did(2) $did(3) | did -r $dname 10 $1- | stats k }
If (%llx == Add) && (%Type == Akill) { Akill $did(2) $did(3) | did -r $dname 10 $1- | stats k }
If (%llx == Del) && (%Type == Kline) { Unkline $did(2) | did -r $dname 10 $1- | stats k }
If (%llx == Del) && (%Type == Akill) { rakill $did(2) | did -r $dname 10 $1- | stats k }
If (%Type == Kill) { Kill $did(2) $did(3) }
}
}
}
Raw 216:*:{ If ($Dialog(Kline)) { Did -a Kline 10 $1- } }