Jump to content
  • 0

How to make Daily reward IP check


fallen0519

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   2
  • Joined:  02/15/14
  • Last Seen:  

 

<header>,{

set .@n$,"[Daily Reward]";
mes .@n$;
mes "Hey! Have you taken your reward today?";
select("Yes");
if (dr_time$ != gettimestr("%Y%m%d",9)) {
next;
mes .@n$;
mes "LIAR!!!";
mes "Telling lies are no good.";
mes "Please take your reward!";
next;
set dr_time$, gettimestr("%Y%m%d",9);
switch (gettime(4)) {
Case 0: getitem 671,1; break;
Case 1: getitem 672,1; break;
Case 2: getitem 673,1; break;
Case 3: getitem 674,1; break;
Case 4: getitem 675,1; break;
Case 5: getitem 676,1; break;
Case 6: getitem 677,1; break;
}
next;
mes .@n$;
mes "Don't tell lies next time...";
mes "Have a nice day!";
close;
}
next;
mes .@n$;
mes "Then don't talk to me!";
close;
}

 I am using this Daily reward which apply 7 days different reward, but how to make it like IP check, so players cant abuse by using this script. Thanks and waiting for someone to help~

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...