mIRC Homepage

Dialog

Posted By: AivarasB

Dialog - 07/09/06 07:13 PM

Code:
dialog voice {
  title "Voice system"
  size -1 -1 103 102
  option dbu notheme
  edit "", 5, 56 6 43 10
  text " Nick", 1, 7 6 45 8
  button "Add", 2, 61 17 32 12, flat
  edit "List", 4, 4 20 54 32
  button "OK", 6, 6 54 23 12, ok flat
  button "Cancel", 3, 31 54 23 12, cancel flat
  button "OFF", 7, 61 46 32 12, flat
  button "ON", 8, 61 31 32 12, flat
  box "", 9, 3 70 61 14
}

I need script when i write text into box "Nick", i push Add and script added /auser voice nickname.
Thx
Posted By: xDaeMoN

Re: Dialog - 07/09/06 07:37 PM

Code:
 On *:DIALOG:voice:sclick:2:  if ( $did(5) ) auser voice $v1 
Posted By: AivarasB

Re: Dialog - 07/09/06 08:09 PM

dont work
Posted By: RusselB

Re: Dialog - 07/09/06 10:24 PM

It works fine on my test...what are you seeing or not seeing that indicates to you that it's not working?
Posted By: AivarasB

Re: Dialog - 08/09/06 09:56 AM

script dont give user
Posted By: AivarasB

Re: Dialog - 08/09/06 10:01 AM

sry it works
Posted By: AivarasB

Re: Dialog - 08/09/06 10:04 AM

I need script when i add user into users list the nickname must be into box List
Posted By: SCNDRL

Re: Dialog - 08/09/06 11:14 PM

Code:
on *:dialog:voice:sclick:2:$iif($did(4) == List,did -r $dname 4) | .did -a $dname 4 $did(5) $+ $crlf


add multiline quality to dialog id 4

like this ;
Code:
  edit "List", 4, 4 20 54 32, multi
© 2022 mIRC Discussion Forums