dialog groups {
  title "Groups & Status"
  size -1 -1 73 125
  option dbu
  button "&ok",1, 20 115 33 9, OK
  text "whispers:",2, 2 1 60 10
  text "link",3, 2 7 60 10
  text "funny",4, 2 14 70 10
  text "dumb",5, 2 21 60 10
  text "looks",6, 2 28 60 10
  text "remote",7, 2 35 60 10
  text "revenge",8, 2 42 60 10
  text "sounds",9, 2 49 60 10
  text "games",10, 2 56 60 10
  text "quit",11, 2 63 60 10
  text "deop",12, 2 70 60 10
  text "mode",13, 2 77 60 10
  text "whisp",14, 2 84 60 10
  text "triv",15, 2 91 60 10
  text "onjoin",16, 2 98 60 10
  text "take",17, 2 105 60 10
}
on *:dialog:groups:init:0: {
  did -a groups 2 %aways
  did -a groups 3 %link
  did -a groups 4 %funnys
  did -a groups 5 %dumbs
  did -a groups 6 %looks
  did -a groups 7 %remotec
  did -a groups 8 %revenge
  did -a groups 9 %sounds
  did -a groups 10 %games
  did -a groups 11 %quit
  did -a groups 12 %deophop
  did -a groups 13 %modelock
  did -a groups 14 %whisp
  did -a groups 15 %trivia
  did -a groups 16 %onjoin1
  did -a groups 17 %takeover
}

on *:load: {
  .echo -s Dialog made by Icey_Cold aka Brad.
  .echo -s Please do not edit.
  .echo -s Enjoy little fuckaz -Icey_Cold-
}

menu channel,menubar, {
  .Dumb Thingy:/dialog -m info info
}

