buda Posted November 25, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 06/21/12 Last Seen: December 19, 2012 Share Posted November 25, 2012 Masters, i need your help, can we make this happen? The script for now is not working.... i need your powerful scripting energy!!!! thanks master scripters!!! Advance MErry Xmas! - script 15mins -1,{ OnMinute15: OnMinute30: OnMinute45: OnMinute00: if ( checkvending() != 2 ) { // Skip autotrade getitem 607, 1; dispbottom "You received 1 Yggdrasil Berry by staying for 15 minutes."; } } Credit to: Master Keyworld Quote Link to comment Share on other sites More sharing options...
KoolKat29 Posted November 25, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 90 Reputation: 5 Joined: 06/17/12 Last Seen: September 6, 2013 Share Posted November 25, 2012 (edited) try this http://rathena.org/b...rly-tcg-reward/ Modify it to your liking and make it 15 mins or this one: http://pastebin.com/raw.php?i=Dt2sW00K From sir Emistry Edited November 25, 2012 by cataclysmro Quote Link to comment Share on other sites More sharing options...
buda Posted November 26, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 06/21/12 Last Seen: December 19, 2012 Author Share Posted November 26, 2012 Thanks master catac for the quick response! i mean, they should all have a ygg on OnMinute15: OnMinute30: OnMinute45: OnMinute00: but not individual timer per payer Quote Link to comment Share on other sites More sharing options...
Dastgir Posted November 26, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 331 Reputation: 63 Joined: 11/29/11 Last Seen: 21 hours ago Share Posted November 26, 2012 Take this.ygg15.txt Quote Link to comment Share on other sites More sharing options...
Euphy Posted November 26, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted November 26, 2012 @Dastgir Pojee: That doesn't work at all. >.> Without a timer, you can't check if a player is afk. But if you don't care, set .@num, query_sql("SELECT `account_id` FROM `char` WHERE `online` = '1'",.@j); for(set .@i,0; .@i<.@num; set .@i,.@i+1) { attachrid(.@j[.@i]); if (!checkvending() && !checkchatting()) getitem 607,1; detachrid; } end; 2 Quote Link to comment Share on other sites More sharing options...
Dastgir Posted November 26, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 331 Reputation: 63 Joined: 11/29/11 Last Seen: 21 hours ago Share Posted November 26, 2012 Sorry, I was in sleepy mood, so didn't notice that. Quote Link to comment Share on other sites More sharing options...
buda Posted November 26, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 06/21/12 Last Seen: December 19, 2012 Author Share Posted November 26, 2012 wow! thanks master euphy and master pojeee!!! have a blessed day to you both! Quote Link to comment Share on other sites More sharing options...
Erba Posted December 29, 2012 Group: Members Topic Count: 84 Topics Per Day: 0.02 Content Count: 550 Reputation: 9 Joined: 11/06/12 Last Seen: August 14, 2014 Share Posted December 29, 2012 @Dastgir Pojee: That doesn't work at all. >.> Without a timer, you can't check if a player is afk. But if you don't care, set .@num, query_sql("SELECT `account_id` FROM `char` WHERE `online` = '1'",.@j); for(set .@i,0; .@i<.@num; set .@i,.@i+1) { attachrid(.@j[.@i]); if (!checkvending() && !checkchatting()) getitem 607,1; detachrid; } end; sir what if i dont want to check if the player is chatting or not.. just want to check if the player is vending? Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 29, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 11 hours ago Share Posted December 29, 2012 remove && !checkchatting() 1 Quote Link to comment Share on other sites More sharing options...
Erba Posted December 30, 2012 Group: Members Topic Count: 84 Topics Per Day: 0.02 Content Count: 550 Reputation: 9 Joined: 11/06/12 Last Seen: August 14, 2014 Share Posted December 30, 2012 ty remove && !checkchatting() sir.. can you modify it again? hehe it doesnt check whether the player is newly log in or not ^^ Quote Link to comment Share on other sites More sharing options...
Question
buda
Masters, i need your help, can we make this happen?
The script for now is not working.... i need your powerful scripting energy!!!!
thanks master scripters!!! Advance MErry Xmas!
- script 15mins -1,{
OnMinute15:
OnMinute30:
OnMinute45:
OnMinute00:
if ( checkvending() != 2 ) { // Skip autotrade
getitem 607, 1;
dispbottom "You received 1 Yggdrasil Berry by staying for 15 minutes.";
}
}
Credit to: Master Keyworld
Link to comment
Share on other sites
9 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.