Buda Beads Posted October 26, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 19 Reputation: 1 Joined: 08/16/14 Last Seen: December 11, 2014 Share Posted October 26, 2014 Hello Again Master Scripters,Im requesting for a simple script: similar: this is like an hourly points script but visual because of the items received. in giving all online players an item(ygg/#607 or a coin) for example, every FIVE minutes.include: player with pub/chatexclude: vendors / with @autotradepurpose:loyalty currency: the longer they stay online, the more amount they will have to buy some loyalty items.. Thanks Master Scripters again!!! each of you never fail me!!!! Quote Link to comment Share on other sites More sharing options...
Winz Posted October 26, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted October 26, 2014 (edited) To give coins: //===== Hourly Points Script ========================================= //===== By: ========================================================== //= GorthexTiger modified by Nibi modified again by Winz //==================================================================== - script hourlypoints -1,{ OnPCLoginEvent: addtimer .timer,"hourlypoints::OnPointGet"; end; OnPointGet: while(checkvending() >= 1 ) { sleep2 .delay; dispbottom set(.@mes$,"The loyalty reward event halted because you were vending."); } set #CASHPOINTS, #CASHPOINTS + .point_amt; dispbottom "You received "+.point_amt+" Cash points by staying in game for 5 minutes"; addtimer .timer,"hourlypoints::OnPointGet"; end; OnInit: set .timer, 1000*60*5; //Timer in milliseconds. set .point_amt, 10; //Normal points gained. set .delay, 1000; //Delay for idle re-check check. } To give items: //===== Hourly Points Script ========================================= //===== By: ========================================================== //= GorthexTiger modified by Nibi modified again by Winz //==================================================================== - script hourlypoints -1,{ OnPCLoginEvent: addtimer .timer,"hourlypoints::OnPointGet"; end; OnPointGet: while(checkvending() >= 1 ) { sleep2 .delay; dispbottom set(.@mes$,"The loyalty reward event halted because you were vending."); } getitem .itemid, .itemval; dispbottom "You received "+.itemval+" "+.itemid+" by staying in game for 5 minutes"; addtimer .timer,"hourlypoints::OnPointGet"; end; OnInit: set .timer, 1000*60*5; //Timer in milliseconds. set .itemid, 607; //Item ID to be given. set .itemval, 1; //Item value to be given. set .delay, 1000; //Delay for idle re-check check. } Edited October 26, 2014 by Winz Quote Link to comment Share on other sites More sharing options...
Buda Beads Posted October 30, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 19 Reputation: 1 Joined: 08/16/14 Last Seen: December 11, 2014 Author Share Posted October 30, 2014 Thanks Master Winz for the reply.... i hope we can continue this script that:all the players (including afk but excluding vendor/@autotrade) at THE SAME TIME every 10 mins.. 1:00,1:10,1:20,1:30,1:40,1:50,2:00 Quote Link to comment Share on other sites More sharing options...
Winz Posted October 30, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted October 30, 2014 //===== Hourly Points Script ========================================= //===== By: ========================================================== //= GorthexTiger modified by Nibi modified again by Winz //==================================================================== - script hourlypoints -1,{ set .point_amt, 10; //Normal points gained. OnMinute10: if(checkvending() >= 1 ) { dispbottom "No loyalty reward because you were vending."; } set #CASHPOINTS, #CASHPOINTS + .point_amt; dispbottom "You received "+.point_amt+" Cash points by staying in game on the 10th minute"; end; } This way, I will just login at minute of 8 for every hour. after I get the points, just logout to reserve PC resource. Quote Link to comment Share on other sites More sharing options...
Buda Beads Posted October 31, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 19 Reputation: 1 Joined: 08/16/14 Last Seen: December 11, 2014 Author Share Posted October 31, 2014 (edited) thanks master winz,,, now working with a little bit of edit... i hope you can help us again,, thanks master winz.... Edited October 31, 2014 by Buda Beads Quote Link to comment Share on other sites More sharing options...
Winz Posted November 2, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted November 2, 2014 if answered, mark as answered. if needs further help, state it clearly Quote Link to comment Share on other sites More sharing options...
Question
Buda Beads
Hello Again Master Scripters,
Im requesting for a simple script:
similar: this is like an hourly points script but visual because of the items received.
in giving all online players an item
(ygg/#607 or a coin) for example, every FIVE minutes.
include: player with pub/chat
exclude: vendors / with @autotrade
purpose:
loyalty currency: the longer they stay online, the more amount they will have to buy some loyalty items..
Thanks Master Scripters again!!!
each of you never fail me!!!!
Link to comment
Share on other sites
5 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.