mob/verb/Skilltree()
if(usr.inskilltree==1)
// help here
usr.loc=locate(52,98,2)
usr.inskilltree=1
Problem description:
heres the issue, i dont know how to make it so that if ur already in the skill tree then you can click the skilltree verb again and u will be TELEPORTED back to where u were when u clicked it, the part i dont understand is how do i make the system know that i want them to teleport them back to where the person clicked it.
However, this isn't such a great way to create a "skill tree" system. If you insist on having the graphical portion drawn on the map, then it would be much easier to just locate the client.eye to the portion of the map. This way, the player won't need to teleport, and will be able to see the graphics you want to display. Look up client.eye and client.perspective for more information about how to do that.