mIRC Home    About    Download    Register    News    Help

Print Thread
#131339 28/09/05 08:35 PM
Joined: May 2005
Posts: 25
E
Er1C Offline OP
Ameglian cow
OP Offline
Ameglian cow
E
Joined: May 2005
Posts: 25
Hi!

I'm using this script now but it strips the complete lay-out (bold text, colors etc.)

How do I need to edit this script to keep them?

Code:
on $*:text:/\[(New|New2|New3|New4)\]/iS:#SOURCECHANNEL:{
  var %text = $strip($1-) 
  scon 2 bs say #ECHOHERE % $+ text
}

#131340 28/09/05 08:44 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Change $strip($1-) to $1-

Btw you can change that regex to: /\[New[234]?\]/iS



Gone.
#131341 28/09/05 08:56 PM
Joined: May 2005
Posts: 25
E
Er1C Offline OP
Ameglian cow
OP Offline
Ameglian cow
E
Joined: May 2005
Posts: 25
Quote:
Change $strip($1-) to $1-

Btw you can change that regex to: /\[New[234]?\]/iS



thnx, works !!


Link Copied to Clipboard