 |
Badmonster Wanderer
Joined: 06 Feb 2010 Posts: 81
|
Posted: Thu Feb 25, 2010 6:15 pm
I keep rolling an epic fail on aliases |
I type slow. Sometimes by the time I'm done typing kill monster it's too late to kill the monster. That's what aliases are for, right?
So, I alias things like kim
and the alias is there in my aliases. Looks great.
Then the monster comes and I type kim and the mud says things like Eh? Huh? Maybe you want to type that another way? Excuse me? Loser!
So, any thoughts on what's going wrong? Is there any more information I can give you to help you help me? |
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu Feb 25, 2010 6:24 pm |
The computer icon by the command line has a red X through it. This prevents aliases from being processed.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
 |
Badmonster Wanderer
Joined: 06 Feb 2010 Posts: 81
|
Posted: Thu Feb 25, 2010 6:25 pm |
No, there's no line.
|
|
|
 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Thu Feb 25, 2010 6:32 pm |
It's rather hard to say what is going wrong without a whole lot more information. Aliases work just fine in Cmud. Some things you could check:
Did you spell the alias correctly?
Is the alias enabled? Is the class that the alias is within enabled (along with all the classes that class is within, etc.)?
Are your triggers turned on? (on the lower right hand side of Cmud should be a picture of a gun; if an X is through the gun, all your triggers are turned off)
Does your alias compile correctly? (In the package editor, highlight the alias. Click Editor|Check Syntax. At the bottom of the window showing the alias script you should get a message of 'No errors' or a warning about bug in your code)
Is your alias coded correctly? Perhaps the alias is working, but is sending a command to the mud which is incorrect, giving you the Huh? message.
If you check these things and still can't figure out the problem, cut and paste your alias here in the forum. Enclose it within [code] ... [/code] elements to maintain formatting. |
|
|
 |
Badmonster Wanderer
Joined: 06 Feb 2010 Posts: 81
|
Posted: Thu Feb 25, 2010 8:51 pm |
Thanks in advance for the help. I tried the above steps without much luck
Code: |
<alias name="kim">
<value>kill monster</value> |
|
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu Feb 25, 2010 9:39 pm |
There are two checkboxes in the More Info section of the Edit Alias window in the Package Editor. You may need to play around with those checkboxes. The only other explanation is that your mud either doesn't use the KILL command (or for some reason it's not available to your character) or there's no mob with the keyword of MONSTER.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
 |
Badmonster Wanderer
Joined: 06 Feb 2010 Posts: 81
|
Posted: Thu Feb 25, 2010 10:46 pm |
Thanks I'll try that.
|
|
|
 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Fri Feb 26, 2010 1:50 pm |
There is one other possibility. Make sure you don't have any other aliases or oninput triggers for 'kim' or 'kill'. Other than that, I don't know. One way to check whether the alias is actually working is to add a #SAY command in the value of the alias.
|
|
|
 |
Badmonster Wanderer
Joined: 06 Feb 2010 Posts: 81
|
Posted: Fri Feb 26, 2010 10:46 pm |
I reinstalled and everything worked perfectly. Like magic. Maybe I had somehow messed with something without knowing. Thanks for all the help everyone. The aliases are now a go.
|
|
|
 |
|
|