Thank you guys again for the help. Phanx that worked exactly how I needed it. I was trying to find some help on how to use the "%s" format within a static popup. I only needed two options so the first one did it. I was missing this part...
Code:
local role = UnitGroupRolesAssigned("player"); -- Role selected or assigned in LFG
local spec = GetSpecialization()
local specRole = GetSpecializationRole(spec) -- Current Role Specialization
if role ~= specRole then
StaticPopup_Show("WRONG_SPEC_WARNING", role, specRole)
Surprisingly I could not find any examples of these through the wow code or other addons.