For example, I'm using ; as separator and will send a batch of commands from lua.
I used:
Code: Select all
lua send("north;north;north")
It would be better to avoid separators being parsed within a pair of "
Code: Select all
lua send("north;north;north")
Code: Select all
if string.match(line, "north") then
send("north;look;south")
else
send("south;look;north")
end