FordLawnmower commented on a Page, Easy Google Translator  -  Jun 16, 2010

@kingc44. Well it actually sends the users lower than halfop a notice so you don't see it in the channel. Only the user who asked for the translation will see the result.
If you want to change it, I can give you two ways.
First:
This will make both triggers (!trans & @trans) message the channel.
Find this line in the script. (I have it at line 17)

 var %method $iif($regml(1) == !,.notice $nick,$iif($regex($nick($chan,$nick).pnick,/(!|~|&|@|%)/),.msg $chan,.notice $nick))

Replace it with this line:

var %method .msg $chan

Another way to change it would still allow you to use the !trans trigger to notice the user and the @trigger to message the channel.
To do this:
Find this line in the script. (I have it at line 17)

 var %method $iif($regml(1) == !,.notice $nick,$iif($regex($nick($chan,$nick).pnick,/(!|~|&|@|%)/),.msg $chan,.notice $nick))

Replace it with this line:

var %method $iif($regml(1) == !,.notice $nick,.msg $chan)

I'm glad you like the script and I hope this helps you Kingc44.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.