tContains() doesn't run string pattern matching.
Also, it's better to compare by itemID rather than name, otherwise localization will be a problem.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
|
Last edited by SDPhantom : 08-04-21 at 12:29 AM.
|