IsRequirementFullfilled

Pilus edited this page Aug 11, 2015 · 1 revision

Syntax:

IsRequirementFullfilled(rType,rDetail,exeFunc)

Arguments:

IsRequirementFullfilled() has 3 required arguments.

rType
''String''
This is the requirement you are checking for. Any numbers should be given without quotes.
'''Type''' '''Detail''' '''Type''' '''Detail'''
Name Character's Name Base Stats
  • Strength OR Str
  • Agility OR Agi
  • Stamina OR Sta
  • Intellect OR Int
  • Spirit OR Spi
  • Armor OR Arm
Level Level as a Number Reputation
Zone Zone Name Honor Kills Number of Honorable Kills
SubZone Sub Zone Name Normal Buff Normal Buff Name
Guild Guild Name GHI Buff GHI Buff Name
Class Player Class LUA Statement A snippet of lua code
Race Player Race Normal Item Name of a Real Item, exactly as displays in ToolTip
Gender
  • Male OR M
  • Female OR F
  • None OR N
rDetail
''String''
A String containing the data specifics to look for. See Previous Table
exeFunc
''Function''
A Function to activate if the requirement is met.

Aliases:

None

Example:

local printSuccess = function() print("Sucess.") end

IsRequirementFullfilled("Gender","Male",printSuccess())

This script will print "Success." in your chat log if you are a male.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.