ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示
/doc/lfuns/do_chat
do_chat(5) ES2 Mudlib Functions do_chat(5)
NNAAMMEE
do_chat() - set the message to say or function to evaluate
in next heart_beat of a NPC.
SSYYNNOOPPSSIISS
void do_chat( string s | function f );
DDEESSCCRRIIPPTTIIOONN
This function allows you to specify a message s for a NPC
to 'say' it in next heart_beat. Instead of a string, you
can also specify a function for the NPC to be evaluated in
next heart_beat.
Note that if you called do_chat() more that once during
the period of heart_beat calls, only the last one have an
effect.
AAPPPPLLIIEEDD
F_SUPPORT
ES2 11 Apr 1996 1