Just Load it in to Remotes And It will ENforece the Akick when ever someone Joins
(dont have to Add the Akick Enforcer But you can if you want to)
I made this So that it checks to Enforece the Akick when someone Joins the channel not for when you Join it \
Second ones Credit Goes to Raid When you join A channel it Does it in 60 Seconds after you join
;******AKICK ENFORCER************
on *:JOIN:#YourChan: {
if ($me isop $chan) { /msg Chanserv AKICK #YourChan ENFORCE }
}
on *:JOIN:*: {
if ($nick == $me) && ($me isop $chan) {
chanserv AKICK $chan ENFORCE
timerAKICK 0 60 chanserv AKICK $chan ENFORCE
}
}
When a user joins a channel and are on the akick list Chanserv will kick them. Wouldn\'t this be more effective like:
on :JOIN:: {
if ($nick == $me) && ($me isop $chan) {
chanserv AKICK $chan ENFORCE
timerAKICK 0 600 chanserv AKICK $chan ENFORCE
}
}
That way it does it when you join and then on a timer.
you could use this
on *:JOIN:#YourChan:{
timer 1 5 if ($me isop $chan) { .msg Chanserv AKICK $chan ENFORCE }
}
the problem with your code was that if you were to join the chan, it wouldn\'t have worked. you\'d want to consider using somekind of flood protection to prevent flooding off when mass joins happen.
btw.. it\'s almost 3 pm here so i couldn\'t have known that.. but still, it\'s not an excuse for posting bad snippets. get some sleep and return with a better version