View Single Post
05/01/23, 11:00 AM   #5
sinnereso
AddOn Author - Click to view addons
Join Date: Oct 2022
Posts: 245
been going over those pages all day and they appear to do the reverse of what I need. for example im needing to match the end of

GetUnitZone("player")--- which lets say is "Bal Foyen"

with an item in the table

local table = {
"foyen"
}

id like to easily in the for xxxxxxxxx do statement

if GetUnitZone("player") == *table item

not know how many occurences etc of it there is.

**EDIT
Nevermind I just realized they will never be equal. at best the table will return Foyen not Bal Foyen. Ill rethink it some more =p

Last edited by sinnereso : 05/01/23 at 11:02 AM.
  Reply With Quote