Triggers, Writing Wildcard Triggers |
Triggers, Writing Wildcard Triggers |
Guest_Jake_* |
Aug 14 2004, 04:47 PM
Post
#1
|
Guests |
Okay, so. Savitar is like my favorite client in the world, but I haven't been able to figure out, for the LIFE of me, how to write a wildcard trigger.
On MUSHclient, the wildcard for a spell trigger would look like this: Your Fire Bolt * *! [*] With * being the wildcard. The response would then be, flee^weave 1 'fire bolt' %2. How would I translate that to Savitar Wildcards? Please help! |
|
|
Guest_Axl@Alter Aeon_* |
Aug 17 2004, 07:51 PM
Post
#2
|
Guests |
First off, forget everything from MUSHclient.
You can specify the 'markers' in Savitar, but I use the ones that come by default, they're easy enough. (## for local command, %% for macro marker, and $$ for event wildcard marker). So anyway, to pick locked items on my mud, i wrote a trigger: pick $$dor (matching is exactly as found, INPUT) Then the reply is: 'you can help if you want, I'm gonna try to pick %%dor The $$dor specifies the wildcard, whatever i try to pick (door, chest, whatever) (you can check your 'Macros' tab in the 'Events' window to see that a macro called 'dor' has been created, with a value of whatever you typed after the target) and then %%dor calls that wildcard into action (pick door, pick chest, pick whatever). Hope this helps. |
|
|
Lo-Fi Version | Time is now: 2nd November 2024 - 12:04 PM |