Author Topic: can i kill a command by name ?  (Read 2334 times)

megs

  • Guest
can i kill a command by name ?
« on: July 25, 2017, 03:29:01 AM »

can i do this sort of things ?:

if [VarLASTSPOKENCMD] is set and is <> '.' then
   KILLCMD {TXT:VarLASTSPOKENCMD}
end if

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4747
  • RTFM
Re: can i kill a command by name ?
« Reply #1 on: July 25, 2017, 03:59:50 AM »
Not at present, no. The "Stop Another Command" action does not support variable/by name input.

If your command is running in a loop(using actions, not the "This command repeats" option), you can have that loop check a variable each time it comes around, then change the value of that variable with another command so the loop will stop.

megs

  • Guest
Re: can i kill a command by name ?
« Reply #2 on: July 25, 2017, 04:03:13 AM »
yep, but not possible during long keypress commands.