API CloseLoot

Close the loot window.

CloseLoot([errNum])

Arguments

 * errNum : Integer (Optional) - A reason for the window closing. Unsure whether/how the game deals with error codes passed to it.

Details
Pretty self-explanatory. Unless there is some type of error, don't pass the error argument.