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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  Commands aren't saved after Send

Commands aren't saved after Send

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


Posted by BrainFRZ   USA  (12 posts)  [Biography] bio
Date Sat 20 Mar 2021 02:05 AM (UTC)

Amended on Sat 20 Mar 2021 02:31 AM (UTC) by BrainFRZ

Message
I used Send in a script, and it seems to break being able to go back up through previous commands with the Up arrow. It also seems to turn off echoing of any commands. It doesn't affect any of the other game worlds, and the problem also seems to be intermittent. However, closing the game world doesn't necessarily fix it.


<aliases>
  <alias
   match="research *"
   enabled="y"
   send_to="12"
   sequence="100"
  >
  <send>SetVariable("Researching", "%1")
Send("research %1")
</send>
  </alias>
</aliases>

<triggers>
  <trigger
   enabled="y"
   match="^(You study for hours on end\, but fail to gather any knowledge\.|You finish your studies and feel much more skilled\.)$"
   regexp="y"
   send_to="12"
   sequence="100"
  >
  <send>Send("research ", GetVariable("Researching"))</send>
  </trigger>
</triggers>
[Go to top] top

Posted by Nick Gammon   Australia  (22,966 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Sat 20 Mar 2021 02:11 AM (UTC)
Message
Template:function=SendPush SendPush

The documentation for the SendPush script function is available online. It is also in the MUSHclient help file.


- Nick Gammon

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

Posted by BrainFRZ   USA  (12 posts)  [Biography] bio
Date Reply #2 on Sat 20 Mar 2021 02:33 AM (UTC)
Message
Thank you for sending me this. It is helpful to know about. However, it doesn't have any affect on the issue that I can tell. I'm still having issues where commands aren't echoing, and they're not getting saved to the buffer. I'm sorry if I wasn't clear before, but I meant all commands, not just commands that were sent with Send.
[Go to top] top

Posted by Nick Gammon   Australia  (22,966 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Sat 20 Mar 2021 04:44 AM (UTC)
Message

it seems to break being able to go back up through previous commands with the Up arrow

Using Send rather than SendPush would have this affect.


There is a possibility that you have received a “echo off” message from the MUD (these are typically sent when you are asked for a password). This would stop commands being echoed and saved in the buffer.

Under the Display menu, see if “No Command Echo” is ticked.

Also, which version of MUSHclient do you have?


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[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.


9,881 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 HostDash]