This is my room manager from my upcoming r00t` iRC
**Note***: Root asin linux admin not root asin skiddie compromizing machines
now that thats outta the way -.-
This system is simple to use click owner / mod / voice
then click add / delete
then type in the roomaname in the first Edit with the # < important
Then the nick you wish to add / Delete the ownership / moderator / voice of
and click execute and your will shall be done ^.^
Alias Rs { Dialog -m rs rs }
Dialog Rs {
Title "r00t` iRC Room System"
size -1 -1 120 64
Option dbu
Edit "Roomname",1, 4 4 110 10, autohs center
Edit "Nickname",2, 4 16 110 10, autohs center
Check "Owner",3, 12 27 25 10
Check "Mod",4, 45 27 25 10
Check "Voice",5, 75 27 25 10
Check "Add",6, 30 39 25 10
Check "Delete",7, 68 39 25 10
Button "Execute",8, 25 49 32 13
Button "Done",9, 63 49 32 13
}
On *:Dialog:Rs:*:*:{
If ($devent == Sclick) {
If ($did = 3) {
Set %x SOP
Did -u $dname 4
Did -u $dname 5
}
If ($did = 4) { Set %x AOP
Did -u $dname 3
Did -u $dname 5
}
If ($did = 5) {
Set %x VOP
Did -u $dname 3
Did -u $dname 4
}
If ($did = 6) {
Set %y Add
Did -u $dname 7
}
If ($did = 7) {
Set %y Del
Did -u $dname 6
}
If ($did = 8) {
Services %x $did(1) %y $did(2)
}
If ($did = 9) { Dialog -x $dname $dname }
}
}
Menu Channel {
r00t` iRC Room System: rs
}