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;
!setGM @Game Master!setTavern!setSpookyHouseStep 1 can only be done by an administrator, while step 2 and 3 can be done by any @Game Masters.
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.
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;
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.
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.
@HurricanKai, this what I can think of, so far.
By the way, @HurricanKai, what do you think of the bot?
It should be easier than the @Werewolf Bot, I think. 😛
its way easyer
thought, i dont yet know how you delete any message
ill have to find a way into the message received event
but thats not your problem ;)
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
Whaddaya mean? 🤔
You mean a dictionary for people who don't know some words?
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. 😛
@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.
but well
we can discuss this when the main stuff is done
Yeah. I think that if you build this scheme, we're already really far.
Oh, and one more thing;
No, nevermind.
It is relevant, but not for the Ghost Bot.
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.
That'll make it easier to differentiate which cmd is running which bot in the virtual machine. 😉
yep
i can also just include an bat for starting both :D
Hahah, really?
Althought that'd mean if one is down, then the other will be, too. 🤔
nah
i meant so you can just do script Start Ghost/Main script Stop Ghost/Main
Ohhh. Yeah, that'd be nice, actually.
Oh, that way.
I think I'd rather have the Ghost Bot and the @Werewolf Bot run separately. Makes it easier.
And if one crashes, then they don't crash both.
And it spares you some time, trying to knot the two bots together.
Yep
Maybe allow the ghosts to type an emoji fir a character name.
The current state ghost bot is unfit to be online
It should not have the roles in its banks of words
It's stretching the no contact rule to the extreme limit
wanted to bring this up again before next season starts. I think the current ghost bot is not ready for the Game.
i think the idea has to be re-thought
because i personaly like the idea of the ghosts having something todo, but like this, its just not fitting very well
What would you suggest as an alternative?