Hi again,

I am playing around with dialog stuffs. I try to capture all dialog events and display the dialog name, the event that triggered it and ID number of the object that triggered it. How do I do that? I cannot find a full documentation about Dialog -- can someone suggest a pointer?

The following code is what I have written:

; Capture all events
ON *:DIALOG:*:*:*: {
%AD_count = %AD_count + 1
echo %AD_count
echo hi a dialog event has occured!
}

p/s: I find I cannot echo the %AD_count. Why?