No, each coin type has it's own variable. If you want to be able to use all coin types, you could do this:
Code:
sub EVENT_ITEM {
if($platinum == 10 || $gold == 100 || $silver == 1000 || $copper == 10000)
{
quest::summonitem(1001);
$platinum = undef;
$gold = undef;
$silver = undef;
$copper = undef;
}
else
{
if($platinum || $gold || $silver || $copper) {
$client->AddMoneyToPP($copper, $silver, $gold, $platinum, updateclient);
quest::say ("That is not the required amount!");
$platinum = undef;
$gold = undef;
$silver = undef;
$copper = undef;
}
}
}
I haven't tested that yet, but it should work fine I think.