Hey, I want to write a simple trigger that will announce mindnet only if they are enemies, including the area location. This is what I have so far, which could very well be incorrect:
^(\w+) has left the area\.$
if target_calling == true and ndb.isenemy(matches[2]) then
send("pt " .. matches[2] .. " left " ..something goes here, I know it)
end
Any help would be appreciated.
Give us -real- shop logs! Not another misinterpretation of features we ask for, turned into something that either doesn't help at all, or doesn't remotely resemble what we wanted to begin with.
Thanks!
Current position of some of the playerbase, instead of expressing a desire to fix problems:
Vhaynna: "Honest question - if you don't like Achaea or the current admin, why do you even bother playing?"
Comments
should work, I think.
I'm trying to write a script that would allow me to use a specific alias to check 'who here' and enemy all on that list IF I use that particular alias. I don't want to enemy everyone on who here if I'm not using that alias. Can anyone help, please?
Edit: on mobile, so I can't guarantee its still there. Guessing. .
send("setalias tkc combo "..target.." "..kicks[matches[2]].." "..punch[matches[3]].." "..punch[matches[4]].."/"..mindcmd[matches[5]])
send("queue add eqbal tkc")
I'd like to add stancing to the end of this alias, but only if unstanced. I already have my variable created and all the relevant trigger lines to change the variable. I'm just not sure how to add the if statement to this.
I thought about doing this:
if unstanced == true then
send("queue add eqbal scs")
end
But, monks can stance while off balance, I think. So, I'd be wasting more balance stancing when I don't need to. Any suggestions?
local stance = "/scs"
else
local stance = ""
end
send("setalias tkc combo "..target.." "..kicks[matches[2]].." "..punch[matches[3]].." "..punch[matches[4]].."/"..mindcmd[matches[5]]..""..stance)
Edit: mobile so it's ugly, but that's one way to do it. Another would be to simply call a function that returns the stance instead of a variable
1)
2)
The second is more concise, but the first might make the logic easier to understand.