
ES2 mudlib - FF extension v0.6c 函式說明書

程式: /adm/daemons/emoted.c

	這個 daemon 處理表情動作的敘述. 表情動作定義在 emote 變數中.
	處理 emote 變數的指令是 /cmds/wiz/edemote.c

	(Ken of XAJH2 補充)
	try download ftp chinesemud.net 4100
	imud-emote.zip
	it's support emote on intermud 2.0

varargs mixed do_emote( object me, string verb, string arg, 
	int channel_emote )

	verb 是 所要做的動作動詞. 根據 emote 變數的定義內容 (參考 
	/cmds/wiz/edemote 指令), 處理 arg 可能包含的對象, 呼叫外部函式 
	message() 顯示自己、動作對象、他人看到的敘述. 如果 
	channel_emote 不為零, 則傳回頻道動作字串.
	只有 /adm/daemons/channeld.c 的 do_channel() 才會使用 
	channel_emote 呼叫此函式.
	平時使用表情動作時, 是 /feature/command.c 的 command_hook()
	找不到可用的指令時, 呼叫此函式看看指令是否為動作表情.

int set_emote( string pattern, mapping def )

	增加 emote 變數的內容, pattern 是動作名稱, def 是各種動作敘述
	的定義. 本函式及以下兩個函式最好由 /cmds/wiz/edemote.c 呼叫.

int delete_emote( string pattern )

	從 emote 變數中刪除動作名稱 pattern 的內容.

mapping query_emote( string pattern )

	列出動作名稱 pattern 定義的敘述內容.

string *query_all_emote()

	列出所有的 emote 變數內容. 由 /cmds/usr/semote.c 呼叫.

Spock of The Final Frontier	98.Sep.20.
