Coin Cleanup

Macro requests from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

DontShoot
a lesser mummy
a lesser mummy
Posts: 58
Joined: Thu Jun 20, 2002 11:20 am

Coin Cleanup

Post by DontShoot » Sat Oct 05, 2002 11:28 am

Had an idea for a couple macros:

1)A macro that would run in the background and destroy any coins other than plat gained.
2)A macro that you could run while at the bank, and it would change all coins to their next highest denomination.

---- doh, just saw banking.mac for #2.

any ideas?

User avatar
Imperfect
Macro Author
Macro Author
Posts: 319
Joined: Fri Jun 14, 2002 1:52 am

Post by Imperfect » Sat Oct 05, 2002 3:15 pm

Read the manual and modify banking.mac to suit your purposes. Just a suggestion. I am very willing to help with at least somewhat attemped code...

DontShoot
a lesser mummy
a lesser mummy
Posts: 58
Joined: Thu Jun 20, 2002 11:20 am

attempt:

Post by DontShoot » Sat Oct 05, 2002 4:03 pm

edit: CODEBRACKETS PLEASE!

Code: Select all

#turbo 

Sub Main 

/cleanup
  :Gold 
   /if n $char(gold)==0 /goto :Silver 
   /sendkey down shift
   /click left gold 
   /click left destroy

  :Silver 
   /if n $char(silver)==0 /goto :Copper 
   /sendkey down shift
   /click left silver 
   /click left destroy

  :Copper 
   /if n $char(copper)==0 /goto :done
   /sendkey down shift
   /click left copper 
   /click left destroy

  
  :Done 
  /sendkey up shift 

/return

DontShoot
a lesser mummy
a lesser mummy
Posts: 58
Joined: Thu Jun 20, 2002 11:20 am

Post by DontShoot » Sat Oct 05, 2002 7:01 pm

okay, so I am stupid... I clicked the little code box, it didn't put the code brackets in. am I missing something? :(

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

Post by L124RD » Sat Oct 05, 2002 11:04 pm

Salutations,
Its a problem with the 'MQ (pimpin')' theme... it will [hopefully] be fixxed tomorrow, its a javascript error which will [hopefully] be easy to fix.

User avatar
Imperfect
Macro Author
Macro Author
Posts: 319
Joined: Fri Jun 14, 2002 1:52 am

Post by Imperfect » Sun Oct 06, 2002 7:18 am

That works for you?

Err I mean the macro...

DontShoot
a lesser mummy
a lesser mummy
Posts: 58
Joined: Thu Jun 20, 2002 11:20 am

cleanup

Post by DontShoot » Sun Oct 06, 2002 10:17 am

yup, destroys all gold silver and copper, leaving me with plat only. This mean I can put it in the Macro Depot? WOOT! I'm an AUTHOR