Page 1 of 1

what's wrong with Platinum

Posted: Wed Sep 15, 2004 10:43 am
by wolfbaby
i use

Code: Select all

/itemnotify ${Me.Platinum} leftmouseup
but it picks up the charm !!

i have 0 Platinum 0 gold in Inventory.But the mq2 does not know it?
why the charm slot?

Posted: Wed Sep 15, 2004 12:33 pm
by dman
${Me.Platinum} in your case evaluates to 0, as that is what you say you have on you. Slot 0 I believe just happens to be the charm slot, so you are telling your macro to click slot 0 and pick up your charm.

Posted: Wed Sep 15, 2004 6:21 pm
by wolfbaby
thank you ,but which slot is my Platinum(and gold sliver ,copper) slot?

Posted: Wed Sep 15, 2004 6:52 pm
by eqjoe
Here is how I delete the silver and copper so that I dont get encumbered.
I think this still works.....

Code: Select all

Sub DelCoins
      /echo Deleting Silver and Copper	
      /windowstate InventoryWindow open 
      /shift /notify InventoryWindow IW_Money3 leftmouseup 
      /destroy 
      /delay 1s
      /shift /notify InventoryWindow IW_Money2 leftmouseup 
      /destroy
      /keypress esc
      /keypress esc
/return      


So, to pick up all my plat I would

Code: Select all

	
      /windowstate InventoryWindow open 
      /shift /notify InventoryWindow IW_Money0 leftmouseup 


-j

Posted: Thu Sep 16, 2004 10:14 am
by wolfbaby
yeah!
Thank you,it works.here is the code

Code: Select all

sub bank
/keypress ESC
/keypress ESC
/keypress ESC
/keypress ESC
|you can change the banker's name
/target Banker
/delay 1s
/keypress u
/delay 1s
/if (${Me.Platinum}>0) {
/shift /notify InventoryWindow IW_Money0 leftmouseup 
/delay 1s
/shift /notify BigBankWnd BIGB_Money0 leftmouseup 
/delay 1s 
}
/if (${Me.Gold}>0) {
/shift /notify InventoryWindow IW_Money1 leftmouseup 
/delay 1s
/shift /notify BigBankWnd BIGB_Money1 leftmouseup
/delay 1s 
}
/if (${Me.Silver}>0) {
/shift /notify InventoryWindow IW_Money2 leftmouseup 
/delay 1s
/shift /notify BigBankWnd BIGB_Money2 leftmouseup
/delay 1s 
}
/if (${Me.Copper}>0) {
/shift /notify InventoryWindow IW_Money3 leftmouseup 
/delay 1s
/shift /notify BigBankWnd BIGB_Money3 leftmouseup
/delay 1s 
}
/notify BigBankWnd DoneButton leftmouseup
/keypress ESC
/keypress ESC
/keypress ESC
/keypress ESC
/return
it only doesn't work if someone stand between you and the banker

Posted: Thu Sep 16, 2004 10:21 am
by dman
/click right target instead of /keypress u should take care of the people in front you problem.