Hello I cannot get this to work. It always selects the first Battle.Net account, even if the chosen one isnt the first in the list.
Thanks in advance +Reps for helpsCode:DoString("if (WoWAccountSelectDialog:IsShown()) then for i=0, GetNumGameAccounts() do local name = GetGameAccountInfo(i); if ( name == " + BNet + ") then selectedName = name; selectedIndex = i; end end WoWAccountSelect_SelectAccount(selectedIndex); WoWAccountSelect_Accept(); end");