
So then I could use my Remote Desktop, to reactivate it from wherever I am. In the future I do not plan on relying on cords or colors as much, I also plan to let it Email me if I were to die, or logout. But I am still working on this, and I plan to improve it even more! I know there are multiple things I can change, and improve. WriteLn('Processing Complete, begin combat.') īegin //Repeats the process, if the script is still active.Įnd I am aware that the comments in here make it "messy", but they help newcomers see what's going on. WriteLn('NPC health is high, activating secondary attack.') If NPC_HighHP() then //If NPC health is high, use different ability.

WriteLn('Begin caution healing, may drain mana.') If NPC_LowHP() then //After you complete a kill, heal (could drain mana fast). WriteLn('Players mana is low, restoring.') If JAM_Mana() then //If players mana is low, restore. WriteLn('Player logged out, logging back in.') If JAM_LogBackIn() then //If player has logged out, logs back in. WriteLn('Health is below caution point, restoring now.') If JAM_MidHP() then //If players health is past caution, heal. WriteLn('Player has died, alerting host, then terminates script.') If JAM_Dead() then //If player dies, alerts host. WriteLn('Players health is low, begin healing loop.') If JAM_LowHP() then //If players health is low, heal until full. Result := (GetColor(110, 180) = 1710361 ) įunction NPC_HighHP: Boolean //Checks if NPC health is high.įunction NPC_LowHP: Boolean //Checks if NPC health is low. Result := (GetColor(500, 920) = 1776412 ) įunction JAM_LogBackIn: Boolean //Checks if player needs to log back in. Result := (GetColor(471, 916) = 1908513 ) įunction JAM_Mana: Boolean //Checks if mana is low.

Result := (GetColor(440, 920) = 1776412 ) įunction JAM_Dead: Boolean //Checks if health is empty. Result := (GetColor(400, 920) = 1776412 ) įunction JAM_LowHP: Boolean //Checks if health is below twenty-five percent. Result := (GetColor(371, 924) = 857797 ) įunction JAM_MidHP: Boolean //Checks if health is below fifty percent. Procedure JAM_InteractNPC(Action: string) įunction JAM_HighHP: Boolean //Checks if health is full. Procedure JAM_InteractKeys(Action: string SleepTime: Integer)
