how to find id of new buff food
i search for the script to find id of bufffood or items in the back
not the buff of items or food
I am looking for a possibility to accept party check () = true or by time
if(player.free_counter1 == 0) then player.free_counter1 = os.time(); end;
if( os.difftime(os.time(), player.free_counter1) > 60 or checkparty() = true ) then
I want it to check the party waits max 60 sec and then continues without the confirmation at check party
i dont no i write this ok
thanks for help
how to find ids of new buff food
Re: how to find ids of new buff food
Put the item you want the id of, in slot 1 of your bags.
Start "StartCommandLine.bat" in the rom folder.
At the prompt typeThis will print the name and id of the item.
If you don't know how to copy and paste in Micromacro then follow the link in my signature.
If I understand correctly you just want to wait a maximum of 60s for checkparty() then continue. I wouldn't bother with the free_counter. I would do it like this
Start "StartCommandLine.bat" in the rom folder.
At the prompt type
Code: Select all
print(inventory.BagSlot[61].Name,inventory.BagSlot[61].Id)
If you don't know how to copy and paste in Micromacro then follow the link in my signature.
If I understand correctly you just want to wait a maximum of 60s for checkparty() then continue. I wouldn't bother with the free_counter. I would do it like this
Code: Select all
local starttime = os.time()
repeat
yrest(1000) -- 1 seconds
until (os.time()-starttime > 60) or (checkparty() == true)
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Who is online
Users browsing this forum: Ahrefs [Bot] and 0 guests