Skip to content

Instantly share code, notes, and snippets.

@EncodeTheCode
Created January 27, 2026 21:05
Show Gist options
  • Select an option

  • Save EncodeTheCode/9cf950680f94110e289aed90fc3ac8f0 to your computer and use it in GitHub Desktop.

Select an option

Save EncodeTheCode/9cf950680f94110e289aed90fc3ac8f0 to your computer and use it in GitHub Desktop.
/run local n=UnitName("player"); local g=UnitGUID("player"); local _,s,p=strsplit("-",g); local r=GetNormalizedRealmName() or "Unknown"; print("User:"..n.." | ID:Player (#"..p.."), | Realm:"..r.." (#"..s..")")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment