Nope i swear to god, it delete the bet ^^ - the script you posted its also writeing instant "[BET] Bet is Closed!" when you open a new bet!

I found a "own" solution:

Code:
    .timerbet.warn 1 60 msg $1 [BET] Bet will be closed in 30secs. 
    .timerbet.close 1 90 set %nomorebet 1
  }
  if %r == bet && !%bet.closed {
    if (%nomorebet == 1) { .msg $chan You cant place a bet atm. | halt }
    if !%bet.q && !%bet.bet { 
      set -u60 %bet.bet 1
      msg $1 [BET] There is no BET yet.
      return 
    }
   ...
    }
    msg $1 [BET RESULT] $+(<,$4-,>) was the winning option! $iif(%win,Winners are: %win - good luck for all others on the next bet!,There is no winner!)
    unset %bet.*
	set %nomorebet 0
    .timerbet.* off
  }
}


That is working like i want it. Not sure if my solution is bad.

Last edited by Kawalli; 23/04/14 05:17 AM.