Code: Select all
namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= PE_GetInfo(1);
SendSystemChat(namePH);Depennding on the phase and zone/PE and client language you get diferent string from namePH variable.
For Ancient Kingdom of Rorazan it is as follows:
passive:"Stable State"
active:"Firmly Entrenched"
So when i want the bot to wait until next active phase i can do something like this:
Code: Select all
repeat
yrest(1000);
namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= sendMacro("PE_GetInfo(1)")
until namePH=="Firmly Entrenched"