Hi everyone, for quite some time i have been trying to figure out how to do a few things on HTML5, i have read the how to, in the help section of the client settings. though everything i try does not seem to work. now don't get me wrong. i have quite a few reflexes set up and working properly but for some reason i can not seem to get this right. Most of the time when i ask for help i have someone ask me back if i use mudlet. I do have mudlet but i do not like to use it. it is not set up as nicely as HTML5. When hunting with family and friends, in which i am never leading, I can not seem to get the reflex to auto target what they call out in the party channel. is there any way someone could explain step by step how to do this. when it comes to coding I am as dumb as it gets so please try and explain it like you were talking to a person who has never done anything like it before. the use of computer slang confuses me.
0
Comments
Box 0 : perl regex : \(Party\): (\w+) says, "Changed target to (\w+)."
code box : send("st " ..matches[3])
Artemis says, "You are so high maintenance, Tharvis, gosh."
Tecton says, "It's still your fault, Tharvis."
I'm not all too familiar with the HTML5 scripting, so I'll namedrop @Orzaansyn
Artemis says, "You are so high maintenance, Tharvis, gosh."
Tecton says, "It's still your fault, Tharvis."
For exemple, if I want to yell "dabedi dabeda" when someone says "I'm blue.":
Trigger text: I'm blue
Action: YELL dabedi dabeda
This is the basic, as you noticed, there are many options.
You need to select "Regular expression" as matching type when you want to use a regex as trigger text.
The array of matches is not matches[] but args[], and the index starts at 0, not at 1.
So, what you need to do (based on @Tharvis upward post):