mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-21 15:13:26 +02:00
Version 2.0 - preys, bot updates, ui improvements
This commit is contained in:
7
modules/game_bot/default_configs/examples/npc.lua
Normal file
7
modules/game_bot/default_configs/examples/npc.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
singlehotkey("f10", "npc buy and sell", function()
|
||||
NPC.say("hi")
|
||||
NPC.say("trade")
|
||||
NPC.buy(3074, 2) -- wand of vortex
|
||||
NPC.sell(3074, 1)
|
||||
NPC.closeTrade()
|
||||
end)
|
Reference in New Issue
Block a user