Onclock0012:
announce "Guild Treasure Box spawned.",0;
monster "prtg_cas01",11,209,"Treasure Box",1732,5,strnpcinfo(0)+"::OnMobKilled";
monster "gefg_cas04",117,120,"Treasure Box",1732,5,strnpcinfo(0)+"::OnMobKilled";
monster "aldeg_cas04",85,12,"Treasure Box",1732,5,strnpcinfo(0)+"::OnMobKilled";
monster "arug_cas03",294,272,"Treasure Box",1798,5,strnpcinfo(0)+"::OnMobKilled";
monster "schg_cas03",191,19,"Treasure Box",1798,5,strnpcinfo(0)+"::OnMobKilled";
monster "schg_cas02",249,373,"Treasure Box",1798,5,strnpcinfo(0)+"::OnMobKilled";
monster "arug_cas01",254,366,"Treasure Box",1798,5,strnpcinfo(0)+"::OnMobKilled";
monster "arug_cas03",292,272,"Treasure Box",1955,5,strnpcinfo(0)+"::OnMobKilled";
monster "schg_cas03",189,19,"Treasure Box",1955,5,strnpcinfo(0)+"::OnMobKilled";
monster "schg_cas02",249,373,"Treasure Box",1955,5,strnpcinfo(0)+"::OnMobKilled";
monster "arug_cas01",254,366,"Treasure Box",1955,5,strnpcinfo(0)+"::OnMobKilled";
OnMobKilled:
dispbottom "Treasure Box Killed";
getitem 7179,1; /// Set the Item you want to give the Winner here.
end;
this is not working, or do i need to put an actual npc for this? i just made that to spawn the treasure box that drop certain items