skiterek
New Member
Posts: 1 Likes: 0
Currently Offline
Last Online: Sept 20, 2019 14:23:26 GMT
View Profile
Registered On: Sept 18, 2019 10:54:14 GMT
|
Post by skiterek on Sept 18, 2019 14:51:45 GMT
Hello I try find it but cant so i type here what i need: Firstly I use this action for sell items:
say hi
wait 200
npcsay trade
wait 200
Countitems '3079'
wait 200
sellitems '3079' [$count]
wait 200
Countitems '822'
wait 200
sellitems '822' [$count]
wait 200
Countitems '3369'
wait 200
sellitems '3369' [$count]
All works perfect but this action always sell mine boots (boh) I try add to $count-1 but this not solve my problem.
Second script is for refill SMP, I use simple:
auto 200
itemcount.237
npcsay 'hi'
wait 1000
npcsay 'trade'
wait 1000
buyitemsupto 237 100
but when I come back I don't always have the same number of potions on me so I would like a script that counts how much is missing for a certain number
|
|
|
Post by VoltZ on Jun 3, 2020 8:47:53 GMT
it will always sell the whole loot and leave ur BOH at ur bp u can use this action to equip it after selling
equipboots XXXX
for the potions part u can use this
A 30174 26131 8 npcsay 'hi' wait 400 npcsay 'trade'
A 30174 26131 8 SMP
buyitems 237 100 wait 400 useoncreature 237 self wait 400 if [$count <= XX] {gotolabel SMP}
|
|