mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2006
Posts: 1
F
Mostly harmless
OP Offline
Mostly harmless
F
Joined: Jul 2006
Posts: 1
hello... I am looking for a script that will get some text from channela and put it into a command...

explanation:
channel:
xxx21 new pack #2 losos - to get it type /msg xxx21 xdcc send #2

script
so when this appears in the channel i need the script to write /msg xxx21 xdcc send #2

and of course, 2 is variable.)
it would be great if anyone can help me with this.)

thanks

Joined: Jul 2005
Posts: 40
K
Ameglian cow
Offline
Ameglian cow
K
Joined: Jul 2005
Posts: 40
Quote:

channel:
xxx21 new pack #2 losos - to get it type /msg xxx21 xdcc send #2


Code:
on *:TEXT:*:#: { 
if ($regex($1-,/\w+ new pack .+? to get it type /msg (.+?)$/) == 1) {
 /msg $regml(1)
}
}


Dunno if it's correct .. try it xD
Maybe add .echo -q $regex($1-,/\w+ new pack .+? to get it type /msg (.+?)$/)

try :S


j0k3r @ k4s.ch

Link Copied to Clipboard