r00t` iRC Kline Manager

By D34th on Nov 25, 2010

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- } }

Comments

Sign in to comment.
D34th   -  Nov 25, 2010

try chat-central.no-ip.org:7001
if that doesnt work then Universitychat.no-ip.org:7001 still works
If neither work then /dns universitychat.no-ip.org and connect via Ip:7001

 Respond  
Dark|   -  Nov 25, 2010

Unkn0wn, it dosent let me connect still,

 Respond  
Unkn0wn   -  Nov 25, 2010

Somehow my host got klined so they had to remove all the klines. But it's up. Lol

 Respond  
Dark|   -  Nov 25, 2010

Oh, and what was up with your server ?

 Respond  
Unkn0wn   -  Nov 25, 2010

Napa182 makes everything so much more complacated. x.x

 Respond  
D34th   -  Nov 25, 2010

@dark ill probably be making another for iRCD commands but im not on them often.
@napa182 okay thank you i didnt know you could group the dids and @ alias i normally just use the simple ones but yeah that would work a bit better

 Respond  
Dark|   -  Nov 25, 2010

Well, idk how chatspace is
for a IRC addon you could do zline gline
{Most server have these}
Or the ones im on

 Respond  
napa182   -  Nov 25, 2010

instead of

Alias Kman { Dialog -m Kline Kline }

it would better to use

Alias Kman dialog $iif($dialog(Kline),-v,-md Kline) Kline

also this

Did -c $dname 6
    Did -c $dname 8

can be

did -c $dname 6,8

same with a few others

 Respond  
D34th   -  Nov 25, 2010

Thank you both for the scores and comments any way either of u 2 think i can better it?

 Respond  
Dark|   -  Nov 25, 2010

Niceeee :D

 Respond  
Unkn0wn   -  Nov 25, 2010

Very nice.

 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.