|
触发部分:^[>]*\s*【 气血 】\s+(\d+)\s+/\s+(\d+)\s+\[\s*(\d+)\%]\s+【 内力 】\s+(\d+)\s+./\s+(\d+)\s+.*$
发送部分:show(%1,%2,%4,%5) 发送到脚本解析器
function show(hp,hp_max,neili,neili_max)
SetStatus ("气血: ",GetVariable("hp")," /",GetVariable("hp_max")," 内力: ",GetVariable("neili")," /",GetVariable("neili_max"))
end
北大侠客行MUD,中国最好的MUD |
|