if matches[2] >= "12" then
send("psi id heartburst " .. target)
else
send("psi id throatlock " .. target)
end
If the target as 1 vessel, it'll throatlock. If it has 2 or more, it'll heartburst. Now, I'm no mathematician, but I don't think 2 is >= 12.
Celina said:You can't really same the same, can you?
Zvoltz said:"The Panthron"
Answers
Try:
if tonumber(matches[2]) >= 12 then
send("psi id heartburst " .. target)
else
send("psi id throatlock " .. target)
end
Er, ninja'd.