Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ON *:DIALOG:startup:*:*: {
- ; $devent = to event tou dialog to 'init' einai to load
- if ($devent == init) {
- ; $dname = to onoma tou startup
- ; episis auto to if tsekari ean yparxi to setting %auto_identify tote to energopoiei to check ean oxi tote to afini apo mono tou unchecked
- if (%auto_identify) { did -c $dname 5 }
- if (%auto_connect) { did -c $dname 4 }
- }
- ; sclick einai otan kaneis click se kapio id tou dialog
- if ($devent == sclick) {
- if ($did == 22) { echo ok }
- if ($did == 5) {
- ; auto to if leei oti ean yparxei to %auto_identify diladi ean to exis energopoihsh to check tote to apenergopoihei ean oxi tote to energopoihei
- if (%auto_identify) { did -u $dname 5 | unset %auto_identify }
- elseif (!%auto_identify) { did -c $dname 5 | set %auto_identify 1 }
- }
- }
- if ($devent == edit) {
- ; to edit einai otan grafis kati sta editbox
- if ($did == 8) { set %nickname $did(8).text }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement