I'm need Firewalker boots refill script...

I searched the forum and what i found did not work :/

This script uses the stone only if it is in bp and in my case this always equipped .. and not equippe ..

-- Recarregando Worn Firewalker Boots --
if itemcount("worn firewalker boots") > 0 and itemcount("small enchanted ruby") > 0 then
useitemon("small enchanted ruby", "worn firewalker boots", MainBP) wait(200, 400)
end

Thanks.