Vi1e
2007-04-16 08:30:33
Alright, I plan to make a merchanting bot, one that interacts with other people. I plan to make several functions for trading such as:
+SwitchWorld(WorldNumber := Integer) - Switches the user into another world.
+FindTraderAmount - Returns an integer with the amount of noted ores/armor/etc. the other person has placed on the trading window.
+IsTraderAmountRight(ItemCost := Integer) - Returns a boolean, true if the amount of merchandise is equal to how much gold an opposing player is paying. Works both ways, whether the script user is buying or selling.
Now, my main problem is: if someone placed 287 coal ores in the trade window…can GetTextAt find the amount? If not, how could I go about finding it?
If any more questions arise about the functions I'm working on, I will post here.
Edit: Should I have posted this in the Scripting Help area of the forums? If so, could a mod relocate it for me? Thanks!
+SwitchWorld(WorldNumber := Integer) - Switches the user into another world.
+FindTraderAmount - Returns an integer with the amount of noted ores/armor/etc. the other person has placed on the trading window.
+IsTraderAmountRight(ItemCost := Integer) - Returns a boolean, true if the amount of merchandise is equal to how much gold an opposing player is paying. Works both ways, whether the script user is buying or selling.
Now, my main problem is: if someone placed 287 coal ores in the trade window…can GetTextAt find the amount? If not, how could I go about finding it?
If any more questions arise about the functions I'm working on, I will post here.
Edit: Should I have posted this in the Scripting Help area of the forums? If so, could a mod relocate it for me? Thanks!