on *:SIGNAL:mta.join:{ ;the join signal that is triggered when a player enters the server
if ($mta.name($1,$2) == Cheater) { ;checking if their name is Cheater
mta.say $1 Banning $mta.name($1,$2) - Reason: Banned nickname ;sending message to server
mta.ban $1 $2 ;bans the player
}
elseif ($mta.name($1,$2) == Cheater2) { ;checking if their name is Cheater2
mta.say $1 Banning $mta.name($1,$2) - Reason: Banned nickname ;sending message to server
mta.ban $1 $2 ;bans the player
}
elseif (cheat* iswm $mta.name($1,$2)) { ;checking if cheat onwards is in their name
mta.say $1 Banning $mta.name($1,$2) - Reason: Banned nickname ;sending message to server
mta.ban $1 $2 ;bans the player
}
}
tokens can also be used..