PtokaX forum

Archive => Archived 5.1 boards => Finished Scripts => Topic started by: jiten on 09 July, 2006, 17:17:06

Title: Vote Bot
Post by: jiten on 09 July, 2006, 17:17:06
--[[

Vote Bot 1.021 - LUA 5.0/5.1 by jiten (7/11/2006)
??????????????????????????????????????????????

DESCRIPTION:
????????????
- Create polls;
- Add custom options to polls;
- Vote on a specific pole [a vote per IP and per poll];
- Change a poll's status [open/close];
- Show all polls;
- Show poll's votes;
- Delete polls.

CHANGELOG:
??????????
Added: Separator for each option added - requested by TT;
Added: Some SendToAll's to notify all users about votes and new polls;
Added: Send all available polls' ID, status and name on connect;
Added: Option to set bot's description and email;
Fixed: Bug when deleting polls - reported by UwV;
Fixed: Voting only parsed option' first string - reported by TT (7/10/2006);
Added: Option to show all polls with its content - requested by TT;
Added: Poll options are shown in the Options' Box - requested by (uk)jay;
Changed: Summary of available polls replaced with all votes per poll on Connect (7/11/2006)
Fixed: UserCommands weren't fully sent when there were no options in a poll - reported by TT;
Added: Report when options added didn't contain the separator;
Added: Vote Ratio per poll - idea by TTB (7/16/2006)

]]--
Title: Vote Bot 1.01 - LUA 5.0/5.1
Post by: jiten on 10 July, 2006, 15:58:13
First post has been updated with some additions to the code.
Title: Re: Vote Bot
Post by: UwV on 10 July, 2006, 17:05:54
great great great ..


UwV loves polls :0)

Title: Re: Vote Bot
Post by: UwV on 10 July, 2006, 18:09:03
just one little bug i think..
after deleting poll 1 poll 2 was gone too :0(

[19:01:51] <-=Polly=-> *** Poll: 'test poll' has been deleted from Database!
[19:02:00] <-=Polly=->

================================================================================
ID. Status: Poll
----------------------------------------------------------------------------------------------------------------------------------------------------------------

then after a new  1


================================================================================
ID. Status: Poll
----------------------------------------------------------------------------------------------------------------------------------------------------------------
1. *open* Txt List submenu should have sub sub menu for " main to all " and for " PM to you"
2. *open* Txt List submenu should have sub sub menu for " main to all " and for " PM to you"

but still..
Quote from: UwV on 10 July, 2006, 17:05:54
great great great ..


UwV loves polls :0)


i give Jilten 5 Karma points for this one :0)
Title: Vote Bot 1.01b - LUA 5.0/5.1
Post by: jiten on 10 July, 2006, 19:38:46
Quote from: UwV on 10 July, 2006, 18:09:03
just one little bug i think..
after deleting poll 1 poll 2 was gone too :0(

Thank you for your report, UwV.

I've updated the first post once more with this bugfix and the one reported by TT.
Title: Re: Vote Bot
Post by: Tw?sT?d-d?v on 10 July, 2006, 20:54:08
great work on this m8   
1 question ... is there any chance of when user votes on a poll , when the option box pops up
it can have what options are avaible on that poll ?

Title: Re: Vote Bot
Post by: jiten on 11 July, 2006, 11:36:40
Quote from: (uk)jay on 10 July, 2006, 20:54:08
1 question ... is there any chance of when user votes on a poll , when the option box pops up
it can have what options are avaible on that poll ?

Yes, I'll add them in the next update.
Title: Vote Bot 1.02 - LUA 5.0/5.1
Post by: jiten on 11 July, 2006, 17:34:21
First post has been updated with some add-ons to the code.
Title: Re: Vote Bot
Post by: UwV on 11 July, 2006, 20:37:45
jummie  ;)
Title: Vote Bot 1.021 - LUA 5.0/5.1
Post by: jiten on 16 July, 2006, 11:58:40
First post has been updated with some changes:


CHANGELOG:
??????????
Fixed: UserCommands weren't fully sent when there were no options in a poll - reported by TT;
Added: Report when options added didn't contain the separator;
Added: Vote Ratio per poll - idea by TTB (7/16/2006)
Title: Re: Vote Bot
Post by: UwV on 17 July, 2006, 12:28:20
Quote from: UwV on 11 July, 2006, 20:37:45
jummie ;)
Title: Re: Vote Bot
Post by: Mozzilla? on 02 December, 2006, 20:37:10
QuoteVote Bot 1.021 - LUA 5.0/5.1 by jiten (7/11/2006)
   ??????????????????????????????????????????????

   DESCRIPTION:
   ????????????
   - Create polls;
   - Add custom options to polls;
   - Vote on a specific pole [a vote per IP and per poll];
   - Change a poll's status [open/close];
   - Show all polls;
   - Show poll's votes;
   - Delete polls.

   CHANGELOG:
   ??????????
   Added: Separator for each option added - requested by TT;
   Added: Some SendToAll's to notify all users about votes and new polls;
   Added: Send all available polls' ID, status and name on connect;
   Added: Option to set bot's description and email;
   Fixed: Bug when deleting polls - reported by UwV;
   Fixed: Voting only parsed option' first string - reported by TT (7/10/2006);
   Added: Option to show all polls with its content - requested by TT;
   Added: Poll options are shown in the Options' Box - requested by (uk)jay;
   Changed: Summary of available polls replaced with all votes per poll on Connect (7/11/2006)
   Fixed: UserCommands weren't fully sent when there were no options in a poll - reported by TT;
   Added: Report when options added didn't contain the separator;
   Added: Vote Ratio per poll - idea by TTB (7/16/2006)

   Added by Mozzilla? - (02/12/2006)
      Leviathan Support - Profile [6] for HubOwners
      A message will be sent every xx mins to remind all users that there is/are active vote(s) in the hub (iDelay = xx)