Posted by
| Nick Gammon
Australia (22,975 posts) bio
Forum Administrator |
Message
| Ah yes, I thought someone would comment on that. :)
That's not a bug, that's a feature!
Let me explain - while I was testing the chat plugin, I was typing "#chats" and seeing a list of chats on the screen, but the "#chats" command was nowhere to be seen. Aha, I thought, a bug introduced recently in 3.35 probably, I was expecting something like that.
I checked the settings, the "echo commands" was set, and the "omit from output" for the "#chats" alias was not set, so it was reasonable to see the alias, I thought, because otherwise you might not know you had typed anything, or if you had typed something, what it was.
Then I thought "alias - omit from output" option - omit *what* from output? The alias itself? Or its results? In your example, Shadowfyr, should "omit from output" omit "summ" or "summon animal"?
So I clicked the Help button for the alias, and read my own help file - it said Omit From Output omitted the alias "send text", so I changed the code to do exactly that.
The short answer, then, is that it is doing what it is documented to do. However I recognise that there are probably people relying on the old behaviour.
If it is a problem, and I gather it is, we probably need a second option "omit alias itself from output". Then you can set whichever ones you want. Do you agree? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|