Ok, when I first downloaded the Smaug code, if you were on the mud and you pressed the 'L' key and then enter, you'd look around the room. Now, when I hit that button, it gives me a list of the languages. Does anyone know where in the code it sets this so by hitting the 'L' key, it'll go back to showing the "Look" command?
-Alexander
What SMAUG does is if you type in something that isn't a command, it searches for the closest command that continues from those letters, so if you type 'l' it was originally coming up with the 'look' command, but now instead it is coming up with whatever command it is, probably 'languages'. The best way to fix it is in commands.dat add:
#COMMAND
Name l~
Code do_look
Position 0
Level 0
Log 0
End
right before the command whose name is languages. You might want to also add entries for the exits w,e,n,s,nw,ne,sw,se. You can also set it so complete command names are needed for it to work and it won't search for a similar command, but this is a nusance to players since they will have to spell everything out, so if you do this you would probably want to add an alias command.
-Mark Calloway
Another good option to use for command ordering is cedit.
For example...
Typing 'cedit look list' will show you where in the scheme of things, look is compared to the other commands that begin with l.
Type 'cedit' for command editing options.
Hope this makes sense.
I had the exact same problem and I came to the conclusion that it was caused by the use of Nick's 'Area Editor' to edit the commands.
Now please correct me if I'm wrong, but I think that when you save the commands file it puts them all in alphabetical order, when the original file was not. It was ordered by command priority. You see, what happens when you type the command 'L', because it doesn't exist it will down the list and assume the first command it finds that starts with L. Originally this was "Look" but because of the new alphabetical order, it is now "Languages".
If I am right about this, Nick, you might want to rethink your commands.dat file saving for Area Editor (Just a suggestion), because I for one was quite annoyed when I discovered this because now I've had to and manually reorder them all back the way they were.
I see what you mean. I have added that as bug/suggestion #471.