ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: NObama on January 24, 2015, 07:52:39 AM
-
Quick question: Once I've got my NPC vendor primed, how do I code in the spiffy "ultra double click that takes the buy quantity from 1 to max?"
I'm watching a buy script do it right now, and it steps into something that has NOTHING to do with clicking yet somehow maxes out the buy amount?!
-
shift click?
-
EDIT:
Using "f x 300" to rapid click 300 times =P
Also, using math to determine if a buy price isn't worth my time.
Anyone know if/when vendors reset their buy prices anymore?
-
Dont do all that clicking just do this....
setShopItem #shopItemID #shopItemMax
Line of code extracted from my "sub Buyitem" located in the library file "ENs-Subs-BodsAndNPCs.txt" that can be found here... ENs Script Library (http://www.scriptuo.com/index.php?topic=10609.0)
The shop info stuff is sort of hidden in wiki
http://wiki.easyuo.com/index.php?title=GetShopInfo
http://wiki.easyuo.com/index.php?title=SetShopItem
http://wiki.easyuo.com/index.php?title=ShopCurPos