Difference between revisions of "MQ2Events" - MMOBugs Wiki

 
(2 intermediate revisions by 2 users not shown)
Line 18: Line 18:
 
* <span class="highlight2">/event setcommand <name> <command text></span> : Create custom command.
 
* <span class="highlight2">/event setcommand <name> <command text></span> : Create custom command.
 
* <span class="highlight2">/event load</span> : Reads INI file.
 
* <span class="highlight2">/event load</span> : Reads INI file.
* <span class="highlight2">/event delete <name></span> : Deletes a specific event by name.    
+
* <span class="highlight2">/event delete <name></span> : Deletes a specific event by name.
 +
* <span class="highlight2">/event off </span> : Disable processing the events
 +
* <span class="highlight2">/event on </span> : Enable processing the events
  
 
==INI Examples==
 
==INI Examples==
Line 28: Line 30:
 
   command=/attack off
 
   command=/attack off
 
   [Killer]
 
   [Killer]
   trigger=#*#tells you, 'kill em all!'#*#
+
   trigger=#1#tells you, 'kill em all!'
 
   command=/attack on
 
   command=/attack on
 +
  [InviteGroup]
 +
  trigger=#1#tells you, 'invite #2#'
 +
  command=/invite ${EventArg2}
  
 
==Availability==
 
==Availability==

Latest revision as of 23:23, 10 January 2022

Plugin Info
Name MQ2Events
Author Bardomatic
Link Wiki Link
Commands /event
Source Available Yes
Uses INI File Yes

Description

Lets you trigger events via an INI.

Commands

  • /event : Display syntax and examples.
  • /event settrigger <name> <trigger text> : Create custom trigger.
  • /event setcommand <name> <command text> : Create custom command.
  • /event load : Reads INI file.
  • /event delete <name> : Deletes a specific event by name.
  • /event off  : Disable processing the events
  • /event on  : Enable processing the events

INI Examples

MQ2Events_CharacterName.ini

  [enrage]
  trigger=|${Target.DisplayName}| has become ENRAGED#2#
  command=/attack off
  [Killer]
  trigger=#1#tells you, 'kill em all!'
  command=/attack on
  [InviteGroup]
  trigger=#1#tells you, 'invite #2#'
  command=/invite ${EventArg2}

Availability

This plugin is included with the MMOBugs Compile.