|
Delphi03 Novice
Joined: 20 Aug 2004 Posts: 37 Location: Illinois
|
Posted: Sat Feb 12, 2011 6:39 pm
[Solved] Trigger Question |
Is it possible to have a trigger "call" a macro in response to matching its pattern?
I did some looking through the site/forums as well as the help and didn't see any way explicitly called out other than seeing that #T+ and #T- should/could be able to call something of the "type" "macro", but I wasn't able to get it to work. |
|
Last edited by Delphi03 on Sat Feb 12, 2011 9:25 pm; edited 1 time in total |
|
|
|
hogarius Adept
Joined: 29 Jan 2003 Posts: 221 Location: islands.genesismuds.org
|
Posted: Sat Feb 12, 2011 8:42 pm |
If the script for the macro is always the same, just copy the script for the macro into the script for the trigger.
|
|
|
|
Delphi03 Novice
Joined: 20 Aug 2004 Posts: 37 Location: Illinois
|
Posted: Sat Feb 12, 2011 8:56 pm |
The script can change from character to character.
Additionally, there are times I do not want automation and other times when I would prefer it.
I'm just looking for a way to avoid having to make changes to two separate locations while also providing a quick keybinding when I need to run it manually. |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Sat Feb 12, 2011 9:06 pm |
Make an alias. Have both the macro and the trigger call the alias. Define the alias within each character's session.
|
|
|
|
Delphi03 Novice
Joined: 20 Aug 2004 Posts: 37 Location: Illinois
|
Posted: Sat Feb 12, 2011 9:25 pm |
That works like a charm.
Thank you. |
|
|
|
|
|