mIRC Homepage

Help - Script

Posted By: anthonytan

Help - Script - 10/10/12 12:24 PM

on *:TEXT:*Trigger*:#:{
/msg $me $address($nick,2) Triggered
}


Hi

Currently i'll receive a pm (*!*@abc.com Trigger)

i need help to change the *!*@abc.com to *@abc.com ??

any idea? pls.


Posted By: Horstl

Re: Help - Script - 10/10/12 02:11 PM

Manipulate your string with text- and token identifiers.
But instead of $address(nick,N) which relies on the IAL, I'd use some identifier that is directly associated with the event ($fulladdress, $address, $wildsite or $site):
Code:
*@ $+ $site
or
Code:
$mid($wildsite,3-)
Posted By: anthonytan

Re: Help - Script - 10/10/12 04:14 PM

Originally Posted By: Horstl
Manipulate your string with text- and token identifiers.
But instead of $address(nick,N) which relies on the IAL, I'd use some identifier that is directly associated with the event ($fulladdress, $address, $wildsite or $site):
Code:
*@ $+ $site
or
Code:
$mid($wildsite,3-)


Hey Horstl,

I didn't know there is $site etc. Thank alot;)
© 2020 mIRC Discussion Forums