mIRC Home    About    Download    Register    News    Help

Print Thread
#104005 28/11/04 12:01 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
somone that know how i can make a script that reacts on crap pasted to the channel ? the messages looks like:

« nick » ba7 0f 47 ce670e 08d 46f 7350b34b34:b076

its variated from time to time.. so i cant just kick on that sentence. but the messages allways looks the same way, the :numbers allwats exist at the end of the line, its a bit anoying, and dosent mather if i ban the nick's host, he just returrn on a new ip, then a message get pasted to the channel.. and it looks like the numbers just are random generated. another example:

« nick » ba6 0f 88 ce670e 08d 46f 7350b34b34:b045

:tongue:


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#104006 28/11/04 11:29 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
what about .....
if ($len($1) $len($2) $len($3) $len($4) $len($5) $len($6) $len($7) == 3 2 2 6 3 3 15) && ($mid($7,11,1) == smile { kick em! }

#104007 29/11/04 12:18 AM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
/help iswm

The question mark ? represents 1 character.
The asterisk * represents 0 or more characters.


Gone.
#104008 29/11/04 03:23 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Hmmm that would be a lot better than what i suggested... lol the colon and bracket in my code changed into a smile


Link Copied to Clipboard