Examples
Player:
{
Event: "Attack" {
// When the player attacks in a room, every character makes a resolve
// If no characters are present, displays a warning message.
this.i = 0
foreach (Character in currentRoom().getChars() as char){
char.trigger("Resolve")
i++
}
if (i == 0)
screenMessage("There is nothing to attack!")
}
}