Auto quest separated quest

hello … i want ask about making a script of a separated quest
as you know in low levels there is a to many quests that separated in 2 or 3 mobs tybes in several areas and spots … haw can i make a script that can handel that matter … when he finish mobs here he can go to the other spot and finish mobs there and also … aftert that quest is completed and delever it ?