Jump to content

MTAma / MTAma GRS & mIRC


Recommended Posts

This is what i have set up:

IRCXpro Server (IRC server)

MTA SA 1.1.1 race Server

MTAma ma 4.15

MTAma GRS 4.14

DreamBot 5.4 (IRC bot)

and a view other scripts

what i want

It cannot set up a connection between mIRC (the bot) and the mta server (MTAma GRS). Can anybody tell me how to do that?

More specefic what i want is that everybody can type in IRC !m so the message will show up in the MTA chat. + The status of the user: is it an admin or a normal user and that he is on IRC.

Hope someone can help me.

Link to comment

on *:text:*:#:{
if ($1 == !talk) /mta.text 1 $nick on irc: $2-
}

mta.text = text that will be send to ingame

mta.command = a command used from ingame to trigger a script

mta.pm = to use pm's to players

mta.freeze = a command to freeze players

and quess what the rest is

Link to comment

This is what i got now, and it works!

alias my.echo { 
 if ( IRC: !isin $1-) { 
   if (Admin isin $2) !msg #mtaserver $3- 
   else !msg #mtaserver $2- 
 } 
} 
on *:TEXT:*:#mtaserver:{ 
if ($1 == !m) /mta.text 1 $nick [iRC]: $2- 
}

This is what it is doing. It communicate throw IRC whit command "!m " to the MTA chat whit nickname. And all messages typed in the MTA chat will show up in the IRC client whitout the nickname.

But i want that all messages typed in the MTA chat showing up in IRC also whit the nickname who have typed it.

What do i have to edit in this script?

Link to comment
  • Recently Browsing   0 members

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