Sorry, it doesn't. Maybe this will clarify things a bit
check "Ops", 10, 170 15 30 10
That's a check box that's from my code (the rest of the code isn't necessary for what I'm wondering).
What I want to do, is get the word
Ops returned when the check box is checked.
Now, I realize I could use
on *:dialog:dname:sclick:10:{
if $did(10).state echo -a Ops
}
But, I've actually got three controls like that. One for Ops, one for Half-Ops, and one for Voice
I'm currently using
on *:dialog:dname:sclick:10,12,13:{
;more code here
}
Which works fine, but I want the text related to the ID to be returned.
The only way that I've been able to think of is to use
if $did(10).state echo -a Ops
if $did(12).state echo -a Hops
if $did(13).state echo -a Voice
I was just wondering, since the words are, in some way, associated with the check box already, could I refer to that word, rather than having to recode it?