Thread Tools Display Modes
02-21-10, 04:36 AM   #1
ffxiedyn
A Chromatic Dragonspawn
 
ffxiedyn's Avatar
Join Date: Oct 2008
Posts: 165
Small Lua question

I have this line to check for the quality of an item (green or blue)

is it supposed to be this way: if Quality == 2, 3 then

or this way: if Quality == 2 or 3 then

or a completly new way im not even aware of??

I am just trying to make it check for blue as well as green, the original line only checked for green (2), if that helps.

thanks
  Reply With Quote
02-21-10, 05:24 AM   #2
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
Try
Code:
Quality == 2 or Quality == 3
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Small Lua question


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off