Okay perhaps someone can help me again, i have now 2 Games - i want them to choosen random.

When i change the 10min timer to this:
Code:
.timer.game 0 5 $+(game,$rand(1,2)) $chan


It is chooseing the game random the first time, but stay then on that game. The timer isnt changeing!



So i thought about another alias and tried it this way:

Code:
on *:text:!on:#: {
  .timer.gameselecter 0 5 selected $chan
}

alias selected {
  .timer.random 1 0 $+(game,$rand(1,2)) $chan
}

alias game1 {
  set -n %word $read(wordlist.txt,n)
  /echo -a GAME1
  msg $1 Game: GAME1: %word
}

alias game2 {
  set -n %word $read(wordlist.txt,n)
  /echo -a GAME2  
  msg $1 Game: GAME2 %word
}



The strange thing is now:
The "echo" is working but there is NO message - when i execute game1 or game2 with the first timer without the random thing - its working perfect.

Please someone? laugh

Last edited by Krawalli; 12/12/14 04:37 PM.