You can play around the script that you want . Like adding delay not a click its up to you .
i think it should be like this prontera,155,175,5 script Click Limit NPC 123,{
set ClickLimit,0;
if(ClickLimit == 3) end;
mes "[ Limit Click ]";
set ClickLimit,ClickLimit+1;
mes "You have clicked me "+ClickLimit+"x."; close;
}