Problem with command stacking and input colorization

Posted by Fwongo on Mon 18 Jun 2001 05:10 PM — 4 posts, 19,001 views.

#0
If I stack commands by hitting ctrl-enter between lines(this is called "scripting" in some circles, but is not scripting in the MUSHclient sense <g>) only the first line of the echo of it is colorized in my echo color when I send the message. The rest appear in my normal output color. Try opening up a MUSH and typing:

First line[ctrl][enter]
Second line[enter]

With echo on, and you'll see what I mean.
Amended on Mon 18 Jun 2001 05:11 PM by Fwongo
Australia Forum Administrator #1
Sounds like a bug. I'll fix it. :)
USA #2
Ya know, I get something similar to that, when I press ctrl+enter, and have a normal command mixed with a scripted alias, it processes the scripted alias before all the normal commands and sends it first (which can be annoying)
Australia Forum Administrator #3
Quote:

If I stack commands by hitting ctrl-enter between lines(this is called "scripting" in some circles, but is not scripting in the MUSHclient sense <g>) only the first line of the echo of it is colorized in my echo color when I send the message.


This bug is fixed in 3.11. A similar problem will occur with a trigger that sends more than one line.

Quote:

... it processes the scripted alias before all the normal commands and sends it first


Scripts are called while the line is being parsed for aliases, but before it is sent, so this behaviour will occur.