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.