I found 2 possible bugs
1-
Quote:
putlog "VOTERESULT: \"\"$number\" \"[lindex $res 1]\" \"[lindex $res 0]\""
|
should be so:
putlog "VOTERESULT: \"$number\" \"[lindex $res 1]\" \"[lindex $res 0]\""
2-
Quote:
set variable(VOTERESULT) "%votes %option"
set announce(VOTERESULT) "-%sitename- \[VOTE\] + Number %number, %bold%option%bold got %bold%votes%bold votes."
|
should be so:
set variable(VOTERESULT) "%number %votes %option"
set announce(VOTERESULT) "-%sitename- \[VOTE\] + Number %number, %bold%option%bold got %bold%votes%bold votes."
With these changes it works for me