mIRC Home    About    Download    Register    News    Help

Print Thread
#211016 31/03/09 11:42 PM
J
Joshy
Joshy
J
look for something so that it will kick a user once, then after ten minutes it will kick them again, then once more after ten mintutes. !30k <user>
_______________________________________________

USER: Example.
OP: !30k user
BOT KICKS USER
10 minutes..
BOT KICKS USER
10 minutes..
BOT KICKS USER

Last edited by Joshy; 31/03/09 11:42 PM.
#211018 01/04/09 12:14 AM
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
How many times would the user be kicked or would they keep being kicked every 10 minutes no matter how long it is?
What would happen if the user hadn't rejoined the channel before the 10 minute time limit for the next kick?

RusselB #211019 01/04/09 12:30 AM
J
Joshy
Joshy
J
every ten minutes it will kick them.

EX

Bot Kicks User

10 Minutes later.... Bot kicks user again.

10 minutes later.... bot kicks user for the last time.

#211020 01/04/09 12:53 AM
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
so a total of 3 times at ten minute intervals. That's my first question answered, now how about the 2nd?

RusselB #211021 01/04/09 01:02 AM
J
Joshy
Joshy
J
yes

Last edited by Joshy; 01/04/09 01:04 AM.
#211022 01/04/09 02:00 AM
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
What would happen if the user hadn't rejoined the channel before the 10 minute time limit for the next kick?

Do they get kicked 10 minutes after they re-join the channel?
If they rejoin 5 minutes into the 2nd (or 3rd) 10 minute count, are they kicked 5 minutes later (as an example)?
If they get kicked the first time, then don't rejoin till (for example) 35 minutes later, are they still kicked 2 more times at 10 minute intervals?

RusselB #211048 01/04/09 07:43 PM
J
Joshy
Joshy
J
no, i just want it kicked every 10 minutes for three times. thats all. don't worry about anything else.

#211053 02/04/09 01:04 AM
Joined: Jul 2006
Posts: 4,022
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,022
Code:
on *:input:#:if ($1 == !30k) .timer30k 3 600 $$!iif( $$?2 ison $!chan , kick $!chan $!v1 kick ! , .timer30k off)

Try this, you have to type the text...

Last edited by Wims; 02/04/09 01:09 AM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard