Ok..I've been wondering a while about this and nobody I know can seem to answer it.
is it possible to create a new verb at runtime by inhereting from an old verb?
I'm going to use the reason I need it to better explain why I need it.
I have a channel system that starts with 4 channels.. IC, OOC, Helper, and Newbie.
I have an admin command that lets new channels get addded, by name, at any time at runtime.
I have a command that simply and cleanly lets players add or remove any given channel from the list of those they're listneing to...
Now.. Here's where it's not so pretty. I have a verb called channelsay that takes a channel and a text as a parameter... It talks to just that channel when you do it... For the 4 pre-generated, I created verbs IC, OOC, Helperchat, Newbiechat, as aliases for channelsay (channame) so that the player need only type the alias then the text..
What i'd like, if possible, is for admin-added channels to have that functionality. I could easily embed a verb inside an object, and toss around instances of the object, but is there any way to define a new verb by name?
For this example..say an admin in my game wants to create an Adminchat channel...easy part is to create the channel..but then, the only way to use it, is
"channelsay Adminchat text"
Not pretty, if it can be avoided!
I'd much prefer the create-channel verb to create a new communication verb called Adminchat