Deposit.mac - Bank Deposit Macro

Macro depository for macros written before the user variable changes that broke all of them.

Moderator: MacroQuest Developers

GD
a snow griffon
a snow griffon
Posts: 353
Joined: Sat Jun 29, 2002 11:57 pm

Deposit.mac - Bank Deposit Macro

Post by GD » Sat Jul 06, 2002 6:44 am

Code: Select all

| Money Depositing Macro - Written by GD
|
| Will deposit all coins and then convert
| it to the highest denomination
|
| MUST open your bank before running this macro!
|
#turbo
#define Amount v50


Sub Main
	/varcalc Amount $char(plat)+$char(gold)/10+$char(silver)/100+$char(copper)/1000
	/sendkey down shift

	:Plat
		/if n $char(plat)==0 /goto :Gold
		/click left plat
		/click left bank plat

	:Gold
		/if n $char(gold)==0 /goto :Silver
		/click left gold
		/click left bank gold

	:Silver
		/if n $char(silver)==0 /goto :Copper
		/click left silver
		/click left bank silver

	:Copper
		/if n $char(copper)==0 /goto :ConvertCP
		/click left copper
		/click left bank copper

	:ConvertCP
		/if n $char(copper,bank)==0 /goto :ConvertSP
		/click left bank copper
		/click left bank silver
		/click left bank copper

	:ConvertSP
		/if n $char(silver,bank)==0 /goto :ConvertGP
		/click left bank silver
		/click left bank gold
		/click left bank silver

	:ConvertGP
		/if n $char(gold,bank)==0 /goto :Done
		/click left bank gold
		/click left bank plat
		/click left bank gold

	:Done
	/sendkey up shift
	/echo Deposited $Amountpp

/return

GD
a snow griffon
a snow griffon
Posts: 353
Joined: Sat Jun 29, 2002 11:57 pm

Post by GD » Sat Jul 06, 2002 3:26 pm

Modified it to tell you how much it deposited.

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Sat Jul 06, 2002 7:01 pm

Salutations,
maybe make it so it wil extract a certain number of plat when its done? ie so one doesn't have to do it by hand?

gingertips
a hill giant
a hill giant
Posts: 230
Joined: Wed Jun 26, 2002 3:47 am
Location: Tseu-Qorcam

Post by gingertips » Sat Jul 06, 2002 7:30 pm

Nice macro m8! Thanks!

:wink:

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Wed Jun 04, 2003 11:03 pm

Does this still work? Or, does anyone have a version that does if not ..hehe..I don't want to take a chance with moooola ;)

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Thu Jun 05, 2003 9:17 am

You're not really taking a chance. They modified EQ so you can't drop coins and so the banker will not accept anything, either items or coins. Too many people losing money and equipment to the bankers when the client/server click locations were slightly out of synch.

Now, I dunno about accidentally handing things to other players... you could add a check for target, and if it's not null or "banker" then press esc to cancel an accidental trade.

I'm wondering if you can use the "u" key to open a banker like you do a door, would save you having to open the bank yourself.....
MQ2: Think of it as Evolution in action.

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Sat Sep 11, 2004 3:00 pm

Yes, 'u' opens bankers and most vendors (not baz traders though), can't remember if it works for ldon vendors/recruiters or not...possibly one but not the other.

GD
a snow griffon
a snow griffon
Posts: 353
Joined: Sat Jun 29, 2002 11:57 pm

Post by GD » Sat Sep 11, 2004 6:50 pm

Damn, macro is 2 years old, haha.

This macro can be done so much simpler now, especially with the button for converting your cash for you.
Opinions are like assholes, everyone has one, but most of them stink.

User avatar
Night Hawk
a grimling bloodguard
a grimling bloodguard
Posts: 590
Joined: Fri Aug 13, 2004 4:56 pm

Post by Night Hawk » Sat Sep 11, 2004 9:20 pm

lol I pointed someone else here looking for this macro and Cr4zy comes and posts in it :P