mIRC Home    About    Download    Register    News    Help

Print Thread
#80754 26/04/04 04:45 PM
Joined: Jan 2004
Posts: 24
W
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Jan 2004
Posts: 24
Hello, I'm trying to make a join/part/quit banner all in one remote, so I don't have to to on @*:Join:#: on @*:PART:#: and on ^*:quit:.
This is what I've made:
on @*:Join:#: {
.timer $+ $nick 1 10 $iif($nick !ison $chan,ban -u90 $chan $address($nick,4),halt)
}
This doesn't work, any suggestions?

#80755 26/04/04 06:13 PM
Joined: Aug 2003
Posts: 325
W
Fjord artisan
Offline
Fjord artisan
W
Joined: Aug 2003
Posts: 325
Well for one, it's not a reliable way of doing it
What if they change their nick 5 seconds after joining the room? They get banned for it.

how about this:
Code:
ON *:JOIN:#:$+(.timer,$mask($fulladdress,0)) 1 10 jpqbanner $fulladdress #
alias jpqbanner if ( !$ialchan($mask($1,0),$2,0) ) { ban -u90 $mask($1,2) }


I haven't tested that out, but it should work. If they join and change nicks, it'll leave them alone. It'll also do a smarter ban because the one you set up, if someone came on with *!*@*.ipt.aol.com, then everyone in the room using aol would end up getting banned too. smile


Link Copied to Clipboard