Originally Posted by Dorwido
you should overwork
"if not AddOn == MyAddOn then
return
end"
2nd time i see you posting that which wont work
|
Reposting what I posted in another thread:
That's because "not AddOn" evaluates to false if AddOn is non-nil and true otherwise. So that line is essentially saying "if false/true == MyAddOn then" which isn't at all what you want for a string comparison.