if you are asking where sychotix´s script is, here:
http://www.ownedcore.com/forums/mmo/...vp-script.html ([Script] Autohotkey AFK PVP Script)
You could read about the function "Imagesearch", with that you should have no problems detecting the exit arena
What else will work is reading the memory to check if that window is open or not, read about readprocessmemory, but finding pointer and stuff like that is a bit harder than imagesearch
Also you should stick to your own programs, sychotix´s script might work better than your endresult, but its a lot of fun to write/script your own stuff
enjoy and good luck