Commands aren't saved after Send

Posted by BrainFRZ on Sat 20 Mar 2021 02:05 AM — 4 posts, 18,652 views.

USA #0
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>
Amended on Sat 20 Mar 2021 02:31 AM by BrainFRZ
Australia Forum Administrator #1
Template:function=SendPush
SendPush

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

USA #2
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.
Australia Forum Administrator #3

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?