MTA mIRC Admin
MTA mIRC Admin allows to script your own scripts. But you must be already an expert in Scripts
These Identifiers, Commands and Events are for MTA mIRC Admin v2.0 and higher.

Identifiers

$mta.active
Returns the server that you are watching.

$mta.deaths(N,ID)
Returns the deaths of ID from the server N.

Note: This is based when you joined the server.

$mta.game(N,ID)
Returns 0 = Unknown, 1 = In Game, 2 = Out game of ID on server N.

Note: This is based messages of the player. If a player doesn't speak so much it can give a invalid result.

$mta.idle(N,ID)
Returns idle time in seconds of ID from the server N. Use $duration() to get the time split in hours, minutes and seconds.

Note: This is based when you joined the server.

$mta.ip(N,ID)
Returns the IP of ID from the server N.

$mta.kills(N,ID)
Returns the kills of ID from the server N.

$mta.maxplayers(N)
Returns the maximum allowed players of server N.

$mta.motd(N)
Returns the Message Of The Day of server N.

$mta.name(N,ID)
Returns the nickname of ID from the server N.

$mta.online(N,ID)
Returns the online time in seconds of ID from the server N. Use $duration() to get the time split in hours, minutes and seconds.

Note: This is based when you joined the server.

$mta.ping(N,ID)
Returns the ping of ID from the server N.

$mta.players(N)
Returns the current number of players of server N.

$mta.server(N)
Returns the IP from server N.

$mta.type(N)
Returns the type of server N (Deathmatch or Stunt).

Commands

/mta
This start ups MTA mIRC Admin

/mta.addban <N> <IP>
This bans IP from server N.

/mta.ban <N> <ID>
This bans ID from server N.

/mta.close
This closes MTA mIRC Admin and disconnects you from all connected servers.

/mta.con <N>
This connects you to server N.

/mta.dis <N> [Reason]
This disconnects you from server N.

/mta.kick <N> <ID>
This kicks ID from server N.

/mta.log <N> <text>
This echo's and (if you enabled logging) logs <text>.

/mta.motd <N>
This refreshes the motd of server N.

/mta.say <N> <text>
This sends <text> to server N.

/mta.shutdown <N>
This shutdowns server N.

Note: If server shutdown is disabled it will give no result.

/mta.unban <N> <IP>
This unbans <IP> from server N.

Events

alias mta.action <commands>
This event is triggerd when a players says something in action.
Parameters: $1 = Server, $2 = ID, $3- = Text

alias mta.admin <commands>
This event is triggerd when a admin says something.
Parameters: $1 = Server, $2- = Text

alias mta.connect <commands>
This event is triggerd when you connect to a server.
Parameters: $1 = Server

alias mta.disconnect <commands>
This event is triggerd when you disconnect to a server.
Parameters: $1 = Server, $2- = Reason

alias mta.join <commands>
This event is triggerd when a player joined.
Parameters: $1 = Server, $2 = ID

alias mta.kill <commands>
This event is triggerd when a player is killed or died.
Parameters: $1 = Server, $2 = ID, $3 = Killer ID

alias mta.part <commands>
This event is triggerd when a player leaves.
Parameters: $1 = Server, $2 = ID, $3- = Reason

alias mta.pm <commands>
This event is triggerd when a player PM's another player.
Parameters: $1 = Server, $2 = ID, $3 = Players nick, $4- = Text

alias mta.start <commands>
This event is triggerd when you opened MTA mIRC Admin

alias mta.text <commands>
This event is triggerd when a player says something.
Parameters: $1 = Server, $2 = ID, $3- = Text

Note: You can only have one event per script

Example 1:
alias mta.join {
 echo -a Hello world!
}
alias mta.join {
 echo -a Good evening!
}

If the alias mta.join is triggerd it will only echo "Hello world!".
If you want that both scripts are execute u must put the script together.

Example 2:
alias mta.join {
 echo -a Hello world!
 echo -a Good evening!
}

This will echo "Hello world!" and "Good evening!" both.