Code:login += "if (WoWAccountSelectDialog and WoWAccountSelectDialog:IsShown()) then " + "for i = 0, GetNumGameAccounts() do " + "if GetGameAccountInfo(i) == '" + BnetAccount + "' then " + "WoWAccountSelect_SelectAccount(i) " + "end " + "end " + "elseif (AccountLoginUI and AccountLoginUI:IsVisible()) then " + "DefaultServerLogin('" + LoginMail + "', '" + Password + "') " + "AccountLoginUI:Hide() " + "elseif (RealmList and RealmList:IsVisible()) then " + "for i = 1, select('#',GetRealmCategories()) do " + "for j = 1, GetNumRealms(i) do " + "if GetRealmInfo(i, j) == '" + ServerName + "' then " + "RealmList:Hide() " + "ChangeRealm(i, j) " + "end " + "end " + "end " + "elseif (CharacterSelectUI and CharacterSelectUI:IsVisible()) then " + "if GetServerName() ~= '" + ServerName + "' and (not RealmList or not RealmList:IsVisible()) then " + "RequestRealmList(1) " + "else " + // " CharacterSelect_Delete(1) " + " UpdateCharacterList() "+ "for i = 0,GetNumCharacters() do " + "if (GetCharacterInfo(i) == '" + CharacterName + "') then " + " CharacterSelect_SelectCharacter(i) " + " {0}:SetScript('OnUpdate', nil) " + " EnterWorld() " + "elseif (i==GetNumCharacters()) then " + " SetGlueScreen(\"charcreate\") "+ "end "+ "end " + "end " + "elseif (CharCreateRandomizeButton and CharCreateRandomizeButton:IsVisible() and GetNumCharacters()~=10) then " + " SetSelectedRace(1) "+ " SetCharacterRace(1) "+ " SetCharacterGender(GetSelectedSex()) "+ " SetCharacterCreateFacing(-15) "+ " CharacterCreateEnumerateClasses(GetAvailableClasses()) "+ " local _,_,classIndex = GetSelectedClass() "+ " SetCharacterClass(classIndex) "+ " CharacterCreate_UpdateHairCustomization() "+ " CharacterChangeFixup() " + " local button = _G[\"CharacterCreateClassButton3\"] button:Click() " + " CreateCharacter(\"" + CharacterName + "\") " + "elseif (MovieFrame and MovieFrame:IsVisible()) then "+ " local movieframe=_G[\"MovieFrame\"] "+ " movieframe:Hide() " + "elseif (TOSAccept and TOSAccept:IsVisible()) then "+ " local acceptbutton=_G[\"TOSAccept\"] "+ " acceptbutton:Enable() "+ " acceptbutton:Click() " + "elseif (CinematicsFrame and CinematicsFrame:IsVisible()) then " + " local cinemaframe=_G[\"CinematicsFrameCloseButton\"] "+ " CinematicsFrameCloseButton:Click() " + "elseif (SecurityMatrixFrame and SecurityMatrixFrame:IsVisible()) then " + " local row=tonumber(_G[\"SecurityMatrix_currentRow\"]) local column=tonumber(_G[\"SecurityMatrix_currentColumn\"]) " + " local willinput= sMartix[row][column] " + " for i=1,string.len(willinput),1 do " + " local singelinput=string.sub(willinput,i,i) " + " local numberbutton=_G[\"SecurityMatrixPinwheelButton\"..singelinput..\"\"] " + " numberbutton:Click() " + " end " + " _G[\"SecurityMatrixKeypadButtonOK\"]:Click() " + "end "; string thehax = ""; thehax += " local {0} = CreateFrame('Frame') " + " local {1} = 0 " + "{0}:SetScript('OnUpdate', "+ "function() " + "if GetTime()-2> {1} then " + login + "{1} = GetTime() " + "end " + "end) "; thehax = string.Format(thehax, RandomVarname, RandomVarname); thehax += smartix;