New perl function.
Well i read over Cofruben's post about adding perl functions and my brain is giving off sparks ^^. I want to add a new function similar to quest::flagpc, only instead of it setting a flag variable, it would actually flag the user's account, but only for that one character.
I had the idea for this when looking over the zones table and noticed the column called minimum_status, which im sure relates to the user's account status. I want to be able to use a quest script to flag a user's account, however only for that character, to prohibit/allow the user from entering certain zones. This ties in with my planar progression based server, as I cannot think of a better way to prohibit/allow access to the raid zones. I had first tried moving the zone safe coords and putting an npc to port you to the real safe coords of the zone depending on a global variable, but that was too much work.
If anyone can please write a new function...it would be greatly appreciated.
|