what's wrong with Platinum

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

wolfbaby
a lesser mummy
a lesser mummy
Posts: 45
Joined: Mon Sep 06, 2004 5:34 am

what's wrong with Platinum

Post by wolfbaby » Wed Sep 15, 2004 10:43 am

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?

dman
a hill giant
a hill giant
Posts: 181
Joined: Fri Dec 05, 2003 12:54 pm

Post by dman » Wed Sep 15, 2004 12:33 pm

${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.

wolfbaby
a lesser mummy
a lesser mummy
Posts: 45
Joined: Mon Sep 06, 2004 5:34 am

Post by wolfbaby » Wed Sep 15, 2004 6:21 pm

thank you ,but which slot is my Platinum(and gold sliver ,copper) slot?

eqjoe
a grimling bloodguard
a grimling bloodguard
Posts: 984
Joined: Sat Sep 28, 2002 12:26 pm

Post by eqjoe » Wed Sep 15, 2004 6:52 pm

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

wolfbaby
a lesser mummy
a lesser mummy
Posts: 45
Joined: Mon Sep 06, 2004 5:34 am

Post by wolfbaby » Thu Sep 16, 2004 10:14 am

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

dman
a hill giant
a hill giant
Posts: 181
Joined: Fri Dec 05, 2003 12:54 pm

Post by dman » Thu Sep 16, 2004 10:21 am

/click right target instead of /keypress u should take care of the people in front you problem.