It certainly does.

Just added it to Quest Repository CVS code.
Note that these may break the char record if used unproperly, but, well, quests writers be carefull !
How about writting a short 'how to add more functions to quests', that describes argument declaration, and so and so ... More people could contribute and have custom functions in their quests.