I've seen on a lot of custom servers that the developers are handing out AA tokens that are redeemable by handing in to an NPC. However I always thought it was a bit annoying to have to go back to wherever that NPC is and manually hand them in, especially in large stacks.
The solution I created for this on my server was to add a blank spell to an item and then create a .pl file named after the spell ID.
quests/global/spells/24844.pl
Code:
sub EVENT_SPELL_EFFECT_CLIENT {
my $caster = $entity_list->GetClientByID($caster_id);
$caster->SetAAPoints($caster->GetAAPoints()+50);
$caster->Message(15, "You have been granted 50 AAs! You currently have " . $caster->GetAAPoints() . " AA point(s) available to spend.");
}