Jump to content
  • 0

(Hot Request) 15 mins item!


buda

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  06/21/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  90
  • Reputation:   5
  • Joined:  06/17/12
  • Last Seen:  

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 by cataclysmro
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  06/21/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

@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;

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

Sorry, I was in sleepy mood, so didn't notice that.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  06/21/12
  • Last Seen:  

wow! thanks master euphy and master pojeee!!! have a blessed day to you both!

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:  

@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?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

remove

&& !checkchatting()

  • Upvote 1
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:  

ty

remove

&& !checkchatting()

sir.. can you modify it again? hehe

it doesnt check whether the player is newly log in or not ^^

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