View Single Post
  #9  
Old 05-06-2012, 07:44 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

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.
Reply With Quote