Randium (248158876799729664) on 12/26/2017 00:21:24


First of all, the prefix of this bot should be different from the @Werewolf Bot's ~. I'd say something like -, # or !, but we'll see. I'll use ! for now.

When setting up, the bot should have the following steps;

  1. The @Game Master role should be found with !setGM @Game Master
  2. The channel called #tavern should be found with !setTavern
  3. The channel called #haunted_house should be found with !setSpookyHouse

Step 1 can only be done by an administrator, while step 2 and 3 can be done by any @Game Masters.


Randium (248158876799729664) on 12/26/2017 00:34:19


In #haunted_house, the bot deletes every message that is being sent, except for its own (of course) and messages sent by @Game Masters and administrators. Note my grammar, it deletes messages that are being sent; it does not delete any messages from before !setSpookyHouse was typed, nor does it delete any messages that were sent when the bot was offline.


Randium (248158876799729664) on 12/26/2017 00:47:57


What it also does, is that it has a giant database of words. Every 15 seconds, the bot randomly picks 9 words (strings) out of the giant database (array of strings), and display them like this;

**BOO!** It's time for the **#tavern** to be haunted! Choose a word, and make up sentences! Choose one of the following words!
1. <word1>
2. <word2>
3. <word3>
4. <word4>
5. <word5>
6. <word6>
7. <word7>
8. <word8>
9. <word9>
Make a choice by typing the number of your choice in this chat!

Obviously, typing 5 will give you <word5>, and typing 3 will give you <word3>. Each message will be checked before it gets deleted. If it contains only a number from 1 to 9, then it will pick that word. The message will be deleted, and replaced by

Ah-ha! @<user> has chosen the word **<wordN>**!

Then, the bot will check if the last character in the chosen string is a ., a ! or a ? If not, then the bot will add <wordN> to its string (which is the sentence), wait 15 seconds, and repeat this process. If the string does end with either of those characters, then the following will happen;


Randium (248158876799729664) on 12/26/2017 00:50:07


The string <wordN> will be added to the long string (the sentence), and the sentence is being displayed in #tavern. Then, all messages sent by the Ghost Bot will be deleted in #haunted_house. The bot will wait 15 seconds, and then start over.


Randium (248158876799729664) on 12/26/2017 00:51:22


The bot also has a counter for inactivity. If nobody responds to its message after 60 seconds, the bot will delete its message, wait 5 minutes and resend its message with refreshed words.


Randium (248158876799729664) on 12/26/2017 00:52:27


@HurricanKai, this what I can think of, so far.


Randium (248158876799729664) on 12/26/2017 11:32:43


By the way, @HurricanKai, what do you think of the bot?


Randium (248158876799729664) on 12/26/2017 11:32:53


It should be easier than the @Werewolf Bot, I think. 😛


HurricanKai (140424290171486208) on 12/26/2017 11:34:19


its way easyer


HurricanKai (140424290171486208) on 12/26/2017 11:34:49


thought, i dont yet know how you delete any message


HurricanKai (140424290171486208) on 12/26/2017 11:34:55


ill have to find a way into the message received event


HurricanKai (140424290171486208) on 12/26/2017 11:35:03


but thats not your problem ;)


HurricanKai (140424290171486208) on 12/26/2017 11:38:07


oh, i woud like to add an "Word dictionary" too, so non-english people can look up a) the words on the list and b) the words in text msgs


Randium (248158876799729664) on 12/26/2017 11:39:04


Whaddaya mean? 🤔


Randium (248158876799729664) on 12/26/2017 11:39:23


You mean a dictionary for people who don't know some words?


Randium (248158876799729664) on 12/26/2017 11:39:53


I don't think we need that. If you don't speak English too well, then I don't think understanding the bot's words is your top priority. 😛


HurricanKai (140424290171486208) on 12/26/2017 11:42:16


@Randium nah, i mean mostly for messages in other channels, i can only speak from my perspective (and my english is realy bad), but i had to lookup a lot of words.


HurricanKai (140424290171486208) on 12/26/2017 11:42:24


but well


HurricanKai (140424290171486208) on 12/26/2017 11:42:35


we can discuss this when the main stuff is done


Randium (248158876799729664) on 12/26/2017 11:43:13


Yeah. I think that if you build this scheme, we're already really far.


Randium (248158876799729664) on 12/26/2017 11:43:21


Oh, and one more thing;


Randium (248158876799729664) on 12/26/2017 11:44:42


No, nevermind.


Randium (248158876799729664) on 12/26/2017 11:44:55


It is relevant, but not for the Ghost Bot.


Randium (248158876799729664) on 12/26/2017 11:45:50


Although, will it be possible to name the main program GhostBot.dll? I'd want to have the @Werewolf Bot's main file to be called WerewolfBot.dll as well, but that's concern for later.


Randium (248158876799729664) on 12/26/2017 11:46:05


That'll make it easier to differentiate which cmd is running which bot in the virtual machine. 😉


HurricanKai (140424290171486208) on 12/26/2017 11:47:07


yep


HurricanKai (140424290171486208) on 12/26/2017 11:47:18


i can also just include an bat for starting both :D


Randium (248158876799729664) on 12/26/2017 11:51:15


Hahah, really?


Randium (248158876799729664) on 12/26/2017 11:51:30


Althought that'd mean if one is down, then the other will be, too. 🤔


HurricanKai (140424290171486208) on 12/26/2017 11:53:53


nah


HurricanKai (140424290171486208) on 12/26/2017 11:54:37


i meant so you can just do script Start Ghost/Main script Stop Ghost/Main


Randium (248158876799729664) on 12/26/2017 12:16:55


Ohhh. Yeah, that'd be nice, actually.


Randium (248158876799729664) on 12/26/2017 12:17:01


Oh, that way.


Randium (248158876799729664) on 12/26/2017 13:49:25


I think I'd rather have the Ghost Bot and the @Werewolf Bot run separately. Makes it easier.


Randium (248158876799729664) on 12/26/2017 13:49:33


And if one crashes, then they don't crash both.


Randium (248158876799729664) on 12/26/2017 13:49:44


And it spares you some time, trying to knot the two bots together.


HurricanKai (140424290171486208) on 12/26/2017 14:00:50


Yep


Regicide (352867028719370252) on 01/02/2018 19:43:04


Maybe allow the ghosts to type an emoji fir a character name.


Buddy1913 (209126872783519745) on 01/07/2018 19:08:35


The current state ghost bot is unfit to be online


Buddy1913 (209126872783519745) on 01/07/2018 19:08:48


It should not have the roles in its banks of words


Buddy1913 (209126872783519745) on 01/07/2018 19:09:06


It's stretching the no contact rule to the extreme limit


HurricanKai (140424290171486208) on 01/15/2018 16:08:43


wanted to bring this up again before next season starts. I think the current ghost bot is not ready for the Game.

  1. It bends the "no contact" rule
  2. Its near impossible to make a usefull sentence
  3. it allows (not too havy, but some) spamm

HurricanKai (140424290171486208) on 01/15/2018 16:08:52


i think the idea has to be re-thought


HurricanKai (140424290171486208) on 01/15/2018 16:09:18


because i personaly like the idea of the ghosts having something todo, but like this, its just not fitting very well


Randium (248158876799729664) on 01/15/2018 20:15:08


What would you suggest as an alternative?