mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 40
C
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Dec 2002
Posts: 40
Is it possible to display Identifiers in dialogs? like dir listings, file sizes, $ctime?

Thanks

Coca-Bear

Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
You mean identifiers in a dialog table? If it's that, you can use something like
Code:
edit $ctime, 1 1 100 10, autohs

ie not enclose the identifier (or variable) in " "


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Dec 2002
Posts: 40
C
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Dec 2002
Posts: 40
Ok i've done that but it doesn't show any thing in the dialog. i've tried both edit and text, i used what you had, and change the id and also the position.

Thanks

Coca-Bear

Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Well, I forgot to add the ID parameter in the example I made, but you shouldn't have followed that mistake :tongue:
My point is that you can use identifiers/variables in dialog tables as long as they are not enclosed in quotes. Try something like:
edit $ctime, 11, 30 30 100 20


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Dec 2002
Posts: 40
C
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Dec 2002
Posts: 40
i did change the id.. but it didn't work.. but i've figured that it was the ,autohs that caused it to not work..

Thank you both for the help.

Coca-Bear

Joined: Dec 2002
Posts: 143
A
Vogon poet
Offline
Vogon poet
A
Joined: Dec 2002
Posts: 143
I jsut put it into a dialog as:

edit $ctime, 22, 1 1 100 10, autohs

and in the dialog, when viewing it, I got an edit box in the top left corner with:"1044623400" in it!

Seems to work fine...


Aubs.
cool


Link Copied to Clipboard