# unterpunkt
if(/^ \d/) {
if(@slide) {
- print "<slide>\n";
- print STDERR "$topics[$topic]\n";
+ $action=$actions[int(rand($#actions))];
+ if(length($action)>0) {
+ if(int(rand(2))==1) {
+ $action.=", blend";
+ }
+ }
+ else {
+ if(int(rand(2))==1) {
+ $action.="blend";
+ }
+ }
+ if(length($action)>0) {
+ $action=" effect=\"$action\"";
+ }
+ print "<slide$action>\n";
+ print STDERR "$topics[$topic] $action\n";
print "<header size=\"20\" fgcolor=\"#22FF22\">$topics[$topic]</header>\n<text></text>\n";
foreach(@slide) {
if(/^ \+ /) {