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
/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
Rich (BB 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 a moderator: