View Single Post
05/01/23, 04:36 AM   #1
sinnereso
AddOn Author - Click to view addons
Join Date: Oct 2022
Posts: 245
Question List of special characters for wildcards?

Hey guys this might seem like a dumb question but I'm looking for a list of special characters with some descriptions of how they work with eso.

Symbols like % and ? and * etc etc.

I'm fine tuning my addon and made a table of locations you can't travel to but would like to use a wildcard for "*Outlaws Refuge" for example. In the following example whats the easiest way to achieve this? I'm looking to use a wildcard at the beginning of "%Outlaws Refuge" to HIT on any places like "Wayrest Outlaws Refuge".

Code:
local deadZones = {
		"Eyevea",
		"The Earth Forge",
		"Vateshram Hollows",
		"Maelstrom Arena",
		"%Outlaws Refuge%", <<<<<<<<THIS is the one im referring to specifically
		"Norg-Tzel",
		"Heart's Grief",
		"Ancient Carzog's Demise"
	}

for _, deadZone in ipairs(deadZones) do
     if GetUnitZone(playerID) == deadZone then
           blah blah blah
     end
end

Last edited by sinnereso : 05/01/23 at 04:41 AM.
  Reply With Quote