Jump to content

MTA auto ban script


Guest napiharlows

Recommended Posts

Posted

Is there a auto ban script for mta:ma.

Like if they enter the server with a name they get banned. Cause im getting perty sick of people changing there ips.

If so how does it work. and what is the script.

Posted

This question sould be posted under MTAMA scripting but who cares!

1. Create a file called 'shitlist.txt' and put it in the main directory of mIRC.

2. Put all your forbidden names in that file.

Example:

  • Aeron
    MrBump
    Kent

3. Put this code under 'alias mta.join'

  if ($read(shitlist.txt,w,$mta.name($1,$2))) {
   mta.say $1 $mta.name($1,$2) Reason: Shit-listed
   mta.ban $1 $2
 }

4. Edit the text in the code if you like a own message.

5. Done!

  • 4 months later...
Posted

what do you mean 'alias mta.join'?

where do i find that, and what file do i look in?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...