Attempts to withdraw money from the guild bank. Causes a PLAYER_MONEY
event to fire, indicating the amount withdrawn has been added to the player's total (see GetMoney()
). Causes an error or system message if amount
exceeds the amount of money in the guild bank or the player's allowed daily withdrawal amount.
See also Guild bank functions, Money functions.
Signature:
WithdrawGuildBankMoney(amount)
Arguments:
amount
- Amount of money to withdraw (in copper) (number
)
This function does not prompt the user for confirmation before its results take effect -- that behavior is provided by the default UI, and this function is called from the confirmation dialog