Results 1 to 1 of 1

Thread: MQ2Events

  1. Top | #1
      Wiki-Post This is a Wiki Post.

    MQ2Events

    MQ2Events - Ini-determined, event driven.

    /event <load|delete <name>|settrigger <name> <trigger text>|setcommand <name> <command text>|list>

    /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.

    Ini file name:
    MQ2Events_CharacterName.ini i.e. MQ2Events_Bob

    [eventname]
    trigger=trigger text
    command=command to execute when triggered

    ini example entries
    Code: 
    [campcheck]
    trigger=#*#says out of character, 'cc#*#
    command=/if (${Zone.ID}==703) /ooc Beget Cube
    
    [campcheck2]
    trigger=#*#says out of character, 'camp check#*#
    command=/if (${Zone.ID}==703) /ooc Beget Cube
    
    [enrage]
    trigger=|${Target.DisplayName}| has become ENRAGED#2#
    command=/attack off
     
    [relaytell]
    trigger=#1# tells you, #2#
    command=/tell relaytargetname ${EventArg1} told me, '${EventArg2.Mid[2,${Math.Calc[${EventArg2.Length}-2]}]}'
     
    [group]
    trigger=#1#To join the group, click on the 'FOLLOW' option, or 'DISBAND' to cancel.#2#
    command=/timed ${Math.Calc[3+${Math.Rand[4]}].Int}s /keypress ctrl+i
     
    [raid]
    trigger=#1#To join the raid click the accept button in the raid window or type /raidaccept.#2#
    command=/timed ${Math.Calc[3+${Math.Rand[4]}].Int}s /raidaccept
    Last edited by Maskoi; 01-15-2013 at 04:16 PM.

  2. 3 users hit "Thanks" on this epic post, earning Teichou 30 Redcents.

    macroquester (05-13-2016), obii1kanobie (04-29-2015), playj (03-20-2015)

Similar Threads

  1. Mq2events or ideas
    By liquidtoon in forum Requests and Questions
    Replies: 0
    Last Post: 09-20-2007, 01:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •