Page 1 of 1

Looking for help with wildcards for triggers

PostPosted: Tue Sep 10, 2013 2:58 am
by Drule
I've been trying to play around with lua in mudlet but I'm having trouble finding a good list of wildcards to use with triggers. Does anyone have a link to such a list or could someone set me up with a few basic ones?

I've seen people use things like (.*) and (/W+) etc but I'm not sure exactly what they're intended for.

Thanks in advance,
Nate

Re: Looking for help with wildcards for triggers

PostPosted: Tue Sep 10, 2013 8:50 am
by *juggleblood*
Here is a discussion of regex expressions:
http://www.regular-expressions.info/reference.html

Here is the mudlet faq:
http://wiki.mudlet.org/w/FAQ

And the manual:
http://wiki.mudlet.org/w/Manual:Contents

I'm still terrible at it. I finally have some basic working scripts. I hope you get much better than me and post examples. I'm happy to post wutever examples I have upon request.


-J

Re: Looking for help with wildcards for triggers

PostPosted: Tue Sep 10, 2013 8:36 pm
by Tuck
nice info jugg. publish it on wiki?

Re: Looking for help with wildcards for triggers

PostPosted: Wed Sep 11, 2013 6:08 pm
by *juggleblood*
I've never even looked at it. That's a player thing.

and that's not a cop-out btw, I have a Lyme area to get in game and it's rather big.


...and I do still have your eq suggestions, will accept more via email

Re: Looking for help with wildcards for triggers

PostPosted: Sun Sep 15, 2013 2:29 pm
by *Breeze*
made this awhile back.
no documentation on it tho.

stuff in box is examples.

feel free to make your own, and save the box contents before submitting.
it will not fill it in for you again.

http://www.slothmud.org/mudlet/

break a leg

Re: Looking for help with wildcards for triggers

PostPosted: Sun Sep 15, 2013 5:31 pm
by Akaya
*Breeze* wrote:made this awhile back.
no documentation on it tho.

stuff in box is examples.

feel free to make your own, and save the box contents before submitting.
it will not fill it in for you again.

http://www.slothmud.org/mudlet/

break a leg


That's pretty neat! So it converts ??? to Lua and saves it as an .xml file?

Re: Looking for help with wildcards for triggers

PostPosted: Sun Sep 15, 2013 8:28 pm
by *Breeze*
pseudo tin, yes. figured why not automate something i was doing tons of.