// 607,..........,{ callfunc( "Sample",607,2,4060 ); percentheal 100,100; },{},{}
function script Sample {
set .@item_id,getarg(0);
set .@delay,getarg(1);
set .@current_delay,getd( "ITEMDELAY_"+.@item_id );
set .@gettimetick,gettimetick(1);
if( .@current_delay > .@gettimetick ){
dispbottom "Item Delay for "+( .@current_delay - .@gettimetick )+" seconds.";
end;
}else{
delitem .@item_id,1;
if( Class && Class == getarg(2) && .@delay )
setd( "ITEMDELAY_"+.@item_id ),( .@gettimetick + .@delay );
}
return;
}