@r@player<start>room<start,You are at the start,north=end>room<end,You are at the end>/^look@/@r@/^go (\w+)@/@m $1@/@m (\w+)@((?:[^@]@)*player<)(\w+)(>)(?=(?:room<[^>]*>)*room<\3,[^,>]*,\1=(\w+))/@r@$2$5$4/@m \w+@/@$>You can't go that way./@r@(?=(?:[^@]@)*player<(\w+)>(?:room<[^>]*>)*room<\1,([^,>]+))/@$>$2/^(?!die@)[^@]+@/@$>I'm confused about what you want to do./^@/$<@