EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   Help!?!?! (https://www.eq2interface.com/forums/forumdisplay.php?f=24)
-   -   Macros using dynamicdata possilble? (https://www.eq2interface.com/forums/showthread.php?t=13185)

alinabal 08-04-2009 11:47 AM

Macros using dynamicdata possilble?
 
Im trying to setup either a macro or a button in a new custom window to reply to the last person to send me a tell, with a dynamicdata variable. Im trying this so that I can tell ppl when Mana Flow is back up, using SpellInfo.Bank_5.Key_12.ReuseSec

Ideally, this

/tell %rt Mana Flow down, youll get it in %SpellInfo.Bank_5.Key_12.ReuseSec% seconds

Any ideas how to do this, either in a macro or with a custom window?

tia

gm9 08-04-2009 01:02 PM

For a custom window something like this (this is just the script part):
<Text DynamicData="/GameData.SpellInfo.Bank_5.Key_12.ReuseSec" Name="B5K12Reuse" />
<Button Name="ManaFlowRT" OnPress="rt Mana Flow down, you will get it in Parent.B5K12Reuse.Text seconds" />

alinabal 08-05-2009 03:49 PM

Quote:

Originally Posted by gm9 (Post 85070)
For a custom window something like this (this is just the script part):
<Text DynamicData="/GameData.SpellInfo.Bank_5.Key_12.ReuseSec" Name="B5K12Reuse" />
<Button Name="ManaFlowRT" OnPress="rt Mana Flow down, you will get it in Parent.B5K12Reuse.Text seconds" />

Thanks, i tried with this

Code:


<?xml version="1.0" encoding="utf-8"?>
<Page eq2usescomwndcontrols="true" Location="32,308" Name="ManaFlowing" PackLocation="center,center" ScrollExtent="206,242" size="206,242" UserMovable="true">

    <Text DynamicData="/GameData.SpellInfo.Bank_5.Key_12.ReuseSec" Name="B5K12Reuse" />

    <Button Location="2,48" Name="BtnSemiElf" OnPress="rt Mana Flow down, you will get it in Parent.B5K12Reuse.Text seconds" ScrollExtent="100,32" Size="100,32"  Style="/CommonElements.PushButton.data.style">Mana Down</Button>
   
    <Page Name="WindowFrame" PackSize="absolute,absolute" ScrollExtent="206,242" Size="206,242" Visible="false">
        <Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Frame" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/WindowElements.DesktopWindowFrame.data.frame.rect" ScrollExtent="206,242" size="206,242" />
        <Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Bkg" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/WindowElements.DesktopWindowFrame.data.bkg.rect" ScrollExtent="206,242" Size="206,242" />
    </Page>
</Page>

And clicking the button just targets the last person to send you a tell. Any ideas?

lordebon 08-05-2009 03:57 PM

Isn't rt short for target reply? (As in target the person who last sent you a tell). That would do it...

alinabal 08-06-2009 04:17 AM

Hmm, it must be when in a UI format./tell %rt in game gives "reply to last tell"

Time to look through all the short cuts again I think

Thanks

gm9 08-06-2009 06:00 AM

Quote:

Originally Posted by lordebon (Post 85091)
Isn't rt short for target reply? (As in target the person who last sent you a tell). That would do it...

Ah might be, not sure, just took it from the OP. I looked over the command list and did not see anything better, so you may need to target, grab the target's name and then target_previous for that script to work.

The % type macro variables do not work in UI script alinabal.

alinabal 08-06-2009 07:18 AM

I think Ill pass then :)

thanks gm9, youve been fantasic :)


All times are GMT -5. The time now is 03:54 AM.

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