Search found 3 matches

by Config
Wed Jul 13, 2016 3:43 am
Forum: Help Forum
Topic: Multiple variable input alias
Replies: 3
Views: 4591

Re: Multiple variable input alias

Actually I've discovered that the above solution didn't work. This one does:
pattern:
^wave1 *(\w*) .*?(.*)

script:
send( "pose wave to "..matches[2].." and says, \""..matches[3].."\" " )
by Config
Wed Jul 13, 2016 2:19 am
Forum: Help Forum
Topic: Multiple variable input alias
Replies: 3
Views: 4591

Re: Multiple variable input alias

I solved the problem, first you need the right pattern:
^waveme (.*) (.*)$

Then you need the right script:
send("pose wave to " .. matches[2] .. " with a devilish grin and say \"" .. matches[3] .. "\"")

Then I just type: waveme name message


I love this client. Do you think you will ever get it ...
by Config
Tue Jul 12, 2016 7:25 pm
Forum: Help Forum
Topic: Multiple variable input alias
Replies: 3
Views: 4591

Multiple variable input alias

I am on a MOO, and want to program expressions for my character to make. This works with pose. For example I can type "pose wave name says, "Hello" ". The MOO will turn it into: "You wave at name and say, "Hi". That's pretty cool but it is a lot to type. I'm trying to automate the feature. So ...