Jump to content
  • 0

Hourly Points Help


Question

Posted

Anyone has a Script like Hourly Points but the timer only count every 30 mins? And It doesn't restrict to those who use pub and afk. Only for the players who are using @autotrade 

 

Prizes will be in a Kafra Points and 30 YGG Berries

 

Thanks


up

4 answers to this question

Recommended Posts

Posted

-	script	ksdfskjfhs	-1,{
OnPCLoginEvent:
	dispbottom "Your timer starts now. You Will receive 1 kafra points after being online for 30 minutes";
	while (1) {
		if ( checkvending() != 2 ) {
			.@hourpointtick++;
			if ( .@hourpointtick > .tick ) {
				dispbottom "You have received 1 kafra point";
				#KAFRAPOINTS = #KAFRAPOINTS + 1;
				getitem 607, 30;
				.@hourpointtick = 0;
			}
		}
		sleep2 .sleeploop;
	}
	end; // doesn't read
OnInit:
	.sleeploop = 30000; // every 30 seconds
	.tick = 60; // loop 60 times of 30 seconds == 30 minutes
	end;
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...