View Single Post
  #3  
Old 03-01-2021, 02:54 PM
Bytebait
Sarnak
 
Join Date: Oct 2014
Location: Colorado
Posts: 74
Default

Ok, I think I have the start of it. In case anyone else needs this.
create a script in quests/global/items/script_5000.pl for example

#the itemid is the number of your item you're trying to click.
sub EVENT_ITEM_CLICK {
if($itemid == 147498 ){
$client->Message(15, "I hope you can see this!");
}
}


In Peq , On the Edit Item page there is a Script File ID. This would be 5000 as it ignores the script_ portion of the filename.
Reply With Quote