Jump to content

Delay to use command


Cydh

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

Just a reply of this thread: How are do delay after @command

 

// Gives delay to use command after using command (in milisecond). [Cydh]
atcommand_delay: 2000

 

Download: command_delay-rA-svn17359.patch

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  06/12/13
  • Last Seen:  

Thank you for this source mod, but if i need to block spam only from one custom command. Can i get some any example? Thank you!

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

move this to certain command

sd->canusecommand_tick = gettick() + battle_config.atcommand_delay;
Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

how about delay custom command from bind_atcmd?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

how about delay custom command from bind_atcmd?

here u go. :D

http://rathena.org/board/topic/83541-how-are-do-delay-after-command/#entry203650

Link to comment
Share on other sites

  • 4 years later...

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  234
  • Reputation:   113
  • Joined:  02/24/15
  • Last Seen:  

Does this still work? @Cydh

Link to comment
Share on other sites

  • 2 years later...

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

surprisingly it does still work! as of now may i ask for help from the owner itself  ?  where do i exactly put this 

sd->canusecommand_tick = gettick() + battle_config.atcommand_delay;

on a certain command as of now  it does apply on all commands for now i am still using the default 2000 milisec

Capture.PNG.b8ff0961f4a49d8d135c5da787cf2f5e.PNG

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
Reply to this topic...

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