set %active #falsewhile #true { onhotkey F4 CTRL set %active ! %active if H notin #charstatus && %active { event macro 13 21 wait 10s } wait 5 }