View Single Post
  #6  
Old 05-06-2012, 01:05 AM
Drakiyth's Avatar
Drakiyth
Dragon
 
Join Date: Apr 2012
Posts: 545
Default

Quote:
Originally Posted by joligario View Post
And just a note: the way you have it only triggers if they have both.
It's not working. I switch the target and the items aren't deleted. Does the NukeItem feature not work with this or is there something wrong with this script?
EDIT: I forget to close it originally, a small mistake but it's not working even closed below.

Code:
#Player.pl  Under the Wayfarer's message in Templates.

sub EVENT_TARGET_CHANGE {

if(plugin::check_hasitem($client, 4202) && plugin::check_hasitem($client, 4203))
{
$client->NukeItem(4202);
$client->NukeItem(4203);
}

}
Reply With Quote