mIRC Home    About    Download    Register    News    Help

Print Thread
R
RusselB
RusselB
R
This was brought to my attention on another site, so to get all of the proper information check this link

B
b1ink
b1ink
B
Did you try $mask identifier?

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
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.

B
b1ink
b1ink
B
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.

Joined: Feb 2006
Posts: 523
J
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2006
Posts: 523
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

Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
Ugly but nice smile

B
Bekar
Bekar
B
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