5eu3ed3nw 
kill guard with key,unlock/open door 
w2nw2n3e 
open door 
2s 
read note kill dwarf with castle key 
2n3w2se2sw
open trapdoor
d
kill wraith and get key 
u4e2ne2n
unlock/open door
3n
unlock/open door
e3ue
open door
n
get key
sw3dw5sw2s
unlock/open door
ed2e
unlock/open door
ne2nws 
there are two exits w and n,d is a DT,w is the mazekeeper
this is a magic room so you can dispel, blind and guinness
Set wimpy high and you can flee/quaff
