Hey Rock, Lisa.
in itemtypestable.lua are most of the items such like weapons etc but not such like eggs. I'm using some scrips to cleaning baggs so how to define eggs not to be dropped.
I've tried using the names, but in cause of german umlauts seems this one item.Name == "Nat\129rliches Begleiter-Ei" to be ignored.
So is it possible to define the types for the eggs, f.e. item.isType==("egg")?
itemtypestable
Re: itemtypestable
You can't use 'type' because egg type is "other" which is pretty useless.
You could do it by id
Future note: If you ever have problems with names with special characters because they mess up string searches, try changing the special characters with a dot '.'. Dots mean 'any character' in string patterns so it usually works.
You could do it by id
Code: Select all
if item.id > 204475 and 204510 > item.Id then
-- Is an egg!
end
- 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 158 guests