Commit Graph

19 Commits

Author SHA1 Message Date
sirDonovan
44bd86f9f3 Wi-Fi Plugin: various fixes/improvements
Fix giveaways becoming frozen/endless from hotpatching, fix possible
crash in lottery giveaways, simplify lottery drawings, and improve
wording in multiple statements
2015-04-04 08:15:20 -05:00
Cranham
ba249224a9 Wifi Plugin: Log what user have done giveaways
Log the user that the giveaway was done for in the modlog ontop of roomauth who did it

Wifi Plugin: Log what user have done giveaways

remove 'has'

Wifi Plugin: Log what user have done giveaways

Add back in the space.
2015-04-01 15:54:00 +01:00
Cranham
eb8421d157 Wifi Plugin: fix /showanswer
Fixes a case where /showanswer was not working correctly due to incorrect operators.
2015-03-31 00:09:10 +01:00
The Immortal
21d0390b00 Wi-Fi Plugin: Remove space in winning message 2015-03-11 22:01:48 +04:00
Siiilver
047d0243d3 Added in an exception in the IP checking part of the code.
Added an exception "matchUser.userid !== user.userid", so that the original user isn't recognized as an alt.
http://prntscr.com/6eyje8
2015-03-10 13:01:39 +05:30
codelegend
d37bff05cc wifi plugin: improve performance of alt checking 2015-03-07 16:42:10 +05:30
Rhythms
81256fdd22 Add aliases for wifi
well, ``lotto`` is a command, so it makes sense that ``join`` and ``leave`` have ``joinlotto`` and ``leavelotto`` as aliases in addition to ``joinlottery`` and ``leavelottery``.
2015-03-07 00:06:46 -07:00
Siiilver
fae8082cbb Fixed problems with guessing
Users weren't able to guess more than once in a question giveaway because their current name was in their list of previous names.
http://prntscr.com/6c5r4p

Added a line of code to fix that problem. Thanks to Cranham (and maybe a few others too) for pointing this out originally, btw.
2015-03-03 19:02:20 +05:30
codelegend
efb6d60fcd Revert "Wi-fi Plugin: Finish Exporting states" 2015-01-30 23:24:34 +05:30
Cranham
2982dc3cb9 Wi-fi Plugin: Finish Exporting states
following morfents commit but updating it for the wi-fi plugin aswell, to avoid issues after hotpatching

Wi-fi Plugin: Finish Exporting states

Wi-fi Plugin: Finish Exporting states

Fix build errors

Wi-fi Plugin: Finish Exporting states

Fix massive style errors I made with indentation
2015-01-28 21:51:41 +00:00
The Immortal
aacc51ac02 Wi-Fi Plugin: Allow unregistered users to join lotteries 2015-01-28 04:39:08 +04:00
Siiilver
5b8cb3ce30 Prevent guests from joining lotteries.
Fixed small error. ~_~
2015-01-27 17:27:38 +05:30
blazikenmask
b40252065f wifi plugin: export plugin data 2015-01-21 12:02:35 +05:30
blazikenmask
ae6ccd30a8 wifi plugin: remove unused object, some minor style changes 2015-01-19 17:29:09 +05:30
Cranham
fc26ef8df1 Wifi Plugin: Make questions less restrictive
Increase the answer field limit for answers; does not break the answer mechanics when I tested, also increasing the number of winners in lottos from 5 to 10. After a few days of having the script in the chat I feel these changes would be more suitable for it.

Wifi Plugin: Bug fixes aswell

fixing a issue of /giveaway end returning the 'access denied message' but still ending the giveaway

Wifi Plugin: Bug fixes aswell

Fixed /giveaway end from returning access denied message when it actually goes ahead with force ending
2015-01-16 05:40:29 +00:00
Cranham
fb8ecc7865 Wi-Fi Plugin: allow global staff to use script
Allows global staff have the ability to use the script in the room; if they wish to do so, any % or higher should have the ability to start a giveaway. Furthermore updating help commands to make them more convenient to type and use.

Wifi Plugin: Global staff giveaways + help

Wifi Plugin: Global staff giveaways + help
2015-01-13 07:05:25 +00:00
Cranham
ae49c9d0f7 Wifi Plugin: Fixing a command
Codelegend's previous commit broke one of the commands when tested, making the /ga command unreconized when trying to answer a question, This commit fixes that

Wifi Plugin: Fixing a command
2015-01-12 14:18:01 +00:00
blazikenmask
47f38b34e9 WiFi plugin: fix grammatical errors, slighly modify giveaway object 2015-01-11 18:53:50 +05:30
blazikenmask
3f898e67b4 add wifi plugin: giveaways 2015-01-03 14:27:35 +05:30