EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   useability command (https://www.eq2interface.com/forums/showthread.php?t=3442)

flemer 06-26-2005 10:19 AM

useability command
 
Hiya, I've been tinkering with the usagealarm popup window in so far as adding buttons to cast a set of buffs for a guardian.
A couple of his abilities contain an apostrophe which seems to cause some problems with the useability command :
for example
onpress="useability='Briteblade's Command' useability='Briteblade's Command'"

This returns the message 'unable to find spell briteblade in your knowledge book', as the apostrophe in the word briteblade's is considered to be the end of the event as well as another error as it tries to do something with the s Command part of the dialogue..
I have tried using () around the ability instead of apostrophes, but this seems to close down EQ.

If you lot have got any little trick that I've not tried I'd be grateful, cheers.

Faetyl 06-26-2005 11:15 AM

Quote:

Originally Posted by flemer
Hiya, I've been tinkering with the usagealarm popup window in so far as adding buttons to cast a set of buffs for a guardian.
A couple of his abilities contain an apostrophe which seems to cause some problems with the useability command :
for example
onpress="useability='Briteblade's Command' useability='Briteblade's Command'"

This returns the message 'unable to find spell briteblade in your knowledge book', as the apostrophe in the word briteblade's is considered to be the end of the event as well as another error as it tries to do something with the s Command part of the dialogue..
I have tried using () around the ability instead of apostrophes, but this seems to close down EQ.

If you lot have got any little trick that I've not tried I'd be grateful, cheers.


Try this:
onpress="usea='Briteblade' usea='Briteblade'"

(If I remember correctly you only have to put in enough to destinguish it from other commands hence the "usea".)
I setup a havest macro on all my characters to the following:
: ; usea Collecting ; usea Fishing ; usea Foresting ; usea Gathering ; usea Mining ; usea Trapping
Then assign that macro to the main hotbar and have my mouse setup for one of the buttons to initiate the harvest macro...
Ok, I'm getting of the subject now :)

Let me know if it works for you.

Thor/Faetyl

Magus 06-26-2005 02:44 PM

Try escaping the ' with a \, like \'

Deathbane27 06-26-2005 08:12 PM

For any command or ability containing an apostrophe, you must use the following format:


<Button X="Briteblade's Command" OnPress="usea=(X) usea=(X)" ...

flemer 06-27-2005 02:29 AM

Nice one, thanks for the advice, off to tinker now.

dischordio 07-03-2005 07:18 PM

easier solution: use the spell number instead of the name. drag spell to chat like an item link. copy, paste in a text editor. the number has a trailing L. drop the L, and use the number in your UI or macro.

flemer 07-04-2005 02:16 AM

Nice dischordio, already used the x=spell'name for my window and it's working as intended, however nice to know you can use the spell number instead. May well come in useful. Thanks :)


All times are GMT -5. The time now is 01:49 AM.

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