ok first off this is a suggestion and i dont know much about programming... but i think i have an idea.
ok
in the game iwd2 or bg2, after every spell is cast, the caster gets a command to go into a state where he cannot cast spells and he appears "alert" on the screen. If someone were to find out where this command is located, they could add new commands such as one that would check the area,(any outside place in the city),and another global,(if the person purchased the magic licence). IF the connditions are correct, a command could be entered to summon the cowled wizards.
another posiabillity is adding this command after every damging spell.
p.s. is yur still looking for testers, i know where to turn