|
acaykath Wanderer
Joined: 03 Aug 2005 Posts: 84
|
Posted: Mon Jun 29, 2009 12:38 pm
How to 'trigger' off command sent |
Okay, there is currently a crash bug in the mud I play associated with the clan setting not having a proper default. I would like to make a trigger or something that will essentially trigger off what I type, but aliases do not like wildcards, especially in the beginning. Is there a good way to do this:
Code: |
(command sent)
({north|east|south|west|up|down}) dig %d
(Actions)
%1
clan noclan
|
Is there an easy way to do this? or do I have to make six different aliases? |
|
|
|
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Mon Jun 29, 2009 2:23 pm |
I can't tell what you are doing in that, but you need to make a trigger then change the type to Command Input. It will then trigger off what you enter on the command line.
So for example a regex command input trigger would be like:
Code: |
^(north|south|east|west|up|down) dig \d+$ |
Value:
You don't need to put the %1 it still sends the command unless you put #noinput in the value or unless you want to do something with %1 other than just send it.
So when you type north dig 1 it will send north dig 1 and also send clan no clan. |
|
|
|
acaykath Wanderer
Joined: 03 Aug 2005 Posts: 84
|
Posted: Tue Jun 30, 2009 1:32 am |
Oh, It works, (when I have parsing on) thanks.
|
|
|
|
|
|