Armageddon General Discussion Board

General => Code Discussion => Topic started by: RogueWarrior on February 07, 2006, 09:31:10 PM

Title: Alias?
Post by: RogueWarrior on February 07, 2006, 09:31:10 PM
Alright, so how do I make an alias that will send two commands at once?
Title: Alias?
Post by: Olgaris on February 07, 2006, 09:33:08 PM
With your mud client.
Title: Alias?
Post by: Moofassa on February 07, 2006, 10:41:02 PM
alias moo put coins pack; close pack

Which would work as....

>moo
You put bla bla coins pack.

Ok.
Title: Re: Alias?
Post by: Yokunama on February 08, 2006, 11:33:44 AM
Quote from: "RogueWarrior"Alright, so how do I make an alias that will send two commands at once?

Try googling your web client. There are usually helpful links that show you how to manipulate the client's code to your will.
Title: Alias?
Post by: RogueWarrior on February 08, 2006, 04:29:14 PM
Quote from: "Moofassa"um... YOu mean like...


alias moo put coins pack; close pack

Which would work as....

>moo
You put bla bla coins pack.

Ok.

That's exactly what I'm talking about. Thanks.
Title: Alias?
Post by: Agent_137 on February 08, 2006, 06:09:37 PM
depends on your client.

get one, or post which client you have here if you can't find the solution in the client's helpfiles. then we can help.
Title: Alias?
Post by: RogueWarrior on February 08, 2006, 06:41:10 PM
Well, I was just wondering if there was a way I could make one using the 'alias' command. I can do one on my client, no problem, but it's a bit tweaky, so I was just going to stick with the command if possible.
Title: Alias?
Post by: Yokunama on February 08, 2006, 07:11:03 PM
Quote from: "RogueWarrior"Well, I was just wondering if there was a way I could make one using the 'alias' command. I can do one on my client, no problem, but it's a bit tweaky, so I was just going to stick with the command if possible.

There are some MUD that allow alias support, thus players are able to create aliases without using a client. The aliases would follow them from workstation to workstation, because the commands are saved to your account instead of the workstation your client is on. :wink:
Title: Alias?
Post by: Marauder Moe on February 08, 2006, 07:23:13 PM
Quote from: "Moofassa"alias moo put coins pack; close pack

Which would work as....

>moo
You put bla bla coins pack.

Ok.

Does this actually work?  I don't think it does.  Maybe I'm doing it wrong, though.


QuoteThere are some MUD that allow alias support, thus players are able to create aliases without using a client.

Like this one? http://www.armageddon.org/cgi-bin/help_index/show_help?alias

As far as I know, though, you can't map a chain of multiple commands to a single alias without some client triggers.
Title: Alias?
Post by: Angela Christine on February 08, 2006, 08:28:27 PM
Also, I think it is important to consider whether you should create a particular multi-command alias.  Client tricks shouldn't give you an advantage over other PCs, including the pickpockets.

When I've had characters that had to change their clothes on a regular basis, I did make a macro with Gmud to take off or put on an entire outfit (for example, I might have one outfit of clothes and one of armor, or one of nice clothes and one of rinth clothes, or one of formal armor and one for sparring armor, etc.)  I had to tweak it a bit to make sure I wouldn't strip in a tavern if my cat walked accross the keyboard.   :wink:  But the thing was that it wouldn't effect another PC.  If they were hiding out in my room and wanted to steal my pants, my quick change might effect which pair of pants I was wearing and which were in my dresser, but there would still be some pants available for stealing.  It was very unlikely that my dressing would ever have a negative effect on another PC, my PC was changing clothes slightly more quickly than would be realistic, but the alternative of changing clothes manually would take much longer than would be realistic, and was a pain in the ass.  It also reduced the dressing spam to one or two long but instant spurts, rather than an agonizingly drawn out process.  Probably very useful for mudsexers, not that I'd know anything about that.  One of them might look something like this:

All that is going to be spammy no matter how I do it, but at least as a macro it was quick spam.  The order of undressing and putting everything away as I took it off was part of my accidental-strip insurance.  If I wasn't in a room with a dresser then inventory would become full after the first few items, before my PC became embarassingly undressed.  There are places where it would be odd to take off my gloves, cloak, veil, and hat, but it wouldn't make a major OOC-based incident.



In my opinion, a bad multi-alias would be a person who spends a great deal of time in taverns setting up theif-proof ale buying alias:


Or even a pair of aliases for the hyper-vigilent shopper:

and

These seem bad to me because although the intent may simply be to save time, it looks like the intent is to foil PC thieves and that would be unfair.  The pickpockets have it hard enough.  I guess my point is that if you are going to use multi-command aliases, make sure that they don't give your PC an unfair edge over PCs who are not using aliases.


Angela Christine