promotional bannermobile promotional banner
premium banner

OnStart

Abandoned
OnStart

Description

OnStart allows you to set commands in LUA to be executed each time you log in. Click "OnStart" button in the game menu and type your LUA code, click SAVE and Logout. And now few examples:

print("Hi "..UnitName("player").."! Welcome to the game");

- welcomes you, prints a message to the chat

PlaySoundFile("Sound\\Music\\ZoneMusic\\UlduarRaidInt\\UR_TitanOrchestraIntro.mp3") ;

- starts to play once a song

Logout() ;

- Hm.. To reset addon, delete WTF folder.

SetCVar("cameraDistanceMax",50);
BNSetMatureLanguageFilter(true);


etc.