peter: room { nam = "p1", title = "Первая комната", dsc = "Ты в большой комнате. Отсюда есть проход на север.", ['before_Walk,Enter'] = function(s, w) if w^'dver' and _'nps'.pos==1 then _'nps':next_place() end return false -- не прерывать цепочку end; }
Ссылка:
http://instead-games.ru/forum/index.php?p=/discussion/comment/14113/#Comment_14113