This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

help to change a voting script (aVote by arcane)

Support & discussion of released scripts, and announcements of new releases.
Post Reply
c
cusco
Voice
Posts: 4
Joined: Thu Jun 01, 2006 7:38 pm

help to change a voting script (aVote by arcane)

Post by cusco »

hello! Im using aVote by arcane english version
( http://www.egghelp.org/cgi-bin/tcl_arch ... oad&id=789 )

We have a world cup channel and I made a poll, who would win the world cup, and I have set 12 countrys as possible answers..

has we have quite some joins ... the bot sending more than 12 notices per join is a bit too much!!

maybe anyone here could tell me how to change it in order to get all the possible answers in one line

---
the piece of code that makes it:

Code: Select all

...
puthelp "NOTICE $nick :Estado dos votos:"
for {set number 0} {$number < [llength $vanswers]} {incr number} {
puthelp "NOTICE $nick :\"[lindex $vanswers $number]\": [lindex $vcount $number]"
...
now this will send something like:

19:01 -Mundial(Mundial@127.62.3.90)- Estado dos votos:
19:01 -Mundial(Mundial@127.62.3.90)- "Alemanha": 1
19:01 -Mundial(Mundial@127.62.3.90)- "Argentina": 2
... and so on!!!

Would it be possible to make it say like 19:01 -Mundial(Mundial@127.62.3.90)- "Alemanha": 1, "Argentina": 2, "Brasil":3, "Equador":0, .... and so on!


thanks in advance
Post Reply