mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2015
Posts: 1
N
Mostly harmless
OP Offline
Mostly harmless
N
Joined: May 2015
Posts: 1
Hi im new to scripting so I'm learning basic scripts and I want to know exactly how do I add a timer to the script below to prevent spam? Like maybe limiting it's use to once per 2minutes

On *:Text:*!quote*:#: { /msg $chan As your wish Senpai. ~Link Here $+ . }

Last edited by Neopzero; 21/05/15 09:49 PM.
Joined: May 2015
Posts: 249
Fjord artisan
Offline
Fjord artisan
Joined: May 2015
Posts: 249
No need for timer, use /set -u


Dont give a fish - teach to fish!
Joined: Jan 2015
Posts: 40
J
Ameglian cow
Offline
Ameglian cow
J
Joined: Jan 2015
Posts: 40
Code:
On *:Text:*!quote*:#: { 
  if ((%floodquote) || ($($+(%,floodquote.,$nick),2))) { return }
  set -u15 %floodquote On
  set -u15 %floodquote. $+ $nick On
  msg $chan As your wish Senpai. ~Link Here $+ . 
}



Link Copied to Clipboard