hackmud

hackmud

help passing accts.balance to xfer_gc_to
i want to make a macro that i can automatically pass my balance to my alt account, anyone could help please??
< >
Showing 1-2 of 2 comments
It can't really be done with a macro (yet, at least). It isn't too hard to write a script that does it for you:

function(context,args) { return #ms.accts.xfer_gc_to({ to: "my_super-cool_alt_account", amount: #hs.accts.balance() }) }
Uploading this as a script should work the same as you're hoping, I think.
thanks! i am will try this out!
< >
Showing 1-2 of 2 comments
Per page: 1530 50