Jump to content
  • 0

remove the delay from commands


Subzero

Question


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  60
  • Reputation:   0
  • Joined:  07/25/16
  • Last Seen:  

hello rathena

im just found this script on my old pendrive

but this script allow me use the commands every 5 hours

how i can remove the delay?

https://pastebin.com/v6JS1bu5

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  208
  • Reputation:   22
  • Joined:  01/14/13
  • Last Seen:  

Just remove this line
 

if (#pg_delay > (GetTime(7)*12*31*24+GetTime(6)*31*24+GetTime(5)*24+GetTime(3))) && (#pg_mode == 0) {
		mes @npc$;
		mes "I'm afraid you have used all your prize's for this day";
		mes "Call in "+ (#pg_delay - (GetTime(7)*12*31*24+GetTime(6)*31*24+GetTime(5)*24+GetTime(3)) )+" hours later.";
		close;
}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

set #pg_delay, (GetTime(7)*12*31*24+GetTime(6)*31*24+GetTime(5)*24+GetTime(3) + 5);

Control

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