Trigger

From Kolmafia
Revision as of 20:03, 23 June 2010 by imported>Bale (this is tricky enough to use that I made a page for it)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a CLI command to add triggers to your mood, or remove all triggers.

  • trigger clear will remove all triggers from your mood
  • trigger autofill will add triggers for all your buffing skills. This could be troublesome if you have Flavour of Magic since it will add triggers for all 5 elemental types.
  • Parameters for adding a trigger are: [type,] effect [, action]
    • Possible types are gain_effect, lose_effect, unconditional
    • For an unconditional trigger, the effect is ignored and may be left blank, but you still need commas around that place-holder.
    • action is CLI command to be executed when that condition is fulfilled

For example, you can tell your mood to auto-olfact Goth Giants whenever you lose the effect "On the Trail", like this:

trigger lose_effect, On the Trail, olfact monster Goth Giant