Advertisement
westor

ON DIALOG working way for Mr_Me

Jan 17th, 2015
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.95 KB | None | 0 0
  1. ON *:DIALOG:startup:*:*: {
  2.   ; $devent = to event tou dialog to 'init' einai to load
  3.   if ($devent == init) {
  4.     ; $dname = to onoma tou startup
  5.     ; 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
  6.     if (%auto_identify) { did -c $dname 5 }
  7.     if (%auto_connect) { did -c $dname 4 }
  8.   }
  9.   ; sclick einai otan kaneis click se kapio id tou dialog
  10.   if ($devent == sclick) {
  11.     if ($did == 22) { echo ok }
  12.     if ($did == 5) {
  13.       ; 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
  14.       if (%auto_identify) { did -u $dname 5 | unset %auto_identify }
  15.       elseif (!%auto_identify) { did -c $dname 5 | set %auto_identify 1 }
  16.     }
  17.   }
  18.   if ($devent == edit) {
  19.     ; to edit einai otan grafis kati sta editbox
  20.     if ($did == 8) { set %nickname $did(8).text }
  21.   }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement