Skip to content

Instantly share code, notes, and snippets.

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

  • Save EncodeTheCode/7d516a2f5e3ded5722f1a6e37eebdabd to your computer and use it in GitHub Desktop.

Select an option

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