Actions

Events

From Iron Realms Nexus Client Documentation

Revision as of 21:28, 19 October 2016 by Jeremy (Talk | contribs)

Events are actions that allows you to react on certain events happening in the game. These same events can be handled with triggers, usually using GMCP. Events just offer a simpler way to create reflexes off of the following events.

The currently defined options include:

  • Block of text received - triggered whenever you receive a block of text from the game.
  • Affliction received - triggered when your character receives an affliction. @match contains its name.
  • Affliction cured - triggered when your character cures an affliction. @match contains its name.
  • Defence activated - triggered when your character activates a defence. @match contains its name.
  • Defence lost - triggered when your character loses a defence. @match contains its name.
  • Player arrived - triggered when another player enters your room. Again, @match has the name.
  • Player left - triggered when another player leaves your room. @match has the name.
  • Room changed - triggered when you move, @match has the new room ID.
  • Target changed- triggered when you change your current target.

Examples

Here are a couple of very simple examples of how you can use events.