mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2003
Posts: 3
C
Self-satisified door
OP Offline
Self-satisified door
C
Joined: Oct 2003
Posts: 3
Ok..

I'm sure you all have seen those nice spam/trojan "Double Click Here" URL PM's that are going around on some networks. Well we have a small infestation of them over on our network atm, and while the Oper's are dealing with them, I thought perhaps a REMOTE script, that would detect the text string they use, and auto-message services to do a G-Line would be handy.

The problem is, I can't find a way to get the @host part of their [email]User@host[/email], so that I can include it in the command syntax for our services. *!*@host doesn't work.. it has to be *@host (Pesky undernet coders).


Any help on this would be greatly appreciated as these pests keep coming in and out of channels then PM'ing their spam/virus to all the members of the channels...



Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
In an on TEXT/ACTION:
$site gives the host part
$+(*@,$site) gives *@host
$address gives [email]user@host[/email]

Joined: Jan 2003
Posts: 45
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Jan 2003
Posts: 45
Code:
 $right( $address( $nick ,2) , $calc( $len( $address( $nick ,2) ) -2 ) ) 


Code:
  $gettok( $address( $nick ,2),2,33) 


You can better do with regex, but i don't get that yet :-p

Last edited by rela; 14/11/03 10:23 AM.

@#botwars @Kreynet
Joined: Dec 2002
Posts: 397
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
if your useing SRVX +x hides the persons @host and stuff so u need to msg opserv (if your opers) to get it sometimes you can also get IPs and stuff


Need amazing web design for low price: http://www.matrixn3t.net
Joined: Apr 2003
Posts: 426
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 426
$wildsite
Returns the address of the user who triggered an event in the form *!*@host.


--------
mIRC - fun for all the family (except grandma and grandpa)
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
From the original post:
*!*@host doesn't work


Link Copied to Clipboard