Wikia

WoWWiki

Watchlist Recent changes

API GetRealmName

Main Menue



Returns the name of the realm (aka server) the player is currently on.

realmName = GetRealmName()

Arguments Edit

None

Returns Edit

realmName 
String - The name of the realm.

Example Edit

local realmName = GetRealmName()
DEFAULT_CHAT_FRAME:AddMessage("You are currently on realm: " .. realmName)
> You are currently on realm: Gorgonnash

Pages on WoWWiki

94,193pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,622photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki