Code:
# File is player.pl in the templates folder.
sub EVENT_TARGET_CHANGE {
if(plugin::check_hasitem($client, "4202") )
{
quest::ding();
$client->NukeItem(4202);
$client->NukeItem(4203);
}
}
You are missing a closing ). I highlighted where it was missing. A perl interpreter will tell you these errors if you run "perl script.pl" on the windows command line.
If it shows nothing when you run it, then it's an issue with the emulator code and not a syntax error.