Jump to content
  • 0

Hourly points


Pink Guy

Question


  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

Can someone please give me the hourly points that has a message in the chat bar that says "Your timer starts now. You Will receive 1 kafra points after being online for 1 hour."

Also, please remove the Idle and pub thing. I only want the vend blocker. Thank you.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

-    script    ksdfskjfhs    -1,{
OnPCLoginEvent:
   dispbottom "Your timer starts now. You Will receive 1 kafra points after being online for 1 hour";
   while (1) {
       if ( checkvending() ) {
           set @hourpointafk, @hourpointafk +1 ;
           if ( @hourpointafk >= .afk && @hourpointafk % .afk == 0 ) {
               dispbottom "you have vending for "+( ( .sleeploop/1000 * @hourpointafk ) /60 )+" minutes";
               set @hourpointtick, 0;
           }
       }
       else {
           set @hourpointafk, 0;
           set @hourpointtick, @hourpointtick +1 ;
           if ( @hourpointtick > .tick ) {
               #KAFRAPOINTS = #KAFRAPOINTS +1;
               dispbottom "You have received 1 kafra point";
               set @hourpointtick, 0;
           }
       }
       sleep2 .sleeploop;
   }
   end; // doesn't read
OnInit:
   set .sleeploop, 30000; // every 30 seconds
   set .tick, 120; // loop 120 times of 30 seconds == 1 hour
   set .afk, 10; // loop 10 times of 30 seconds = 5 minutes
   end;
}

so many hourly point giver out there .....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

-    script    ksdfskjfhs    -1,{OnPCLoginEvent:    dispbottom "Your timer starts now. You Will receive 1 kafra points after being online for 1 hour";    while (1) {        if ( checkvending() ) {            set @hourpointafk, @hourpointafk +1 ;            if ( @hourpointafk >= .afk && @hourpointafk % .afk == 0 ) {                dispbottom "you have vending for "+( ( .sleeploop/1000 * @hourpointafk ) /60 )+" minutes";                set @hourpointtick, 0;            }        }        else {            set @hourpointafk, 0;            set @hourpointtick, @hourpointtick +1 ;            if ( @hourpointtick > .tick ) {                #KAFRAPOINTS = #KAFRAPOINTS +1;                dispbottom "You have received 1 kafra point";                set @hourpointtick, 0;            }        }        sleep2 .sleeploop;    }    end; // doesn't readOnInit:    set .sleeploop, 30000; // every 30 seconds    set .tick, 120; // loop 120 times of 30 seconds == 1 hour    set .afk, 10; // loop 10 times of 30 seconds = 5 minutes    end;}
so many hourly point giver out there .....

how to modify this mam?

i want give players points even if they are afk.. except vending

[solved]

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

Ms. AnnieRuru, what does these functions do?

sleep2 .sleeploop;
	}
	end; // doesn't read
OnInit:
	set .sleeploop, 30000; // every 30 seconds
	set .tick, 120; // loop 120 times of 30 seconds == 1 hour
	set .afk, 10; // loop 10 times of 30 seconds = 5 minutes
	end;

 

Sorry, I don't understand what it does :(

Also, is it possible to put the consecutive hours thing? Thanks in Advance.

Link to comment
Share on other sites

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.

×
×
  • Create New...