Search found 14 matches

by jwrobbs
Mon Oct 02, 2017 3:37 pm
Forum: Help Forum
Topic: Can you make and use an array of variable names?
Replies: 5
Views: 1377

Can you make and use an array of variable names?

I have a bunch of variables. I'm trying to figure out a simple and clean way to do something simple to them like subtract 1 from them all. Can I make an array of the variable names and use that in a function? Is there a better way to manage this? A table? The end goal is to update the variables trac...
by jwrobbs
Thu Sep 28, 2017 2:16 am
Forum: Help Forum
Topic: Pattern matching a variable
Replies: 8
Views: 2053

Re: Pattern matching a variable

a Lua function type trigger (which calls the function for each line coming from the game): Bingo! While I'm sure all of this is very helpful (I need to dig through it a bit), the fact that the function checks every line is the key bit I was missing. Thanks a million. Looks like I'll need to spend s...
by jwrobbs
Sat Sep 23, 2017 12:10 pm
Forum: Help Forum
Topic: Pattern matching a variable
Replies: 8
Views: 2053

Re: Pattern matching a variable

I saw that and don't understand it.

How do you highlight Mud output with an alias? Triggers respond to Mud output. Aliases respond to user input. Right?

What is "id"? Is that a built in function? I tried using a function, but I still needed a way to trigger it.

Thanks for the help,

Josh
by jwrobbs
Sat Sep 23, 2017 2:03 am
Forum: Help Forum
Topic: Pattern matching a variable
Replies: 8
Views: 2053

Pattern matching a variable

Thanks in advance for the help. I'm guessing this is obvious and simple to you experienced folks. And I'm searching for the wrong terms. I have a variable full of strings. I want to make them red. Simple text highlight triggers are no problem. Regex is a work in progress. But I can't figure out wher...