Code: Select all
<onload>
temp = 0
questname_1 = "Unknown Energy";
questname_2 = "Final Analysis";
changeProfileOption("WAYPOINT_DEVIATION",30);
YourTargetScore = 6000
function waitForEventStart()
EventMonitorStart("eojstart", "CHAT_MSG_SYSTEM")
local EventStarted = false
repeat
yrest(100) -- check started every 5 seconds
repeat
local time, moreToCome, msg = EventMonitorCheck("eojstart", "1")
if msg and string.find(msg,"Regional event now restarting!") then
EventStarted = true
break
end
until moreToCome == false
if EventStarted then break end
until false
end
function isEventFinished()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
return (Count ~= 2 or ScorePE >= YourTargetScore);
end;
function EventTimer()
repeat
TBES = RoMscript('getevmessage()')
until (TBES == "|cffffff80Regional event now restarting!|r")
print("Am inceput !");
end
function Check_Quest()
queststate = getQuestStatus(questname_1);
if queststate == "complete" then
player:update()
temp = 0
promised a lot of please its suppose stand in one spot switch channels and complete the EOJ events.
i already converted one macro to do the event i need help i'm willing to work with anyone to help me complete this project.
Code: Select all
script TargetUnit("focus1");
/script OnClick_QuestListButton(1,4);
/script AcceptQuest();
/script TargetUnit("focus1");
/script OnClick_QuestListButton(1,3);
/script AcceptQuest();
/script CompleteQuest();
/run DeleteQuestByID(425598);
Final Analysis
Unknown Energy
basically this is the concept
http://www.solarstrike.net/phpBB3/viewt ... =33&t=5341
except this is the bot for it^