The newest versions of Dungeon Maze includes an API system. The Dungeon Maze API allows you, as developer, to control and modify the Dungeon Maze behaviour.
Hooking into Dungeon Maze
A guide that shows you how to hook into Dungeon Maze could be found on the following page:
Page: DungeonMaze / API / How to use the Dungeon Maze API
Dungeon Maze does have it's own events, witch are very easy to listen to. Please go to this page to find out more information about the Dungeon Maze events.