Guest User

Untitled

a guest
Apr 13th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.26 KB | None | 0 0
  1. $NPC = 10 ; Id of the merchant
  2. Cmd($CA_GoNPC, $NPC)
  3. $index = 5 ; Index of the item you want to buy from merchant ; 5 = ecto
  4. Cmd($CA_TraderRequest, $index)
  5. Do
  6.     Sleep(1250)
  7.     CmdCB($CA_TraderCheck)
  8. Until $cbVar[0] <> 0 And $cbVar[1] <> 0
  9. Cmd($CA_TraderBuy)
Add Comment
Please, Sign In to add comment