Quote:
Originally Posted by joligario
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);
}
}