mirc kick script?

Questions about programming languages and debugging
Post Reply
User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

mirc kick script?

Post by ayu »

Hello, i was wondering if there was anyone here that's good with mirc scripting?

I already have a function in my Bot that kicks people who swears. How can i add to that function so that it kicks people who has a name with the age added over 17?

People over the age of 17 are not allowed in the channel.

The names are in this format

someone_m18
someone_f18

....

someone_m24

ablablabla and so on....anyone have a tip? =)
"The best place to hide a tree, is in a forest"

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

k, i fixed that myself =P , now i have another problem. How do i make my bot remove the ban after a certain amount of time?


lets say i have this

on +2:text:*@hotmail.co.uk*:#:set %ban $nick | /2metwo 5Mailkick> Don't give out your mail, read the rules. | .ruser 2 $nick 8 | inc %knumber 1


how would i edit this so that the ban was removed after like 10 sec?

something about -u10 :| but i don't know where to put it
"The best place to hide a tree, is in a forest"

Post Reply