mIRC Home    About    Download    Register    News    Help

Print Thread
#60041 12/11/03 08:06 PM
B
bunar
bunar
B
i have some dificultis:

i have 1 check box and i want to do when someone UNCHECK it that some message appear as warning so i have this:

if ($did == 1) { did -u setup 1 | .information some message! }

/information calls new form with message written...

it works ok, but when i want to check it again it AGAIN calls that warning message and wont check it altho i specified -u trigger !

what to do?

#60042 12/11/03 08:21 PM
Joined: Dec 2002
Posts: 1,893
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,893
Code:
On *:dialog:name:sclick:check-id:{
  if $did($did).state == 0 {
    information <message>
  }
}

$did().state will be 1 when the editbox is checked, and 0 when unchecked.

#60043 12/11/03 08:27 PM
B
bunar
bunar
B
thank you so very much !


Link Copied to Clipboard