mIRC Home    About    Download    Register    News    Help

Print Thread
#23723 11/05/03 05:39 PM
Joined: Feb 2003
Posts: 28
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Feb 2003
Posts: 28
I have %nlistpath set to my $scriptdir path. I have this in my dialog:
icon 2, 9 9 15 15, " $+ %nlistpath $+ icons\ $+ op.ico $+ ", 0

The first time I open the dialog, it works fine (showing the icon), but the next time I open the dialog I get problems. For some reason the icon line above writes to the %nlistpath and screws everything up, so what I'm wondering is how I can stop this from happening.

Thanks in advance.


------------------
*** ArcticFire ***
#23724 12/05/03 06:30 AM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Off the help file:

Variables
If you specify a %variable name in a dialog item definition, the %variable will be set with the contents of that item when the dialog is closed.

edit "", 2, 10 10 100 20, autohs %result


Maybe this is what's wrong. mirc thinks that %nlistpath is there for the above purpose. Try
$+(",%nlistpath,icons\op.ico")
or, if that doesn't work either, make a custom identifier like
Code:
alias nlistpath return $+(",%nlistpath,icons\op.ico")
and put $nlistpath in the icon item.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#23725 12/05/03 06:59 AM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
yes ive also had a similar type problem in my attempt at a nicklist ...... i had to set an alias to actually read the information from what i wanted just like how qwerty is explaining in his example ..... mine was an attempt to set font color thru mdx urs is i think your attempt to set icons to the nicklist thru nicklist.dll ( btw i hope u get more luck with yours than ive had with mine .. i wanted to have mine have separate icons for away users which the nicklist dll doesnt allow .... grrr ) if your interested i do have a working example of a nicklist someone gave me to check out so i could learn alil more about nicklist dll ..... id gladly send it your way so u could look thru it and see how they got thru all of the settings your trying to do now just pm me or something with your email addy and ill send it to u to look at if your interested


D3m0nnet.com

Link Copied to Clipboard