EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Multiple arguement commands in Buttons? (https://www.eq2interface.com/forums/showthread.php?t=2857)

hirebrand 05-06-2005 01:02 AM

Multiple arguement commands in Buttons?
 
I keep forgetting how to do this.

OnPress="who 1 10"

How do I get that to work, again?

Zonx 05-06-2005 01:14 AM

Single quote the entire command
OnPress="'who 1 10'"

dc_roenfanz 05-06-2005 01:34 AM

Quote:

Originally Posted by Zonx
Single quote the entire command
OnPress="'who 1 10'"

would paren's work also? like this:
OnPress="(who 1 10)"

multiple quotes in the same line like that is an eye sore and really opens the room for error. just curious *shrug*

DC

Zonx 05-06-2005 02:02 AM

Yah parens should work too, though its not so much of an eye sore in UIBuilder since you never see the double quotes. I generally try to stick with alternating between double quotes and quotes when nesting strings. A habbit I got from Perl, JavaScript and ColdFusion scripts that spit out HTML.


All times are GMT -5. The time now is 10:29 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI