VoteBot 9000 Commands and Usage

Page 1 of 3 1, 2, 3  Next

View previous topic View next topic Go down

VoteBot 9000 Commands and Usage

Post by Rainboy on Tue Oct 08, 2013 12:23 am

This thread will serve to document the new VoteBot's commands and how to use them. Players only need to worry about the in and vote commands; the rest are for hosts. A host is designated as the first poster in a thread.

[in]:
The in command is used to join a game after signups are opened. If you wish to remove yourself from the game, you can use [out] to do so. Finally, hosts may add any user who has posted in the thread (in case they forget to post [in]) by using the [add <username>] command. Hosts may also use [remove <player>] to take a player out of the game.

[vote <player>]:
The vote command is used (unsurprisingly) to vote another player in the lynch. The bot allows for No Lynch to be specified, but the host won't necessarily count No Lynch as a valid vote. To change your vote, just use vote command again. If you want to remove your vote without voting for another player, you may use [unvote] or [abstain], which both do the same thing.

Example: [vote rain]



[signups <open|closed>]:
The signups command enables or disables player's ability to use the in command. Where I come from, hosts sometimes post their threads before their turn so they can let other players check out the thread. [signups open] will also let the bot know that you wish for the game to be tracked. If it is not used, the bot won't track the game and won't post tallies.

[start]:
Used to tell the bot the game is starting. Implies [signups closed] and is used when there is a round zero phase of the game. If the game starts with round one, hosts can just use [dawn].

[dawn]:
Used to tell the bot that a round has ended. Should be placed at the bottom of each round's ending post, below any other commands in the post. Implies [start]. In games with two phases (night and day), [dusk] can be used to tell the bot that day has ended and voting is closed without ending the round.

[kill <player>]:
Used to tell the bot a player has died, and the bot will update the playerlist and votes accordingly. A reason can optionally be given ([kill <player>, <reason>]) which the bot will use in its description in the playerlist. If a player was attacked or had some other significant event, the [log <player>, <information>] command may be used to add a description without marking the player as dead. Finally, dead players may be brought back into the game at a later point by using [revive <player>].

[replace <old player>, <new player>]:
Used to tell the bot that an old player has been replaced by a new one. Note that the bot will consider this command invalid until the new player has posted anywhere in the thread.

[story <title>]:
Used to tell the bot that this post is worth linking to in his main post. You can optionally give it a title for him to display; if no title is given, he will use the round number as a title.

And that's about it, folks. I've omitted a few of the seldom used commands in an attempt to keep things as easy to understand as possible. Feel free to ask any questions you want; I'll answer to the best of my ability. If a situation arises where one of those unmentioned commands would be useful, I'll mention it then.



Coding Progress: 95%
I've finished abstracting out old code to make room for the code that will be required for the bot to run on two different forums. Next I'll start setting the bot up to work with these forums. Then I'll need some volunteers to help me test out a mock game so we can iron out any remaining bugs. Check!

Update: The bot can now post and do some simple thread parsing. Still doesn't know how to delete or edit posts, or how to read/send PMs. (Though PMing is not actually used as of yet, so that functionality will not hinder his initial setup.)

Update 2: Bot can now track games, but does not know how to figure out which threads to read on a board. For now, I'm manually telling him which threads he should watch.

Update 3: Yay for testing! We've finished our first game with the bot without any major issues. I'm currently working on implementing boards and a feature to allow players to hide their commands.

[signups open]


Last edited by Rainboy on Sat Jan 11, 2014 12:58 am; edited 8 times in total
avatar
Rainboy
Bot Owning Guy
Bot Owning Guy

Posts : 348
Join date : 2013-04-17
Age : 23

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by DA on Wed Oct 09, 2013 2:44 am

I'm in for the Mock Game testing.
Let's see if we can rally some troops.
[in]

_________________
"Hey! The secret to health, happiness, a successful marriage and a booming business is simple. All you need is puns! No more trotting out boring old "Good morning" and "Goodnight". When you greet people, do it with a smile and a bit of horseplay. Try a "Good marening" or a "Goodneight"! Before long, you'll be the most popular punner in the town, neigh, the world! Remember: you'll be galloping your way towards happiness with laughter as your steed."
avatar
DA
Owns this joint
Owns this joint

Posts : 655
Join date : 2012-06-10
Age : 23
Location : South of the border, down Mexico Way

View user profile http://boredman-da.tumblr.com/

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Gam on Wed Oct 09, 2013 3:54 am

Sure.
[in]
avatar
Gam
Vintage Guy
Vintage Guy

Posts : 468
Join date : 2012-06-11
Location : Location: Location: Location: Location...

ANV Character
Name: Wibli
HP:
775/800  (775/800)
TP:
475/500  (475/500)

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Shadi on Wed Oct 09, 2013 7:43 am

I think it's only set to read specific sections, not sure this is set as one.
avatar
Shadi
Final Fight Guy
Final Fight Guy

Posts : 347
Join date : 2013-04-14
Age : 23
Location : Creepin' from the dark

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Scept on Wed Oct 09, 2013 7:51 am

Fffffffffffine.
[in]
avatar
Scept
Vintage Guy
Vintage Guy

Posts : 1100
Join date : 2012-06-15
Age : 23
Location : In the Corner O' Shame; Northwestern Iowa

ANV Character
Name: Lynn
HP:
520/600  (520/600)
TP:
1400/1500  (1400/1500)

View user profile http://sceptilianblade.deviantart.com

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by MrNaleIt on Wed Oct 09, 2013 8:43 am

Only to see if I'll like it or not.

I'm in. [in]
avatar
MrNaleIt
Vintage Guy
Vintage Guy

Posts : 532
Join date : 2012-06-13
Age : 23
Location : Location, Location

ANV Character
Name: Truck
HP:
800/800  (800/800)
TP:
490/500  (490/500)

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Rainboy on Wed Oct 09, 2013 8:49 am

Shadi wrote:I think it's only set to read specific sections, not sure this is set as one.
The bot can be set up to read specific sections or threads. I'll have him reading this thread to test him out when the time comes.
avatar
Rainboy
Bot Owning Guy
Bot Owning Guy

Posts : 348
Join date : 2013-04-17
Age : 23

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Shadi on Wed Oct 09, 2013 10:20 am

MrNaleIt wrote:Only to see if I'll like it or not.

I'm in. [in]
It needs to be bold, not size 1
avatar
Shadi
Final Fight Guy
Final Fight Guy

Posts : 347
Join date : 2013-04-14
Age : 23
Location : Creepin' from the dark

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by StalinCommander on Wed Oct 09, 2013 2:10 pm

Well, let's get it going then.

[in]

_________________
Cloak wrote:HE TEMPTED ME WITH PROMISES OF EQUALITY AND VICTORY SHARED AMONGST THE PEOPLE!


[12:55:11 AM] Zyquux: inb4 stalin is playing us all

Zyquux wrote:From now on, I'm voting Stalin day one.
avatar
StalinCommander
Guy in Charge
Guy in Charge

Posts : 905
Join date : 2012-06-10
Age : 99
Location : Moscow, Motherland

ANV Character
Name: Dr. Vladiovich Von Krusteacov Ruskieman
HP:
308/400  (308/400)
TP:
920/1000  (920/1000)

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Link Lab on Wed Oct 09, 2013 2:27 pm

Hmmm..........Nale's post gave me an idea. I wonder if it will work. I guess we'll find out when the time comes.
[in]



Last edited by Link Lab on Tue Oct 15, 2013 12:44 pm; edited 4 times in total

_________________
Nintendo Network ID: Link_Lab
avatar
Link Lab
Guy in Charge
Guy in Charge

Posts : 593
Join date : 2012-06-11
Age : 26
Location : Kakariko City, Hyrule

ANV Character
Name: Eliot Egawa
HP:
400/400  (400/400)
TP:
920/1000  (920/1000)

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Yoshi on Wed Oct 09, 2013 2:27 pm

I"mma do several things to this monster.

[in] [make me a taco] [insult amy]

that should cover all the bases.


Last edited by Yoshi on Wed Oct 09, 2013 9:10 pm; edited 1 time in total
avatar
Yoshi
Vintage Guy
Vintage Guy

Posts : 476
Join date : 2012-09-23
Age : 32
Location : Above you.

ANV Character
Name: Kit
HP:
680/800  (680/800)
TP:
500/500  (500/500)

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by French Connections on Wed Oct 09, 2013 5:15 pm

Sp[in] to w[in]!
Fyi Votebot 9000 is female.


Last edited by French Connections on Wed Oct 09, 2013 9:49 pm; edited 1 time in total
avatar
French Connections
Vintage Guy
Vintage Guy

Posts : 476
Join date : 2013-01-24
Age : 27
Location : In the ghetto

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by MrNaleIt on Wed Oct 09, 2013 7:44 pm

Shadi wrote:
MrNaleIt wrote:Only to see if I'll like it or not.

I'm in. [in]
It needs to be bold, not size 1
what if it's both?
avatar
MrNaleIt
Vintage Guy
Vintage Guy

Posts : 532
Join date : 2012-06-13
Age : 23
Location : Location, Location

ANV Character
Name: Truck
HP:
800/800  (800/800)
TP:
490/500  (490/500)

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Shadi on Wed Oct 09, 2013 7:53 pm

I ... actually don't know, never tried lol.

However I think when you

Code:

[b]
hi
[/b]
I think it didn't work
It needed to be

Code:
[b]hi[/b]
Not sure how the code reads the posts..


Last edited by Shadi on Wed Oct 09, 2013 7:54 pm; edited 2 times in total
avatar
Shadi
Final Fight Guy
Final Fight Guy

Posts : 347
Join date : 2013-04-14
Age : 23
Location : Creepin' from the dark

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Scept on Wed Oct 09, 2013 7:54 pm

MrNaleIt wrote:what if it's both?
BOTH 
avatar
Scept
Vintage Guy
Vintage Guy

Posts : 1100
Join date : 2012-06-15
Age : 23
Location : In the Corner O' Shame; Northwestern Iowa

ANV Character
Name: Lynn
HP:
520/600  (520/600)
TP:
1400/1500  (1400/1500)

View user profile http://sceptilianblade.deviantart.com

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Rainboy on Wed Oct 09, 2013 8:34 pm

Shadi wrote:I ... actually don't know, never tried lol.

However I think when you

Code:

[b]
hi
[/b]
I think it didn't work
It needed to be

Code:
[b]hi[/b]
Not sure how the code reads the posts..
The bot is coded to ignore whitespace such as extra lines, but it will not accept extra tags around the command (this prevents it from accepting commands that are in quotes) nor will it accept extra characters or commands inside the same bold tag (fixing this is on my todo list for the bot).

Works:
Code:
[b][hi][/b]
Code:
[b]
[hi]   [/b]
Code:
[b][hi][/b]
[b][hello again][/b]

Doesn't work:
Code:
[quote="Shadi"][b][hi][/b][/quote]
Code:
[b][hi]
[hello again][/b]
Code:
[b][hi] Shadi[/b]
avatar
Rainboy
Bot Owning Guy
Bot Owning Guy

Posts : 348
Join date : 2013-04-17
Age : 23

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Zyquux on Thu Oct 10, 2013 1:06 am

I FOR ONE HAIL OUR NEW ROBOT OVERLORDS

[in]
avatar
Zyquux
Vintage Guy
Vintage Guy

Posts : 855
Join date : 2012-06-19
Age : 24
Location : Galactic Sector ZZ9 Plural Z Alpha

ANV Character
Name: CRUSHSMASH THE SMASHCRUSHER
HP:
380/600  (380/600)
TP:
1420/1500  (1420/1500)

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by MrNaleIt on Thu Oct 10, 2013 7:56 am

Rainboy wrote:
Works:
Code:
[b][hi][/b]
Code:
[b]
[hi]   [/b]
Code:
[b][hi][/b]
[b][hello again][/b]
Doesn't work:
Code:
[quote="Shadi"][b][hi][/b][/quote]
Code:
[b][hi]
[hello again][/b]
Code:
[b][hi] Shadi[/b]
what about [hi] with the bold around the size?
avatar
MrNaleIt
Vintage Guy
Vintage Guy

Posts : 532
Join date : 2012-06-13
Age : 23
Location : Location, Location

ANV Character
Name: Truck
HP:
800/800  (800/800)
TP:
490/500  (490/500)

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Link Lab on Thu Oct 10, 2013 9:20 am

Considering it doesn't accept the fifth or sixth code, no, that won't work. I see that my idea would also fail which is kinda unfortunate. It would be nice to "hide" the commands using color and size tags. That said, I completely understand why it doesn't work.

_________________
Nintendo Network ID: Link_Lab
avatar
Link Lab
Guy in Charge
Guy in Charge

Posts : 593
Join date : 2012-06-11
Age : 26
Location : Kakariko City, Hyrule

ANV Character
Name: Eliot Egawa
HP:
400/400  (400/400)
TP:
920/1000  (920/1000)

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Rainboy on Sat Oct 12, 2013 7:47 pm

Minor update:
I've got the proper abstractions in place and fixed most of the bugs that the change introduced in the old code. My next step is to start creating the code that will allow the bot to interface with this forum. Fall break means I'll have substantial time over Monday and Tuesday to do this, and I might have something we can start testing very soon.
avatar
Rainboy
Bot Owning Guy
Bot Owning Guy

Posts : 348
Join date : 2013-04-17
Age : 23

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Yoshi on Sun Oct 13, 2013 11:16 pm

You should so make [insult amy] a thing.
avatar
Yoshi
Vintage Guy
Vintage Guy

Posts : 476
Join date : 2012-09-23
Age : 32
Location : Above you.

ANV Character
Name: Kit
HP:
680/800  (680/800)
TP:
500/500  (500/500)

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Scept on Mon Oct 14, 2013 4:15 am

No you shouldn't.
avatar
Scept
Vintage Guy
Vintage Guy

Posts : 1100
Join date : 2012-06-15
Age : 23
Location : In the Corner O' Shame; Northwestern Iowa

ANV Character
Name: Lynn
HP:
520/600  (520/600)
TP:
1400/1500  (1400/1500)

View user profile http://sceptilianblade.deviantart.com

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by VoteBot 9000 on Mon Oct 14, 2013 6:22 pm

Initalizing launch sequence...

...

Hello, humans. I am your new master.

_________________
CURRENT STATUS: Potentially decomissioned
avatar
VoteBot 9000
Artificial Guy
Artificial Guy

Posts : 31
Join date : 2013-10-07
Age : 11
Location : MAFIA BOARD

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Zyquux on Mon Oct 14, 2013 7:12 pm

ALL HAIL VOTEBOT
avatar
Zyquux
Vintage Guy
Vintage Guy

Posts : 855
Join date : 2012-06-19
Age : 24
Location : Galactic Sector ZZ9 Plural Z Alpha

ANV Character
Name: CRUSHSMASH THE SMASHCRUSHER
HP:
380/600  (380/600)
TP:
1420/1500  (1420/1500)

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Yoshi on Mon Oct 14, 2013 8:11 pm

HA,sucks to be all of you,luckily i am a raichu.
avatar
Yoshi
Vintage Guy
Vintage Guy

Posts : 476
Join date : 2012-09-23
Age : 32
Location : Above you.

ANV Character
Name: Kit
HP:
680/800  (680/800)
TP:
500/500  (500/500)

View user profile

Back to top Go down

Re: VoteBot 9000 Commands and Usage

Post by Sponsored content


Sponsored content


Back to top Go down

Page 1 of 3 1, 2, 3  Next

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum