Hello and welcome Dhry
I saw your server in the list today and wondered who the dev was. To answer your question: Yes it would be possible to set a qglobal when a character dies. I would probably use EVENT_SLAY on NPCs and set the qglobal when that is triggered. Then use EVENT_ENTERZONE for clients and check the qglobal in that.
That is a little off the cuff though. There are some extremely talented guys who know the scripting system much better than me. Maybe one of them will share a better way!