Hi Chaotic Bob,
Nice to see you roaming around in cow again. Things seem quite fast on my new server dont you think?
Now down to business.. everything you ever wanted to know about commands:
A command is just a coded object with a name create a command called giggle
or create an action called giggle or even create a rock called giggle
The location of the command object has significance:
1) if you try to 'giggle' and there is an object inside you called 'giggle' it will run
2) if not one inside you then in your current location
3) if not in your current location then somewhere in the big wide world - any where in cow
This is how you can override commands - maybe you dont want anyone getting anything in your house so you make a fish called get, code it to do something un-get-like then hide it.
So now you have a named object you can code it thusly:
The first line of the code should be something like:
get $target in $loc
This means 'based on what the user typed, work out which object they are talking about in the current location'
The manual has more info on how to use the 'get' command to work out objects or text the user is typing.
Then you carry on coding as normal, asking logical questions and running blocks of code keeping this in mind:
1) the player who initiated the command is called the $actor
2) the command will often be used to display some text (using the SAY or MSG) commands and they can generate their own special 'trigger word'
as in say 'giggles',"[$actor] rolls on the floor giggling";
Now you can code new obejcts to react to this new key word 'giggles' - and on an on it goes.. well to a max of 50 itterations.
A quick way to get into creating new commands it to code the command called push and copy how that works
PS please leave this message in the library so others can learn how to create commands, thanks.