mIRC Home    About    Download    Register    News    Help

Print Thread
Help - Script #239295 10/10/12 12:24 PM
Joined: Oct 2012
Posts: 2
A
anthonytan Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
A
Joined: Oct 2012
Posts: 2
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.



Re: Help - Script [Re: anthonytan] #239296 10/10/12 02:11 PM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
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-)

Re: Help - Script [Re: Horstl] #239297 10/10/12 04:14 PM
Joined: Oct 2012
Posts: 2
A
anthonytan Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
A
Joined: Oct 2012
Posts: 2
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;)