Wikia

WoWWiki

API GetRealmName

Talk0
98,518pages on
this wiki

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

realmName = GetRealmName()

Arguments

None

Returns

realmName 
String - The name of the realm.

Example

local realmName = GetRealmName()
DEFAULT_CHAT_FRAME:AddMessage("You are currently on realm: " .. realmName)
> You are currently on realm: Gorgonnash
Advertisement | Your ad here

Photos

Add a Photo
62,044photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki