hello! im trying to make simple command script in mirc, but i need something to pause it to pass spam protection if some users will ask this command at one time.
i got this for start:
Code:
on *:text:*!db*:#: {
if (%dblink == 1) {
<!here i need sleep timer>
msg # dblink: http://database.com/database/ $+ $2- . ID $rand(0,100000) $+ . | halt }
}
}
how could i make sleep timer (10 sec delay) between command reply? i tried to use this found here
You've got all your syntax wrong. I believe you can address these issues by simply reviewing the /help file for each of those commands. eg: /help /play and /help /timer
And get rid of that | halt } at the end. I'm not sure why you put that there, unless you just copy/pasted from something else you saw someone else use.
Well. At least I won lunch. Good philosophy, see good in bad, I like!