azzzura Posted June 12, 2013 Posted June 12, 2013 Hi, for example i have some command, doesn't matter what is. How are can i make this command with some delay, to prevent spam? I want some way for make only one command with delay, for example around 5 seconds (5000 miliseconds). How? Quote
1 QQfoolsorellina Posted June 12, 2013 Posted June 12, 2013 or use bindatcmd script command - script asdf -1,{ end; OnInit: bindatcmd "command", strnpcinfo(0)+"::OnCommand"; end; OnCommand: if(gettimetic(2) < cooldowntime ){ dispbottom "Please wait 5 seconds!"; end; } atcommand "@command"; set cooldowntime,gettimetic(2)+5; end; } 2 Quote
Jaburak Posted June 12, 2013 Posted June 12, 2013 http://rathena.org/board/files/file/2356-warp-go-damage-delay/ Quote
Cydh Posted June 13, 2013 Posted June 13, 2013 if you want a src mod, see here http://rathena.org/board/topic/83569-delay-to-use-command/ Quote
Question
azzzura
Hi, for example i have some command, doesn't matter what is.
How are can i make this command with some delay, to prevent spam?
I want some way for make only one command with delay, for example around 5 seconds (5000 miliseconds). How?
3 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.