Execute("alias") does not trigger alias in Plugin mode..

Posted by Glorimus on Fri 14 Oct 2016 03:07 PM — 4 posts, 16,635 views.

#0

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<muclient>
    <plugin
    name="test"
    author="glorimus"
    id="874a4e51bae1c913dc396090"
    language="Lua"
    purpose="test"
    requires="4.52"
    version="2.4"
    save_state="y"
    >
<description trim="y">
USAGE:
    Test
      
</description>
  
</plugin>
<aliases>
 <alias
   match="^test$"
   enabled="y"
   regexp="y"
   send_to="12"
   sequence="100"
  >
  <send>
Note("HI")</send>
</alias>
<alias
   match="^test2$"
   enabled="y"
   regexp="y"
   send_to="12"
   sequence="100"
  >
  <send>Execute("test;")</send>
</alias>
</aliases>
<script>
<![CDATA[
]]>
</script>
</muclient>



When i type test2, I see "test;" as input but it doesn't trigger

however when i change this to Execute("test"), it does.

Somehow the ";" is being interpreted in the alias? is there a way to have mushclient treat ";" as a separator?
#1
nvmd figured this out.
Australia Forum Administrator #2
What was the problem?
#3
I didn't enable command_stack and set the command_stack_parameter correctly.