Simple Tutorial: Twitch Chat Bot Point System C# [Part 5]



Long video but necessary to teach how to set up a point system for your bot.

Also introduces file manipulation

source

42 comments

  • Ladonna Morales 2 years ago

    Go To The google search And then Type: FreeCodesXXX It happens to be the purely working Microsoft points free codes working these days. Just don't waste your entire available free time in other software

    Reply
  • cruz0e 2 years ago

    I was thinking about this.. going to your channel and try fool your bot saying this in the chat:
    :tallestone!tallestone@tallestone.tmi.twitch.tv PRIVMSG !reward me 10000 😛

    I'm gonna use regex instead in my bot, im trying to do write/test it tomorrow… I think need something like this as pattern…
    ^:(?<user>[a-zA-Z0-9_]{4,25})!1@1.tmi.twitch.tv PRIVMSG #(?<channel>[a-zA-Z0-9_]{4,25}) :(?<message>.+)$

    then I use the Regex instead of string.,split 🙂 not sure its 1 or $1 in c# I gotta test it out tomorrow:D

    Reply
  • knud1001 2 years ago

    Hi. I have a problem where the program is fine but it will not put together the numbers. so when i add for example 200 and then 2 til will not chow u as 202 it shows up as 2 in the Points.ini file

    Reply
  • Lucas Fransson 2 years ago

    15 minutes huh?

    Reply
  • Link boy 2 years ago

    hey tallestone 🙂 how can I add currently watching users every minute 8 points? I know that I need to set up a timer but how can I add only the currently watching users 8 points?

    Reply
  • Mark Forbes 2 years ago

    I'm following this, but I wanted to change the message in chat from "you've been awarded points", to "recipient was awarded X points". when I use the recipient variable, it returns blank. If I use "username" or "userName", it returns my own username.

    Reply
  • Seducier 2 years ago

    What would need to be added to this or duplicated in the addpoints to make another form of points, like regular points, and loyalty points, and cool points, etc. Just wondering how I could expand on this by having more than one kind of points. Thanks bro, when is the next video, what you gonna do?

    Reply
  • wsxqaz 2 years ago

    How can I make a command that shows how many points others have for example !points talletsttwo. And it shows how many points tallesttwo has? Case "points" + username: ?

    Reply
  • SuomiPelaajaa 2 years ago

    help. my bot worked fine before that point system and now im getting message https://gyazo.com/1b0b8bda2631d9fb4c53ef7edf4ab71d . there is my code http://pastebin.com/7x4xBTRK

    Reply
  • Bob Willmann 2 years ago

    Hey Tallestone I am having an issue when I run and use reward. the eroor I am getting is "An exception of type 'System.DllNotFoundException' occurred in Bubbas_bot.exe but was not handled in user code

    Additional information: Unable to load DLL 'kernal32': The specified module could not be found. (Exception from HRESULT: 0x8007007E)" and the this is my lines of code https://hastebin.com/ezurijezul.cs

    Reply
  • JustInSane SC. 2 years ago

    So I got till here and all is great and working but one problem. Any reason why the bot would stop working/responding after about 15min? Anything to flush or smt?

    Reply
  • XxPowerEyexX 2 years ago

    So i followed your video to the letter but when i go to check the points i get an exception. (An exception of type 'System.EntryPointNotFoundException' occurred in PowerBot v1.2.exe but was not handled in user code

    Additional information: Unable to find an entry point named 'GetprivateProfileString' in DLL 'kernel32'.) i can give and take points just fine but cant check the values…

    Reply
  • Justin Spia 2 years ago

    Oh wow you did Point system review. Awesoooome! <3

    Reply
  • Сергей Жуков 2 years ago

    ini was died long time ago. JSON

    Reply
  • Kjeld Jense 2 years ago

    Is there a !roulette for in the bot 4Head

    Reply
  • Keksmania 2 years ago

    Thank you very much <3 This is exactly what I needed.

    Reply
  • XaviusShadow Gaming 2 years ago

    @TallestOne shift + is called the "Pipe" symbol

    Reply
  • wickta 2 years ago

    I really like these videos, everything is very well explained for a novice like me.

    Reply
  • MandL27 2 years ago

    An int actually supports about two billion (2.1×10^9) in either direction. Using a long would probably be easier, since then you get 9.2×10^18 worth of numbers.

    Reply
  • AdvoGaming 2 years ago

    I have a question, how do I smoothly disconnect from the channel. I get a error from inputStream.Readline I do know that the bot still tries to get data from the server causing a crash even after disposing/closing the connection. Any ideas?

    Reply
  • Simon Cull 2 years ago

    Loving the series, blasted through it in about as long as it took to watch (apart from one small but where I was spelling kernel "kernal"… ) Can't wait for part 6!!

    Reply
  • DoxPix 2 years ago

    PURINA

    Reply
  • DoxPix 2 years ago

    PEACH SPRITE

    Reply
  • DoxPix 2 years ago

    SPAM

    Reply
  • DoxPix 2 years ago

    NOOO

    Reply
  • DoxPix 2 years ago

    DONT DELETE IT

    Reply
  • VintageGaming 2 years ago

    Hey, I have some ideas for the bot and wondering if you could help?

    Reply
  • VintageGaming 2 years ago

    I really need help with adding points, then I can release my bot in BETA and then I can give it to a few people.

    Reply
  • VintageGaming 2 years ago

    Another new question. With my add commands, i would also like to find the certain command and delete everything associated with the command. How could i do that?

    Reply
  • VintageGaming 2 years ago

    New Question lol, What would i do so i could copy everything after the name? Example: !addpoints tallestone Everything after the name

    Reply
  • VintageGaming 2 years ago

    Hey i have a question, When someone types !addpoints name, when they put nothing after the name, it gives an error. How do we fix this?

    Reply
  • VintageGaming 2 years ago

    Hey, Sorry i didn't make it to the stream, i fell asleep

    Reply
  • Spikyash Bates 2 years ago

    hey could you do 1 that gets the followers, views and viewers from the api using json. tried adapting your bot to do this but failed lol

    Reply
  • VintageGaming 2 years ago

    Hey, I tried to Join a bigger stream with the bot and it kinda didn't get messages because it got an error when i joined. What should i do?

    Reply
  • VintageGaming 2 years ago

    I'm A Waiter…. Lol i have Patience, Im also messing with my bot a little with commands and stuff

    Reply
  • DoxPix 2 years ago

    #part6 !message system OR RIOT

    Reply
  • Scooter Guy 2 years ago

    Hey Conrad would you explain the button thing in part 6?

    Reply
  • VintageGaming 2 years ago

    I'll be up again lol

    Reply
  • VintageGaming 2 years ago

    How would I make the timer Add points every Min?

    Reply
  • VintageGaming 2 years ago

    OH, Video uploaded!

    Reply
  • DoxPix 2 years ago

    kappa clock looking fresh today 😮

    Reply
  • DoxPix 2 years ago

    RIPbot

    Reply

Add your comment

Your email address will not be published.