After a few days of work I figured this out so here is a script if anyone else wants to do this.
Code:
sub EVENT_SCALE_CALC {
my $itemscale = 1;
#check all slots for items
if(plugin::check_hasitem($client, 76094)) {
$itemscale = $itemscale + 2;
}
if(plugin::check_hasitem($client, 2393)) {
$itemscale = $itemscale + 2;
}
if(plugin::check_hasitem($client, 2421)) {
$itemscale = $itemscale + 2;
}
$questitem->SetScale($itemscale);
}