how use resupplu in gray island?
how use resupplu in gray island?
Hi!!... i trying to use the depositerbank with 2 categories.. but i get a message error!
depositerbank('a','b')
wait(1234,3456)
The Error:
00:18:33 error in Action script wptid:1:
["local towithdraw = moneytowithdraw(s..."]:LucasTerra.lua:5862 attempt to perform arithmetic on local 'extragold' (a string value)
stack traceback:
["depositerbank('a', 'b')"]:Action: :18 in user script
with i try a or b categories i´s ok..
Tanks
I think you not need to put the category.
See what documentation says.
moneytowithdraw ( optional string supplycategories )
Is optional only put this, do not miss to put all empty flask or any other itens you want to calculate in your supplies in supply list.
PHP Code:
npcsay('withdraw '..moneytowithdraw()) wait(500, 700)
It should be:
depositerbank('ab')
great tutorial!
But how do I change if I want to deposit if my cap is lower then 10? should it look like this?
and why does it take more money then needed when it goes to refill pots? :Pneedresupply(10, category) ?
Last edited by Solis; 05-15-2014 at 10:12 PM.
Great! Thank you dude...
thanks this should help people put together a basic script and help them understand how to use labels here
resupply() doesnt work. it just says hi>trade and didnt buy anything, im sure i got everything set correctly
i have a question...
its necesary to have supplies container open always? or supplies visible? to use the needresupply() function?
Because trying a cavebot script, if the supplies are not visible, its like no supplies.