The following snippet prints the name of the player's current specialization if you have one selected. local currentSpec = GetSpecialization() local currentSpecName = currentSpec and select(2, GetSpecializationInfo(currentSpec)) or "None" print("Your current spec:", currentSpecName)
| Attributes | Values |
|---|---|
| rdfs:label |
|
| rdfs:comment |
|
| dbkwik:wowwiki/pro...iPageUsesTemplate | |
| abstract |
|