First of all, with your attitude in your last reply, you really don't deserve further help. The answer has already been handed to you and you are complaining about that.
I tested the following script just now on a player.pl in my blackburrow zone and it worked perfectly fine.
Code:
sub EVENT_TARGET_CHANGE {
if (plugin::check_hasitem($client, 2632))
{
quest::ding();
$client->Message(13, "Target Changed");
}
}
Note that I used a different item ID, because I just picked a random item my character had on them for testing. I also didn't use your nuke item, but used a debug message instead to prove it was getting that far and it did.
Also, anytime you have an opening parenthesis "(", or curly bracket "{", you always need a closing one that goes with that specific one. I highly recommend you download notepad++ for your script editing, because it will make it really easy for you to make sure you have your brackets and parenthesis properly closed. Just click next to the one you want to check and it highlights the other one in red.
The people that were responding in this thread to help you have been doing this stuff for years, so they know what they are talking about.
If you are still having a problem with that script, then your issue is most likely with the plugin itself. Maybe you don't have plugins in the correct folder. By default from PEQ, the plugin folder is inside the quest folder. You need to move it directly into your server folder for them to actually work.
As mentioned earlier, you are using && in your example which means they need to have both items for the nuke item to happen. What you want is || for OR instead of AND. This should work:
Code:
sub EVENT_TARGET_CHANGE {
if(plugin::check_hasitem($client, 4202) || plugin::check_hasitem($client, 4203))
{
$client->Message(13, "Nuking Items");
$client->NukeItem(4202);
$client->NukeItem(4203);
}
}