Yeah, such refugees got several zoneIds, depening on the map they belong to. But I'm not sure if their zone name always got that "outlow refugge" yu could check for.
if you want to do this you could use
if string.find(stringToSearch, "outlaw refugee", 1, true) ~= nil then
--found
end
The last pattern will make it search with plain text, without any patterns!
If it returns something not nil it will return the position in the string where it was found.
-> You must use stirng.lower(stringToMakeLowercase) on the stringToSearch first to make it match the lower case "outlaw refugee" then!
|