MOO-cows Mailing List Archive
Re: Server Code
firstname.lastname@example.org drew these hieroglyphs:
> I'm calling verbs from server calls, similar to how :enterfunc gets
> called everytime a player enters a room.
> The functions is called 'call_verb', and it returns a error type. But I
> would like to know what the return of the verb that was called is after
> it finishes executing so that the code in the server can react to it.
> Anybody got any ideas?
If it's being called from the top level (i.e. not from a builtin) then
you can look at the examples of #0:do_command (grep for 'do_command'
in the MOO source).
Otherwise, look at the examples for bf_move(). It's not at all an
easy task, and not too well documented how to do.
Subject Index |