mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
This was brought to my attention on another site, so to get all of the proper information check this link

Joined: Oct 2006
Posts: 166
B
Vogon poet
Offline
Vogon poet
B
Joined: Oct 2006
Posts: 166
Did you try $mask identifier?


Kind Regards, blink
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Yes, you cannot use a comma inside the dialog setup:

Works:
text $me,1,5 5 100 10

Doesn't work:
text $address($me,2),1,5 5 100 10

And, yes, the cause is the comma. However, it's not hard to put that into the dialog during the init event. The way you have it will work just fine.

Just a couple suggestions from my quick view of the script in action. 1) "Addresses" instead of "Address's". 2) Make your example address lengths longer as it cuts off long addresses. It should be as wide as your box. Right now, it's only about 60% of the width of the box.


Invision Support
#Invision on irc.irchighway.net
Joined: Oct 2006
Posts: 166
B
Vogon poet
Offline
Vogon poet
B
Joined: Oct 2006
Posts: 166
I didn' try the code. but as Riamus said: "commas interrupts (for dialog's options)". then I guess you need to use a custom alias and instead of a 2nd parameter, you can do an alias that uses .prop instead of 2nd param. which means comma within the identifier.


Kind Regards, blink
Joined: Feb 2006
Posts: 546
J
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2006
Posts: 546
you could get away with something like:

Code:
text $evalnext($!address($me $chr(44) N)), id, x y w h


where N is the mask number, but it'd look quite ugly especially when done several times. adding to the dialog with a loop as in your follow up post is the best method imo :P


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Ugly but nice smile


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
I'd like to bump this thread..

Had a channel conversation, but thought this would be nice to be fixed. Here's the brunt of the channel conversation:
Code:
  edit $readini $mircini options n0, 6, 5 175 543 20, autohs
Works


Code:
  edit $readini($mircini,options,n0), 6, 5 175 543 20, autohs
Does not.

It'd be nice for this to be fixed in an upcoming build.. Besides, some day the old form of $readini will no longer work :P


Link Copied to Clipboard