im trying to log sumthing in bold but the thing is that its reading sum text and it allways starts with bold but it dont allways finish with a bold iv tryed $strip($1-,b) also $remove($1-,bold) and then add bold but its not allways doing it right is there a diff way of doing it this is my code so far
on $1:TEXT:/\#*\ *[0-9]x /:#: {
var %pack-num = $1
var %pack-sent = $2
var %pack-size = $null
var %pack = $null
if ([ == $3) {
%pack-size = $3 $4
%pack = $strip($5-,b) $+ [color]
}
else {
%pack-size = $3
%pack = $strip($4-,b) $+ [color]
}
msg #gan-bot %pack-num %pack-sent %pack-size [bold] $+ %pack $+ [bold] TESTING [bold]TESTING[bold]
}
what im trying to do is make the %pack bold but it dont seem to work iv tryed loads of ways with ppls help and its confusing every1 iv added at the end of msg [ TESTING TESTING ] its only ment to make the last testing bold but half the time its making the first testing bold
is there a way of telling how manny bold there is in the text?