Checkmate Posted June 19, 2013 Posted June 19, 2013 Olaaa.. To all rathena's ^^I was wonder if anyone can give to me or help me make script that can give present to all player that click on it by monthly. I was already found one but it seem like cannot be used..And i dont understand it.. Here http://rathena.org/board/topic/58415-request-monthly-reward/ Anyone??? Quote
Jaburak Posted June 19, 2013 Posted June 19, 2013 prontera,155,181,5 script Sample 757,{ setarray .ItemID[0],512; setarray .Amount[0],1; if( #MonthlyReward != gettime(6) ){ getitem .ItemID[gettime(6)],.Amount[gettime(6)]; set #MonthlyReward,gettime(6); mes "You have grant an item for this month."; }else{ mes "You cant take a reward again this month."; } close; } Quote
Checkmate Posted June 20, 2013 Author Posted June 20, 2013 Ok.. itry to use it.. If got any prob i post here.. thx anakid.. ^^ Quote
Checkmate Posted July 11, 2013 Author Posted July 11, 2013 OK.. No problem.. Problem Is Solved ^^ Thanks anakid ^^ Quote
mrlongshen Posted July 19, 2013 Posted July 19, 2013 OK.. No problem.. Problem Is Solved ^^ Thanks anakid ^^ how to change to daily reward ? Quote
Skorm Posted July 19, 2013 Posted July 19, 2013 prontera,155,181,5 script Sample 757,{ // Sun, Mon, Tue, Wed, Thu, Fri, Sat. setarray .ItemID[0], 512, 501, 502, 503, 504, 505, 506; setarray .Amount[0], 1 , 2 , 3 , 4 , 5 , 6 , 7 ; if( #MonthlyReward != gettime(4) ){ getitem .ItemID[gettime(4)],.Amount[gettime(4)]; set #MonthlyReward,gettime(4); mes "You have grant an item for this month."; }else{ mes "You cant take a reward again this month."; } close; } Say if you were to get your prize on Monday then wait until next Monday to try and get a prize again it wouldn't let you. Quote
mrlongshen Posted July 19, 2013 Posted July 19, 2013 prontera,155,181,5 script Sample 757,{ // Sun, Mon, Tue, Wed, Thu, Fri, Sat. setarray .ItemID[0], 512, 501, 502, 503, 504, 505, 506; setarray .Amount[0], 1 , 2 , 3 , 4 , 5 , 6 , 7 ; if( #MonthlyReward != gettime(4) ){ getitem .ItemID[gettime(4)],.Amount[gettime(4)]; set #MonthlyReward,gettime(4); mes "You have grant an item for this month."; }else{ mes "You cant take a reward again this month."; } close; } Say if you were to get your prize on Monday then wait until next Monday to try and get a prize again it wouldn't let you. sir can u make it a cash point ? Quote
Question
Checkmate
Olaaa.. To all rathena's ^^
I was wonder if anyone can give to me or help me make script that can give present to all player that click on it by monthly.
I was already found one but it seem like cannot be used..
And i dont understand it.. Here
Anyone???
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.