Quote:
hi,no i never asked for it to by turned on again original post said i need it to be turned off...ok i need it so when a certain nick announces..it strips the colour, bold just for that nick..
its going to be striping what a paticular bot says..and once its been striped i then send a msg to chan..such as..thankyou etc..hope this is a bit clearer to understand smile

il paste some of the code i am trying to work it in to

on *:text:ok**:#test: {
if (($nick == chanbot) && (mybot == $me) {
var %text = $1-
var %filename = mytext.txt
var %filelines = $lines(%filename)
var %found = false, %foundline, %matched, %i = 1
while (%i <= %filelines) {
var %readfile = $read(%filename,%i)
if (%readfile isin %text) { %found = true | %foundline = $readn | %matched = %readfile }
inc %i
}
if (%found == true) { goto tests-1 }
}
if (%found == false)
/msg #test 4[0this is good4]
goto end


at the mo chanbot is all in bold with colour so my script isnt picking it up..but when i turn off all bold,colour etc it works fine...but i do need my other bold,strip left on for rest of nicks..just for chanbot i need it turned off smile


The only problem i see with either scripts is that the STRIP tag is not included with the $strip evaluation

using $strip alot in my server scripts you have to add a tag to $strip so example

on ^*:TEXT:*:#:{
if ($nick == THENICK) { echo # $+(<,$nick,>) $strip($1-,bc) | halt }
}

will strip the color and bold out of the text and halt previous text however, should you have another ON TEXT script the HALT portion of this script will conflict but still achieve what you want

tag B = Bold
tag U = Underline
tag C = Color
tag R = Highlight
the rest i dont know I have not used them