How to use portable mailbox
Posted: Sun Oct 10, 2010 9:44 pm
Hey, i'm just wondering if anyone knows the command to open and drag and drop items into portable mailbox. Any help would be appreciated ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
Code: Select all
OpenMail()
PickupBagItem(GetBagItemInfo(i)) --pick up item to be sent
ClickSendMailItemButton() --drop item into mail slot
SendMail("MAILRECEIVER", "MAILSUBJECT", "MAILTEXT")
CloseMail() doesn't work?radulfizz wrote:I didnt find a sensible way to close the mail window.
Maybe CloseWindows() works, i'm not sure atm.
I'll try that. thanksradulfizz wrote:Hope this helps:
Some issues i couldnt solve so far:Code: Select all
OpenMail() PickupBagItem(GetBagItemInfo(i)) --pick up item to be sent ClickSendMailItemButton() --drop item into mail slot SendMail("MAILRECEIVER", "MAILSUBJECT", "MAILTEXT")
I didnt find a sensible way to close the mail window.
Maybe CloseWindows() works, i'm not sure atm.
Sometimes after opening the mail window and sending mail
the client becomes unresponsive to keyboard input and thus to
input from the bot. This occasionally happens to me during normal
play too, so maybe its some problem on my side.
My ugly but working solution so far is to have the bot send
the Escape key which solves both issues.
I assume you are talking about the rombot wiki. There is also a Runes of Magic wiki. Here is the link to the functions page,affirm wrote:Also, question... how do you get all these commands? some of them are on the wiki but how do you get these other ones? just pull them out of thin air?
oh wow... so all of those work with rombot aswell? Thanks so much! Now I can try and start learning this stuffrock5 wrote:I assume you are talking about the rombot wiki. There is also a Runes of Magic wiki. Here is the link to the functions page,affirm wrote:Also, question... how do you get all these commands? some of them are on the wiki but how do you get these other ones? just pull them out of thin air?
http://www.theromwiki.com/List_of_Functions
Just think what you want to do and see if you can find a command to do it. Sometimes if you know an addon does what you want to do, you can see what command they use and how they use it.affirm wrote:oh wow... so all of those work with rombot aswell? Thanks so much! Now I can try and start learning this stuffany tips for a noob on how to learn? Or do I just go through the list and find whatever?