[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Execute("alias") does not trigger alias in Plugin mode..
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

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

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Glorimus   (7 posts)  [Biography] bio
Date Fri 14 Oct 2016 03:07 PM (UTC)
Message

<?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?
[Go to top] top

Posted by Glorimus   (7 posts)  [Biography] bio
Date Reply #1 on Fri 14 Oct 2016 06:17 PM (UTC)
Message
nvmd figured this out.
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Fri 14 Oct 2016 10:09 PM (UTC)
Message
What was the problem?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Glorimus   (7 posts)  [Biography] bio
Date Reply #3 on Sun 16 Oct 2016 08:49 AM (UTC)
Message
I didn't enable command_stack and set the command_stack_parameter correctly.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


1,632 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]