I'll dig one up for Leaving.



Goto wowwiki.com and look for the API Functions any of those API fucntions that are not protected you can call using /script.



ie:

/script AcceptQuest();