mIRC Home    About    Download    Register    News    Help

Print Thread
#128461 25/08/05 02:12 PM
Joined: Aug 2005
Posts: 14
Eddy2k5 Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Aug 2005
Posts: 14
k, here it goes, when my sitebot do this:

-BOT- [BOT] + Eddy launches new MP3-PRE called Testing.Announce.2-PR3D (0.00M in 0F) in MP3

how can i e.g: msg a part of this pre to another channel??

here is what i want:

msg #test !add %release %section

after that msg #test !size %release %MB %Files

is it possible to make that? anyways i would thank the guy who help me out of this wink

#128462 25/08/05 06:29 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Assuming the format stays the same, and the message is this:

Eddy launches new MP3-PRE called Testing.Announce.2-PR3D (0.00M in 0F) in MP3

try somethign along the lines of:

Code:
on *:TEXT:*launches new *MP3-PRE*:#: {
  var %regex = /.* called (.*) \(([0-9\.]+)M in ([0-9])F\) .*/i
  if ($regex(pre,$1-,%regex)) {
    /msg #test !size $regml(pre,1) $regml(pre,2) $regml(pre,3)
  }
}

Last edited by KingTomato; 25/08/05 07:11 PM.

-KingTomato

Link Copied to Clipboard