地圖器:Automapper commands
23-01 CONFIGURE
中文:允許你在自動地圖器中使用自定的配置。
原文:Allows you to specify the configuration file being used
by the Automapper
格式:#CONFIG filename
範例:#CONFIG brief
在地圖器中載入檔案:brief.zfg。
23-02 NODIR
中文:移除存入地圖器隊列中最後一步。通常用在走失敗的方向。
原文:remove last direction from mapper queue
格式:#NODIR
範例:#TRIGGER {^You can't go that direction} {#NODIR}
#TRIGGER {(%w) is closed} {#DOOR %lastdir() %1;#NODIR}
這是兩個例子,大意是當你收到失敗訊息時,就下#nodir指令。
在聖殿中,就像你收到:
你還在戰鬥中,不會是想逃跑~(flee~)吧
這句時,代表你走的方向沒成功,所以用#nodir刪掉存入的這
步方向。
23-03 NOMAP
中文:避免匹配的行干擾地圖分析。
原文:prevent the matched line from being parsed by the mapper
格式:#NOMAP
範例:#TRIGGER {gossips} {#NOMAP}
#NOMAP {gossips}
當某行有gossips這關鍵詞,又會觸發到不該觸發的地圖器時,
#NOMAP可以為你屏蔽這行。
23-04 QUEUE
中文:插入到隊列中,並重新計算。
原文:insert path into queue and recompute queue
格式:#QUEUE {path}
範例:#TELEPORT100 noclear
#QUEUE
23-05 OK
中文:沿定義的路徑移動時放慢腳步
原文:confirm a mapper movement
格式:#OK
範例:#TRIGGER {^Exits} {#OK}
#TRIGGER {^It is pitch black} {#OK}
基本上,就是重走前一步。
23-06 DOOR
中文:在地圖中建立一道門。
原文:Creates a door on the map in the direction indicated.
格式:#DOOR direction [name]
範例:#DOOR n gate
creates a door to the north named "gate"
23-07 MAKEROOM
中文:在地圖中建立一個新房間。
原文:Create a new room on the map
格式:#MAKE direction [name] [description]
範例:#MAKE n {Temple} {You are in the temple}
在北方建立一個房間,名為"TEMPLE"。
#MAKE "enter|e|exit" {Closet} {You are in a dark closet}
在目前所在房間之東建立一個新房間,進入指令為"enter",離開指
令為"exit"。
23-08 MERGE
中文:合併房間?
原文:merge rooms on the map together
格式:#MER
範例:
23-09 MOVE
中文:在自動地圖器中往一個方向移動。
原文:move a direction on the automapper
格式:#MO direction
範例:#MOVE north
往北走。
23-10 TELEPORT
中文:使用地圖傳送到目的地。
原文:teleport to a location on the map
格式:#TE [vNum] [zone]
範例:#TE temple Midgaard
Sends you to the room marked as the temple
in the Midgaard zone
#TE 0 "New Thalos"
Sends you to room zero in the zone of "New Thalos"
23-11 LOOK
中文:重新寫入地圖的房間描述。
原文:reload description of current room on map
格式:#LOOK
範例:
23-12 FIND
中文:找出當前在地圖上的定位。
原文:find current location on map
格式:#FIND
範例:#FIND
無其它數值時,默認使用在地圖器上;有數值時,就會用在資料
庫上。
23-13 MAPQUERY
中文:尋找符合條件的房間。
原文:display the Find Room results based upon a query
格式:#MAPQUERY where-clause
範例:#MAPQUERY {[Name] LIKE '%street%'}
尋找所有Name欄中,擁有"street"相關字眼的房間。
欄位名要上[],關鍵字要用''包覆兩側,因為要依SQL語法。
23-14 RECALL
中文:使用地圖返回teleport的起點。
原文:teleport to recall location on the map
格式:#RECALL
範例:#RECALL
23-15 WALK
中文:快速到達地圖上指定的標記處。
原文:speedwalk to a marked location on the map
格式:#WAL vNum [zoneName]
範例:#WALK temple
23-16 LMAP
中文:以地圖上的房間繞迴圈。
原文:loop through rooms on the map
格式:#LM "path" {command}
範例:#LMAP "3sn" {#SHOW %roomname(%i)}
未用過。字義應是走了路徑3sn後,秀出當前房間名稱,
也就是走一格就做執行設定的命令。不過,這是快走,
所以會阻止移動的事件無法用在這裡。
23-17 TAG
中文:運作自動地圖器的寫入設定。可用參數有:
name 房間名稱。
desc 房間描述。
exit 房間出口訊息。
vnum 虛擬房間編號。
flags 標記房間設置。
prompt MUD的提示。
descpara 整段房間描述。
exitpara 整段的出口訊息。
原文:Allows you to override the normal operation
of the automapper.
格式:#TAG line-kind [parameters]
範例:#TAG Name
將當行標記為房間名。
#TRIG {~[(*)~]} {#TAG name %1}
建立一個觸發:將符合條件的當行,其中的關鍵字標記為房間名。
#TRIG {^~>} {#TAG prompt}
#TRIG {(*) ~[(*)~] ~#(%d)} {#TAG name,exit,vnum {%1} {%2} {%3}}
建立一個觸發:將符合條件的當行,其中有三個關鍵字,分別
標記為房間名、出口與編號。
#TRIG {^#(%d)} {#VAR RoomName %concat("Room ",%1)
#TAG name {@RoomName}}
23-18 DESCRIBE
中文:顯示房間的名稱、描述與出口。
原文:displays the room name, description, and exits
格式:#DES [vNum] [zone]
範例:#DESCRIBE 10
顯示編號為10的房間資訊。
23-19 PATHHIGH
中文:將一個路徑高亮顯示在地圖上。
原文:will highlight a path on the map
格式:#PATHHIGH path [roomid]
範例:#PATHHIGH 3ne
在地圖上高調顯示"3ne"這個路線。
23-20 PORTAL
中文:在地圖上增加一個新入口?
原文:add a new portal to the mapper
格式:#POR PortalName {RoomID}
範例:#PORTAL "cast recall"
在目前房間設定一個入口指令"cast recall" 。
23-21 UNPORTAL
中文:從地圖上移除指定的入口?
原文:Deleted the specified portal from the mapper.
格式:#UNP portalname
範例:#UNP "cast recall"
移除入口指令"cast recall"。