Store
Re: Store
'store' is for buying from merchants. Users would normally just use "player:merchant()" to buy and sell stuff but you can use the store functions directly to directly control what you buy. Any npc that has a store can be used.
The way you would buy a specific item isIf an npcs "open store" option in their dialog is not the first one, then you will have to specify which option it is. eg house maids.
The way you would buy a specific item is
Code: Select all
player:openStore("npcname")
store:buyItem(nameIdOrIndex, quantity)
Code: Select all
player:openStore("npcname",2)
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
- MiesterMan
- Posts: 543
- Joined: Tue Jul 06, 2010 9:15 pm
- Location: Between the Second and Third Circles of Hell
Re: Store
I'm pretty sure he meant the itemshop, hehe.
My RoM Bot toys:
- Object Viewer: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2619
Teleporter Functions: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2605
Waypoint Finder: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2616
Mail Functions: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2612
Equipment Swapper(TempFixed): http://www.solarstrike.net/phpBB3/viewt ... =27&t=2571
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 44 guests