mIRC Home    About    Download    Register    News    Help

Print Thread
#16764 24/03/03 08:38 PM
Joined: Feb 2003
Posts: 33
G
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Feb 2003
Posts: 33
I'v got 1 line from a channel on a server
somthing like an isonews bot ..
but i want to change the colors
so my question is is there a code to drop the bold (hidden) codes

here is en example of my script
Code:
 if ($nick = FuSioN86) {
    set %fusion.txt $1-
    if (speed == $3) {
      if (][ isin $6) { /scon 1 /msg #borax  $+ $1 $2 $3 $4 12 $+ $5  ][ $7 $8 7 $+ $9  $+ $10 $11 $12 $13 7 $+ $14  $+ $15 $16 $17 $18 7 $+ $19  $+ $20 }
    }
    if ($2 = upload) {
      if (: isin $5) { /scon 1 /msg #borax $1 $2 $3 12 $+ $4 $5  $+ $6 $7  $+ $8  $+ $9 $10 $11 }
    }
    else { /scon 1 /msg #borax %fusion.txt }


but for exemple $7 = black so when i put 12 in front of it .. it won't have effect ....

[ UPLOAD ][ TH : 83.39 KB/s : Clan : Lan_Part2003.03.21.avi ]

i hope you understand my question
"how can i drop those 'hidden' colour/bold/undeline codes?"


#16765 24/03/03 10:58 PM
Joined: Mar 2003
Posts: 12
H
Pikka bird
Offline
Pikka bird
H
Joined: Mar 2003
Posts: 12
$strip(text)
Returns text with all bold, underline, reverse, and color control codes stripped out.



Link Copied to Clipboard