-- LUA Script - precede every function and global member with lowercase name of script + '_main' g_name = {} g_gonemad = {} function findaspecificentity_init(e) end function findaspecificentity_main(e) Prompt ( "g_EntityElementMax = " .. g_EntityElementMax ) if g_name ~= nil then for ee = 1, g_EntityElementMax, 1 do if g_name[ee] ~= nil then if string.find(string.lower(g_name[ee]), "mutant") ~= nil then if g_gonemad ~= nil then g_gonemad[ee] = 1 end end end end end end