Search found 11 matches

by valvido
Thu May 23, 2013 5:56 pm
Forum: Help Forum
Topic: Repeating last command from trigger.
Replies: 8
Views: 1312

Re: Repeating last command from trigger.

That work!

Thank you!
by valvido
Thu May 23, 2013 5:30 pm
Forum: Help Forum
Topic: Repeating last command from trigger.
Replies: 8
Views: 1312

Re: Repeating last command from trigger.

That is correct. Here is the pictures of the Trigger and Debug screen. I don't understand the error I am getting in the Debug.

http://imgur.com/a/SV5Pw
by valvido
Thu May 23, 2013 2:53 pm
Forum: Help Forum
Topic: Repeating last command from trigger.
Replies: 8
Views: 1312

Re: Repeating last command from trigger.

I can't seem to get it working, can someone help fixed my code? Trigger type: Perlreg. Line: John tells the group, 'Entr (\w+).' [\code] Code: [code] entrance.name = matches[2] send("entrance "..entrance.name) [\code] Sample mud output: [code] John tells the group, 'Entr Lawson.' [\code] I should se...
by valvido
Mon May 20, 2013 11:09 pm
Forum: Help Forum
Topic: Repeating last command from trigger.
Replies: 8
Views: 1312

Repeating last command from trigger.

Hi,

Is it possible to repeat the last send command based on a trigger?

Scenario:

Trigger 1 caused SEND("stuff").

Trigger 2 caused a repeat of what Trigger 1 sent.
by valvido
Tue Apr 23, 2013 8:21 am
Forum: Help Forum
Topic: Creating Alias with Trigger condition.
Replies: 2
Views: 917

Creating Alias with Trigger condition.

Hi, Is it possible to make a Alias that has a IF nested Trigger within? I want to set up crafting Alias with 2 commands. If the first command fail (crafting did not succeed), then a IF trigger will invoke and repeat the first command. If it did not fail, then the second part of the Alias will fire. ...
by valvido
Mon Apr 22, 2013 7:11 am
Forum: Help Forum
Topic: Making a automated healing trigger.
Replies: 10
Views: 2334

Re: Making a automated healing trigger.

Thank you for the suggestion.

After digging through, I found the string.trim() command.

So what I did is capture the (.*) as a variable TEMP using string.trim(matches[2]). Then use the TEMP to match against the targetVariable.

It is now working.
by valvido
Mon Apr 22, 2013 6:11 am
Forum: Help Forum
Topic: Making a automated healing trigger.
Replies: 10
Views: 2334

Re: Making a automated healing trigger.

Thank you. I am having difficulty implementing this however due to the way display the NAME. Depending on its length, the NAME will have a trailing spaces at the end of it. Example: short.name 500hp long.long.name 500hp What happen is, when using '(.*)', it will count the trailing empty spaces at th...
by valvido
Mon Apr 22, 2013 2:57 am
Forum: Help Forum
Topic: Making a automated healing trigger.
Replies: 10
Views: 2334

Re: Making a automated healing trigger.

Thank you for the help. I have another problem. How do I set a variable within the trigger? Trigger is to observe a NAME doing a ACTION. When the NAME matches when doing the ACTION, the trigger fired. I want the NAME to be stored in variable so I can change it easily. In zMUD, this would be called @...
by valvido
Sat Apr 20, 2013 9:25 pm
Forum: Whatever
Topic: What MUD(s) do you play?
Replies: 26
Views: 7447

Re: What MUD(s) do you play?

I play LegendMUD. MudConnect Listing. LegendMUD on Wikipedia LegendMUD just celebrated its 19th birthday this year! The mud is based on mythology and history with 3 distinct timezone. History and myth based on what people would believe in their time. So if you go to Ancient timezone, you can visit G...
by valvido
Fri Apr 19, 2013 7:05 am
Forum: Help Forum
Topic: Making a automated healing trigger.
Replies: 10
Views: 2334

Re: Making a automated healing trigger.

Thank you for given me a foundation to work out. I'm having problem creating an Alias to disable this Trigger completely, what am I doing wrong? The Healing Trigger is named "Healing" I used an Alias "stophealing" with this code in the LUA textbox. disableTrigger(Healing) When I run this Alias, it w...