WoW API: GetCVar

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetCVar to API GetCVar without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetCVar

Returns the current value of a console variable.

value = GetCVar("cvarName")

Arguments

cvarName
String (CVar) - name of the CVar to query the value of.

Returns

value
String - current value of the CVar.

Notes

  • Calling this function with an invalid variable name will cause an error.