Code: Select all
set est [format %.2f $estPerMonth]
if {$est < 800.00} {
putserv "PRIVMSG $c :\002IN BW:\002 $in GB >>>>>> \002OUT BW:\002 $out GB >>>>>> \002TOTAL:\002 $tot GB >>>>>> \002ESTIMATED:\002 \0039 $est\003 GB"
}
else {
putserv "PRIVMSG $c :\002IN BW:\002 $in GB >>>>>> \002OUT BW:\002 $out GB >>>>>> \002TOTAL:\002 $tot GB >>>>>> \002ESTIMATED:\002 \0034 $est\003 GB"
}
it works fine for though that are below.
have missed something in the syntax?
P.s. the putserv's are on 1 line in the code