# Server Code

Chuck Adams (cadams@weather.brockport.edu)
Sat, 1 Jun 1996 09:41:18 PDT

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    bartmoss@mistral.co.uk 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.