From OpenKore Wiki
This template describes the QuestOnTime state Conditions of the automacro eventMacros.
- Description: Checks if the player has one of the given quests active, and this quest has a timer that hasn't ended yet, uses quest ID (use command 'quest list' to see ID).
QuestOnTime <comma separated list of quests ID>
- Quest ID can be a variable
QuestOnTime 7121, 7122
- Set variables:
$.QuestOnTimeLastID => Saves the ID of the last quest that made QuestOnTime become true $.QuestOnTimeLastListIndex => Saves the list index in condition of the last quest that made QuestOnTime become true