PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Request for scripts => Topic started by: crazytown232001 on 20 September, 2011, 06:32:45

Title: Question about Poll script...
Post by: crazytown232001 on 20 September, 2011, 06:32:45
Am I missing something or is this script outdated?  If so, does anyone have the updated script?

.Poll.Bot - TTB

http://forum.ptokax.org/index.php?topic=7922.0 (http://forum.ptokax.org/index.php?topic=7922.0)

It certainly has the 2.0 version, which seems to be the newest and claims to be converted, but it doesn't look like it.

I get this error:
"Syntax error! Note that the POLLNAME should be 1 word. Type: #polladd <pollname> <maxvotes1user> <nr of questions> <pollsubject/question>
Example: #polladd MyFirstPoll 1 2 Does it work?"

When I look at the code, it looks like it has different profiles than the current version:

-- The users with true are the OPs and do have extra settings!
Profiles = {
[-1] = false,  -- Users
[0] = true,   -- Masters
[1] = true,   -- OPs
[2] = false,   -- VIPs
[3] = false,   -- REGs
[4] = true,   -- MODs
[5] = true,   -- Founders