Help me with my script please!

Pastebin: http://pastebin.com/LZHCZs8Y

Hello People! me and a few friends are working on a custom talent npc script and we really need help, everything is fine except for hunters, we think it would be really good if we could make it so once a hunter chooses his spec (Marksmanship, Survival, Beastmaster) he then is taken to another menu with 3 choices Cunning, Ferocity and Tenancy, once they choose one they are then taken to another menu with 4 or so pets to choose from that are ofc part of the tree they chose, keep in mind the pet you are given from your choice must be removed while choosing a new spec, not after choosing a new pet because people will get beast master pets as a marksman or whatever. Please help if you can, im sure its a 5 minute task for a skilled c++ scripter, please do not add the entrys for the pets we will do that we just need the template for it, please if you can help it would be much appreciated. I have left the script in the pastebin link above Thank you /emoticons/default_smile.png

Duplicate? http://www.trinitycore.org/f/topic/9137-hunter-pets-inside-talent-script/

yeah it bugged out, you can remove other one if you want? and do you know how to do what i ask?

No offense, but having an entire day in between is not exactly “bugged out” for me.

I cant view the other one, and anyone know about the script?