Search found 24 matches

by Tagon
Sun Nov 17, 2013 6:38 pm
Forum: Help Forum
Topic: Regex help needed...
Replies: 5
Views: 2191

Re: Regex help needed...

Replace the "." with "\.".

It's a special character which means any character. The backslash forces it to be taken literally.
by Tagon
Sun Nov 17, 2013 9:47 am
Forum: Help Forum
Topic: Regex help needed...
Replies: 5
Views: 2191

Re: Regex help needed...

by Tagon
Fri Oct 18, 2013 3:44 pm
Forum: Help Forum
Topic: simple highligher
Replies: 9
Views: 2861

Re: simple highligher

That's why I posted the link :)
by Tagon
Fri Oct 18, 2013 3:12 pm
Forum: Help Forum
Topic: simple highligher
Replies: 9
Views: 2861

Re: simple highligher

by Tagon
Mon Oct 14, 2013 9:21 pm
Forum: Help Forum
Topic: regex tomatch prompt when HP<100?
Replies: 2
Views: 1399

Re: regex tomatch prompt when HP<100?

Personally I'd regex to get the current hp then use lua to test if it's lower than 100.
by Tagon
Tue Oct 08, 2013 1:21 pm
Forum: General Forum
Topic: Mudlet features and API requests
Replies: 524
Views: 415940

Re: Mudlet features and API requests

One, largely inconsequential, niggle for our likely usage that the link brought up - it seems to me to use "USA billion" (1,000,000,000) rather than what I'd recognise as a proper "UK billion" (1,000,000,000,000) etc. ;) :geek: - Pedants of the Earth gain membership into a homol...
by Tagon
Tue Oct 08, 2013 8:34 am
Forum: Help Forum
Topic: Odd pattern to regex match
Replies: 5
Views: 2145

Re: Odd pattern to regex match

^You need (\d+) experience to .*level (\w+) to ([0-9:]+) and have (\d+) experience. \((\d+)\%\)$ Will give you matches[2] = experience needed matches[3] = profession matches[4] = level (either a number, or a number:number) matches[5] = current exp matches[6] = % level you could then test whether ma...
by Tagon
Tue Oct 08, 2013 7:50 am
Forum: Help Forum
Topic: Odd pattern to regex match
Replies: 5
Views: 2145

Re: Odd pattern to regex match

try ([0-9\:]+)

I think... should be the set of digits and the colon as one match, will for with or without the colon.
by Tagon
Thu Oct 03, 2013 1:59 pm
Forum: Help Forum
Topic: Triggering on Output of Trigger Action
Replies: 8
Views: 2626

Re: Triggering on Output of Trigger Action

As I understand it you have a mutiline OR trigger for: "The sun starts to rise", "The sun is over your head", "The moon is rising" etc This trigger stores the result of getStopWatchTime() into an array and sends "TIME" to as a command to the mud. The second tr...
by Tagon
Thu Sep 26, 2013 11:38 am
Forum: Help Forum
Topic: Special exits as normal exits
Replies: 2
Views: 1481

Special exits as normal exits

Okay, next roadblock in my quest... I haven't had chance to test this code yet so I'm more asking if I'm doing this the hard way or if there's a better way to achieve the same aim. The plan is to have special exits (e.g. "leap through window") to be activated by a standard numpad direction...