Awesome.

Thanks for that, KLS and Trev.
The MaNGOS guys have a pretty neat waypoint/pathing system as well. Maybe you can "borrow" some of their code to make it easier as well.
As of now, if you target an NPC and type some commands to get their info, it will actually show their waypoint ID as well. This way, you can identify what NPC has what waypoint and pathing ID without having to guess what goes on who. It also has a MySQL entry iirc, so you can find it much easier as well.