Send out a mail.
SendMail(recipient, subject, body)
Parameters[ | ]
Arguments[ | ]
- recipient
- string - The recipient (name of the character)
- subject
- string - The subject of the mail
- body
- string - The body of the message
Example[ | ]
Send item to character "Twink" with COD amount of 1000 gold.
PickupBagItem(index); -- bag index of the item
ClickSendMailItemButton();
SetSendMailCOD(1000, 0);
SendMail("Twink", "Your requested item", "Have fun with it, and thanks for buying.");
Notes[ | ]
- ...
Related Functions[ | ]
- PickupBagItem
- ClickSendMailItemButton
- SetSendMailCOD
- SetSendMailMoney