Thread: Binding
View Single Post
  #9  
Old 08-26-2002, 06:03 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Er1c
oh, I see what you mean... send is used to actually send a command to the mudlib, while the other ones do other things before sending any commands.... so I just separated them
In NPCs there's no way to know which commands are already built in, so it's better to just have a separate command for all of them: bind
Hmm. It'd seem better to establish some kind of uniformity. I just got online to check and it seems like the normal text commands don't include anything to equip items. This is all a little icky. A much nicer system would include the use command in the normal stuff so that I could just bind that instead of using a special bind-only command. Basically I'm saying that to equip an item we should be able to either:

1) type "/use bronze plate mail" in the chat box at the bottom of the screen.
2) Use "/bind 1 use bronze plate mail" and then press 1.

Both would call the same code. And to cast spells, we should be able to do:

1) "/cast burning hands"
2) "/bind 1 cast burning hands"

See the point I'm making? I know it's probably out of your hands, because Unixmad writes all the mudlib stuff? But this kind of standardised form would be greatly beneficial.
__________________
Reply With Quote