Jump to content

I not understand the IRC echo Script (by lil_Toady)


chrislabricole

Recommended Posts

Hi

(sorry for my bad english...)

I not understand the IRC echo Script !

My configuration :

;echo script by lil_Toady. If you want to suggest something PM me on the mta forums. 
on *:START:{ 
  set %echoserverid 5 
  set %echochan #funserversa 
} 
on *:TEXT:*:%echochan:{ 
  if ($1 == !msg) mta.text %echoserverid $nick $+ : $2- 
  elseif ($nick isop %echochan) { 
    if ($1 == !kick) mta.kick %echoserverid $mta.getid(%echoserverid,$2) 
    elseif ($1 == !freeze) mta.freeze %echoserverid $mta.getid(%echoserverid,$2) 
    elseif ($1 == !unfreeze) mta.unfreeze %echoserverid $mta.getid(%echoserverid,$2) 
    elseif ($1 == !mute) mta.mute %echoserverid $mta.getid(%echoserverid,$2) 
    elseif ($1 == !unmute) mta.unmute %echoserverid $mta.getid(%echoserverid,$2) 
    elseif ($1 == !ban) mta.ban %echoserverid $mta.getid(%echoserverid,$2) 
  } 
} 
on *:QUIT:{ 
  if ($chan == %echochan) mta.text %echoserverid $nick has left the IRC channel! 
} 
on *:JOIN:{ 
  if ($chan == %echochan) mta.text %echoserverid $nick has joined the IRC channel! 
} 
on *:SIGNAL:mta.text:{ 
  if ($1 == %echoserverid) /msg %echochan $mta.nick($1,$2) $+ : $3- 
} 
on *:SIGNAL:mta.adcon:{ 
  if ($1 == %echoserverid) /msg %echochan 5 $+ Admin: $3- 
} 
on *:SIGNAL:mta.join:{ 
  if ($1 == %echoserverid) /msg %echochan 3 $+ $mta.nick($1,$2) has joined the game. 
} 
on *:SIGNAL:mta.part:{ 
  if ($1 == %echoserverid) { 
    if ($3 == 1) /msg %echochan 3 $+ $mta.nick($1,$2) has been kicked. 
    elseif ($3 == 2) /msg %echochan 3 $+ $mta.nick($1,$2) has been banned. 
    elseif ($3 == 3) /msg %echochan 3 $+ $mta.nick($1,$2) timed out. 
    else /msg %echochan 3 $+ $mta.nick($1,$2) has left the game. 
  } 
} 
on *:SIGNAL:mta.freeze:{ 
  if ($1 == %echoserverid) /msg %echochan 3 $+ $mta.nick($1,$2) Frozen 
} 
on *:SIGNAL:mta.mute:{ 
  if ($1 == %echoserverid) /msg %echochan 3 $+ $mta.nick($1,$2) Muted 
} 

but, the channel #funserversa

is on the irc.gtanet.com server....

Where can I configure it ?....

Thanks for your helping! :D

Link to comment
  • Recently Browsing   0 members

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