Version: 1.0.1+ #3193 (using KDE 3.5.7, Kubuntu (feisty) 4:3.5.7-0ubuntu1~feisty2) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.20-16-generic When I turned off variable expansion and entered /fortune in the window, then it don't make text bold and colorized instead of displaying weird sequences, like "%B%C4Random Fortune:%C%B". Maybe variable expansion should be enabled inside the script, or we should fine other way to solve this problem.
SVN commit 684873 by psn: Make fortune work when variable expansion is turned off BUG:146522 M +1 -1 fortune --- branches/extragear/kde3/network/konversation/scripts/fortune #684872:684873 @@ -25,7 +25,7 @@ srand; $LINE = RANDOM_INT(0,$TOTAL_LINES - 5); -$MESSAGE = "%B%C4Random Fortune:%C%B "; +$MESSAGE = "4Random Fortune: "; while (<FORTUNES>) { $LINE_COUNT++;