EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 05-06-2005, 01:02 AM
hirebrand hirebrand is offline
Bellum Aeternus
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Unkown
Posts: 165
Default Multiple arguement commands in Buttons?

I keep forgetting how to do this.

OnPress="who 1 10"

How do I get that to work, again?
Reply With Quote
  #2  
Unread 05-06-2005, 01:14 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Single quote the entire command
OnPress="'who 1 10'"
Reply With Quote
  #3  
Unread 05-06-2005, 01:34 AM
dc_roenfanz's Avatar
dc_roenfanz dc_roenfanz is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Unkown
Posts: 588
Default

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
Reply With Quote
  #4  
Unread 05-06-2005, 02:02 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

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.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:51 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI