Woah, that's pretty cool. (Once I saw a similar thing and it allowed users to continue the story but I don't want to moderate something that complex, yeesh.)
I'll look into it. ouo~ Thanks a bunch!
Ah, here's text adventure system written in PHP already:
http://www.saltiresable.com/articles/adventure-engine
It might make a nice alternative. There's actually probably quite a few of these around...