mIRC Home    About    Download    Register    News    Help

Print Thread
#138527 02/01/06 07:12 AM
Joined: Jan 2006
Posts: 1
C
Mostly harmless
OP Offline
Mostly harmless
C
Joined: Jan 2006
Posts: 1
hey
i`m trying to make an anti-advertisement script where there is a warning first and then a kick

what i have made is this

on *:text:*#*:#at.l@n:{
if { goto warn }
elseif ( ad == Y ){ goto kick }
elseif ( ad == YY ) { goto ban }

:warn
/msg $chan you are not allowed to advertise for your channel, this is your first warning !
{ ad == Y }
END

:kick
/kick # $nick
{ad == YY}
END

:ban
/mode +b # $nick
END
}

ps. this is my first real script ^^

Last edited by crazy987; 02/01/06 07:14 AM.
#138528 02/01/06 07:24 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252


Link Copied to Clipboard