dialog info {
  size 400 9 169 310
  title "Stuff <|KoaL|>"
  button "Cancel", 99, 0 0 0 0, cancel
  text ".:*Talkerz*:.", 1, 9 6 117 20
  button "(`..- -..)", 2, 6 30 70 30
  button "*..*~ ~*..*`", 3, 6 61 70 30
  button "~*.` `.*~", 4, 6 92 70 30
  button "(`..-> <-..)", 5, 6 124 70 30
  button "Time Talker", 6, 6 156 70 30
  text ".:*Room Info*:.", 7, 99 6 135 20
  button "Operaters", 8, 90 30 70 30
  button "Owners", 9, 90 61 70 30
  button "Hosts", 10, 90 92 70 30
  button "Topic", 11, 90 124 70 30
  button "Modes", 12, 90 156 70 30
  button "Im Done With This Stupid Thing", 13, 5 195 160 20,ok
  button "+M", 14, 4 227 16 17
  edit "Key", 15, 133 227 32 17
  button "+U", 41, 4 246 16 17
  edit "Limit", 16, 133 246 32 17
  button "+i", 17, 4 265 16 17
  edit "Key", 18, 133 265 32 17
  button "+P", 19, 4 283 16 17
  edit "Key", 20, 133 283 32 17
  button "-M", 21, 20 227 16 17
  button "+S", 22, 37 227 16 17
  button "-U", 23, 21 246 16 17
  button "+W", 24, 38 246 16 17
  button "-i", 25, 21 265 16 17
  button "+w", 26, 38 265 16 17
  button "-P", 27, 21 283 16 17
  button "+N", 28, 37 283 16 17
  button "-S", 29, 54 226 16 17
  button "+K", 30, 116 227 16 17
  button "-W", 31, 55 246 16 17
  button "+L", 32, 116 246 16 17
  button "-w", 33, 55 265 16 17
  button "Q", 34, 116 265 16 17
  button "-N", 35, 55 283 16 17
  button "O", 36, 116 283 16 17
  text "Prot:", 37, 79 227 36 20
  text "Size:", 38, 79 246 36 20
  text "Gold:", 39, 79 265 36 20
  text "Host:", 40, 79 283 36 20
}
on *:dialog:info:sclick:2: { /echo -a MAx Of 10 Message's | /privmsg $active (¯`·.¸¸.- $$?"1" -.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.- $$?"2" -.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.- $$?"3" -.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.- $$?"4" -.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.- $$?"5" -.¸¸.·´¯) | /privmsg # (¯`·.¸¸.- $$?"6" -.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.- $$?"7" -.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.- $$?"8" -.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.- $$?"9" -.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.- $$?"10" -.¸¸.·´¯) | echo -a Unloaded | echo -a 14Created By KoaL }
on *:dialog:info:sclick:3: { /echo -a MAx Of 10 Message's | /privmsg $active «·´¨*·.¸¸.*~ $$?"Message" ~*.¸¸.·*¨`·» | /privmsg $active «·´¨*·.¸¸.*~ $$?"Message" ~*.¸¸.·*¨`·» | /privmsg $active «·´¨*·.¸¸.*~ $$?"Message" ~*.¸¸.·*¨`·» | /privmsg $active «·´¨*·.¸¸.*~ $$?"Message" ~*.¸¸.·*¨`·» | /privmsg $active «·´¨*·.¸¸.*~ $$?"Message" ~*.¸¸.·*¨`·» | /privmsg $active «·´¨*·.¸¸.*~ $$?"Message" ~*.¸¸.·*¨`·» | /privmsg $active «·´¨*·.¸¸.*~ $$?"Message" ~*.¸¸.·*¨`·» | /privmsg $active «·´¨*·.¸¸.*~ $$?"Message" ~*.¸¸.·*¨`·» | /privmsg $active «·´¨*·.¸¸.*~ $$?"Message" ~*.¸¸.·*¨`·» | /privmsg $active «·´¨*·.¸¸.*~ $$?"Message" ~*.¸¸.·*¨`·» | echo -a Unloaded | echo -a 14Created By KoaL }
on *:dialog:info:sclick:4: {  /echo -a MAx Of 10 Message's | /privmsg $active ~*.·´`·» $$?"Message" «·´`·.*~ | /privmsg $active ~*.·´`·» $$?"Message" «·´`·.*~ | /privmsg $active ~*.·´`·» $$?"Message" «·´`·.*~ | /privmsg $active ~*.·´`·» $$?"Message" «·´`·.*~ | /privmsg $active ~*.·´`·» $$?"Message" «·´`·.*~ | /privmsg $active ~*.·´`·» $$?"Message" «·´`·.*~ | /privmsg $active ~*.·´`·» $$?"Message" «·´`·.*~ | /privmsg $active ~*.·´`·» $$?"Message" «·´`·.*~ | /privmsg $active ~*.·´`·» $$?"Message" «·´`·.*~ | /privmsg $active ~*.·´`·» $$?"Message" «·´`·.*~ |  echo -a Unloaded | echo -a 14Created By KoaL }
on *:dialog:info:sclick:5: { /echo -a Max Of 10 Message's | /privmsg $active (¯`·.¸¸.-> $$?"Message" <-.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.-> $$?"Message" <-.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.-> $$?"Message" <-.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.-> $$?"Message" <-.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.-> $$?"Message" <-.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.-> $$?"Message" <-.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.-> $$?"Message" <-.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.-> $$?"Message" <-.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.-> $$?"Message" <-.¸¸.·´¯) | /privmsg $active (¯`·.¸¸.-> $$?"Message" <-.¸¸.·´¯) | echo -a Unloaded | echo -a 14Created By KoaL }
on *:dialog:info:sclick:6: { /echo -a Max Of 10 Message's | /ctcpreply $active TIME $$?"Time Reply" | /ctcpreply $active TIME $$?"Time Reply" | /ctcpreply $active TIME $$?"Time Reply" | /ctcpreply $active TIME $$?"Time Reply" | /ctcpreply $active TIME $$?"Time Reply" | /ctcpreply $active TIME $$?"Time Reply" | /ctcpreply $active TIME $$?"Time Reply" | /ctcpreply $active TIME $$?"Time Reply" | /ctcpreply $active TIME $$?"Time Reply" | /ctcpreply $active TIME $$?"Time Reply" | echo -a Unloaded | echo -a 14Created By KoaL } 
on *:dialog:info:sclick:8: { echo -a 12(`..- $+ 14Operter's12-..) | echo -a 12<< $+ 14 $+ ----- $+ 15 $+ $nick($active $+ ,0) $+ 14 $+ ----- $+ 12 $+ >> }
on *:dialog:info:sclick:9: { 
  echo -a 12(`..- $+ 14Owner's12-..) 
  set %op $nick($active $+ ,0,q)
  if (%op == 0) {   echo -a 0 Owners's | halt }  
  set %op1 0 
  :next
  inc %op1
  if (%op1 > %op) goto done
  /echo -a $nick($active $+ ,%op1,q) 
  goto next
  :done
  unset %op
  unset %op1
  echo -a 12<< $+ 14 $+ ----- $+ 15 $+ $nick($active $+ ,0,q) $+ 14 $+ ----- $+ 12 $+ >> 


}

on *:dialog:info:sclick:10: { 
  echo -a 12(`..- $+ 14Host's12-..)
  set %oh $nick($active $+ ,0,o)
  if (%oh == 0) {   echo -a 0 Host's | halt } 
  set %oh1 0 
  :next
  inc %oh1
  if (%oh1 > %oh) goto done
  /echo -a $nick($active $+ ,%oh1,o) 
  goto next
  :done
  unset %oh
  unset %oh1
  echo -a 12<< $+ 14 $+ ----- $+ 15 $+ $nick($active $+ ,0,o) $+ 14 $+ ----- $+ 12 $+ >>
}

on *:dialog:info:sclick:11: { echo -a 12(`..- $+ 14Topic12-..) | echo -a $chan($active).topic }
on *:dialog:info:sclick:12: { echo -a 12(`..- $+ 14Modes12-..) | echo -a $chan($active).mode  }
on *:dialog:info:sclick:14: { /mode $active +m }
on *:dialog:info:sclick:21: { /mode $active -m }
on *:dialog:info:sclick:41: { /mode $active +u }
on *:dialog:info:sclick:23: { /mode $active -u }
on *:dialog:info:sclick:17: { /mode $active +i }
on *:dialog:info:sclick:25: { /mode $active -i }
on *:dialog:info:sclick:19: { /mode $active +p }
on *:dialog:info:sclick:27: { /mode $active -p }
on *:dialog:info:sclick:22: { /mode $active +s }
on *:dialog:info:sclick:29: { /mode $active -s }
on *:dialog:info:sclick:24: { /mode $active +W }
on *:dialog:info:sclick:31: { /mode $active -W }
on *:dialog:info:sclick:26: { /mode $active +w }
on *:dialog:info:sclick:31: { /mode $active -w } 
on *:dialog:info:sclick:28: { /mode $active +n }
on *:dialog:info:sclick:35: { /mode $active -n }
on *:dialog:info:sclick:30: { /mode $active +k %kkey | unset %kkey }
on *:dialog:info:sclick:32: { if (%limit > 100) { set %limit 100 } | /mode $active +l %limit | unset %limit }
on *:dialog:info:sclick:34: { /prop $active OWNERKEY %qkey | unset %qkey }
on *:dialog:info:sclick:36: { /prop $active HOSTKEY %hkey | unset %hkey }
on *:dialog:info:edit:*:{
  if ($did == 15) { set %kkey $did(15,1) }
  if ($did == 16) { set %limit $did(16,1) }
  if ($did == 18) { set %qkey $did(18,1) }
  if ($did == 20) { set %okey $did(20,1) }
}

dialog some {
  size 200 200 400 210
  title "some"
  button "Cancel", 99, 0 0 0 0, cancel
  text "[Away System]", 1, 9 7 117 20
  button "+", 2, 5 28 16 16
  button "-", 3, 21 28 16 16
  text "Off", 4, 40 28 27 20
  text "[Link Kick]", 5, 123 7 99 20
  button "+", 6, 121 28 16 16
  button "-", 7, 137 28 16 16
  text "Off", 8, 153 28 27 20
  text "Funny Stuff", 9, 220 7 99 20
  button "+", 10, 218 28 16 16
  button "-", 11, 235 28 16 16
  text "Off", 12, 252 28 27 20
  text "[Dumb Stuff]", 13, 333 7 108 20
  button "+", 14, 331 28 16 16
  text "Off", 15, 364 29 27 20
  button "-", 16, 347 28 16 16
  text "[Looks]", 17, 9 63 63 20
  button "+", 18, 5 84 16 16
  text "Off", 19, 39 84 27 20
  button "-", 20, 22 84 16 16
  text "[Commands]", 21, 123 63 90 20
  button "+", 22, 121 84 16 16
  text "Off", 23, 153 85 27 20
  button "-", 24, 137 84 16 16
  text "[Revenge]", 25, 220 63 81 20
  button "+", 26, 220 84 16 16
  button "-", 27, 235 84 16 16
  text "Off", 28, 253 85 27 20
  text "[Sounds]", 29, 333 63 72 20
  button "+", 30, 331 84 16 16
  button "-", 31, 347 84 16 16
  text "Off", 32, 363 85 27 20
  text "[Games]", 33, 9 117 63 20
  button "+", 34, 5 138 16 16
  button "-", 35, 22 139 16 15
  text "Off", 36, 40 139 27 20
  text "[Quit Mode]", 37, 123 117 99 20
  button "+", 38, 121 139 16 16
  button "-", 39, 137 139 16 16
  text "Off", 40, 153 139 27 20
  text "[DeopHop]", 41, 220 117 81 20
  button "+", 42, 220 139 16 16
  button "-", 43, 235 139 16 16
  text "Off", 44, 253 139 27 20
  text "[ModeLock]", 45, 333 117 90 20
  button "+", 46, 331 139 16 16
  button "-", 47, 347 139 16 16
  text "Off", 48, 363 139 27 20
  text "[Whispers]", 49, 9 166 90 20
  button "+", 50, 5 187 16 16
  button "-", 51, 21 187 16 16
  text "Off", 52, 38 188 27 20
  text "[Trivia]", 53, 123 166 72 20
  button "+", 54, 121 187 16 16
  button "-", 55, 137 186 16 17
  text "Off", 56, 153 188 27 20
  text "[OnJoin]", 57, 220 166 72 20
  button "+", 58, 218 187 16 16
  button "-", 60, 234 187 17 16
  text "Off", 61, 252 187 65 20
  text "[Take]",62, 333 166 90 20 
  button "+",63, 331 187 16 16
  button "-",64, 347 187 16 16
  text "Off",65, 363 187 65 20
}

on *:dialog:some:init:0:{
  did -a some 4 %aways
  did -a some 8 %link
  did -a some 12 %funnys
  did -a some 15 %dumbs
  did -a some 19 %looks
  did -a some 23 %remotec
  did -a some 28 %revenge
  did -a some 32 %sounds
  did -a some 36 %games
  did -a some 40 %quit
  did -a some 44 %deophop
  did -a some 48 %modelock
  did -a some 52 %whisp
  did -a some 56 %trivia
  did -a some 61 %onjoin1
  did -a some 65 %takeover
}
on *:DIALOG:some:sclick:*:{
  if ($did == 2) { /enable #aways | /echo 11 Away System enabled. | set %aways On }
  if ($did == 3) { /disable #aways | /echo 4 Away System Disabled | set %aways Off }
  if ($did == 6) { /enable #link | /echo 11 Link Kick enabled. | set %link On }
  if ($did == 7) { /disable #link | /echo 4 Link Kick Disabled. | set %link Off }
  if ($did == 10) { /enable #funnys | /echo 11 Retarded Funny Stuff enabled set | set %funnys On } 
  if ($did == 11) { /disable #funnys | /echo 4 Retarded Funny Stuff Disabled | set %funnys Off }
  if ($did == 14) { /enable #dumbs | /echo 11 Dumb Stuff enabled. | set %dumbs On }
  if ($did == 16) { /disable #dumbs | /echo 4 Dumb Stuff Disabled. | set %dumbs Off }
  if ($did == 18) { /enable #looks | /echo 11 Looks enabled. | set %looks On }
  if ($did == 20) { /disable #looks | /echo 4 Looks Disabled. | set %looks Off }
  if ($did == 22) { /enable #remotec | /echo 11 Remote Commands enabled. | set %remotec On }
  if ($did == 24) {  /disable #remotec | /echo 4 Remote Commands Disabled. | set %remotec Off }
  if ($did == 26) { /enable #revenge | | /disable #revenge1 | /echo 11 Revenge Kick enabled. | set %revenge On }  
  if ($did == 27) { /disable #revenge | /enable #revenge1 | /echo 4 Revenge Kick Disabled. | set %revenge Off }
  if ($did == 30) { /enable #sounds | /echo 11 Sounds enabled. | set %sounds On }
  if ($did == 31) { /disable #sounds | /echo 4 Sounds Disabled. | set %sounds Off }
  if ($did == 34) { /enable #games | /echo 11 Games enabled. | set %games On }
  if ($did == 35) { /disable #games | /echo 4 Games Disabled. | set %games Off }
  if ($did == 39) { /disable #quit | /echo /echo 4 Quit Mode Disabled | set %quit On }
  if ($did == 40) {  /enable #quit | /echo /echo 11 Quit Mode enabled. | set %quit Off }
  if ($did == 42) { /enable #deophop | /echo 11 Deop Hop enabled. | set %deophop On } 
  if ($did == 43) { /disable #deophop | /echo 4 Deop Hop Disabled. | set %deophop Off }
  if ($did == 46) { /enable #modelock | /echo 11 Mode Lock enabled. | set %modelock On }
  if ($did == 47) { /disable #modelock | /echo 4 Mode Lock Disabled | set %modelock Off }
  if ($did == 50) { /enable #whisp | /disable #whisp1 | echo whispers enabled | set %whisp On }
  if ($did == 51) { /disable #whisp | /enable #whisp1 | echo whispers disabled | set %whisp Off }
  if ($did == 54) { /enable #triv | /echo 11 Trivia enabled. | set %trivia On }
  if ($did == 55) { /disable #triv | /echo 4 Trivia Disabled. | set %trivia Off }
  if ($did == 58) { /enable #onjoin | /echo 11 OnJoin Commands enabled. | set %onjoin1 On }
  if ($did == 60) { /disable #onjoin | /echo 4 OnJoin Commands Disabled. | set %onjoin1 Off }
  if ($did == 63) { /enable #takeover | /echo 11 Take Over enabled. | set %takeover On }
  if ($did == 64) { /disable #takeover | /echo  4 Take Over Disabled. | set %takeover Off }
}
