AddOns
AddOn Manager
Latest 200
Browse
Upload AddOn
Search AddOns
Projects
Author Portals
Git Repositories
SVN Repositories
Options
Email Feeds
Preference
Download History
News
Forums
New posts
Today's Posts
Search Forum
Categories
General
AddOns, Comps, Macros
Featured Projects
Developer
Site Forums
Mark Forums Read
Subscribed Threads
Open Buddy List
Members List
Help
Login
Sign up
WoWInterface
»
AddOns, Compilations, Macros
»
AddOn Help/Support
»
Small Lua question
Go to Page...
Reply
Thread Tools
Display Modes
02-21-10, 04:36 AM
#
1
ffxiedyn
A Chromatic Dragonspawn
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
ffxiedyn
View Public Profile
Send a private message to ffxiedyn
Find More Posts by ffxiedyn
02-21-10, 05:24 AM
#
2
Rilgamon
Premium Member
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!
Rilgamon
View Public Profile
Send a private message to Rilgamon
Find More Posts by Rilgamon
Reply
WoWInterface
»
AddOns, Compilations, Macros
»
AddOn Help/Support
» Small Lua question
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Switch to Linear Mode
Hybrid Mode
Switch to Threaded Mode
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