Alias command variable

Zanthis
Posts: 23
Joined: Mon Dec 09, 2013 8:35 pm

Re: Alias command variable

Post by Zanthis »

Which would be why I'm suggesting things that would drastically reduce the amount of work I need to do without requiring much effort, and without greatly (or likely at all) impact other users.

Thank you Jor'Mox for your suggestions. While I'm afraid I disagree with your assessment of what my project needs, that doesn't diminish my appreciation of your insight.

Jor'Mox
Posts: 1154
Joined: Wed Apr 03, 2013 2:19 am

Re: Alias command variable

Post by Jor'Mox »

I just realized, there is a further complication. Not all aliases result in commands being sent to the MUD, which means when you split up a joint command and send the pieces through expandAlias(), you may not see any commands being sent as a result of some items, while others may send more than one, since obviously an alias can send more than one command at a time. Consequently, you may have to "catch" all commands sent during a given time interval after you split something up, rather than trying to keep track in some sort of logical fashion. Depending on how long you wait, you may end up including additional commands sent by a user, which I would think you would normally want to avoid.

Post Reply