Thread: How to code?
View Single Post
  #567 (permalink)  
Old 12-13-2007, 09:44 AM
eastcity eastcity is offline
Junior Member
 
Join Date: May 2007
Posts: 21
eastcity is on a distinguished road
I thought I could limit the number of alerts triggered by trigger using this:


if(trigger == 1)
{
int StartWaitingTime = GetTickCount();
if(GetTickCount() - StartWaitingTime > MaxWaiting_sec * 1000)
{

if(ShowAlert == true) {

Alert("Buy...........


But it does not seem to work, please help to modify it so it works, thanks!
Reply With Quote