on *:text:%Bid:%c-cha:{
if (%Bid > 0) && (%Bid < 21) {
set %Win $nick
set %Bid 0
.timer 1 0 /msg %c-cha 0,1 stop | .timer 1 2 /msg %c-cha 8,1 Stop | .timer 1 3 /msg %c-cha 7,1 STop | .timer 1 4 /msg %c-cha 4,1 STOp | .timer 1 5 /msg %c-cha 1,4 S-T-O-P 1,1.....10 we have a 4WINNER | /query $me $nick just won
}
}
the on text event will not respond to the variable I have tried:
on *:text:*%Bid*:%c-cha:{}
but it will not accept the variable and respond to the variabe anywhere in the channle text.