Jump to content

So, as a joke and to help myself learn, i'm writing a batch file that spams random statements commonly found in twitch chats. I haven't gotten to the actual statements yet, so for now it just spams numbers. The idea is that the user has to "press f to pay respects", and when they press f then enter the spam begins, and when they type another letter it insults them. However, no matter what letter I type, the file starts spamming. @Enderman, probably. Here is the code so far, please help:

 

@[member='Echo'] offtitle Twitchclsecho Press F to pay respects:startset /a answer=fset /p guess=if %guess% equ %answer% goto :spam else goto :fail:spamset /a spamnumber=%random% %%10echo %spamnumber%goto spam:failclsecho You Scrub! Press F to pay respectsgoto :start

Just a guy who peaked at building back in the days of the GTX 980. If you see me here, assume i have technical knowledge akin to a committed hobbyist builder back then. If something's changed, you'll need to tell me(nicely plz). I'm probably asking for help with the modern build scene since I have no clue what's going on.

Link to comment
https://linustechtips.com/topic/480259-batch-file-twitch-simulator/
Share on other sites

Link to post
Share on other sites

Code tags please.

sorry, really new to the programming part of the forum. What's this mean?

Just a guy who peaked at building back in the days of the GTX 980. If you see me here, assume i have technical knowledge akin to a committed hobbyist builder back then. If something's changed, you'll need to tell me(nicely plz). I'm probably asking for help with the modern build scene since I have no clue what's going on.

Link to post
Share on other sites

sorry, really new to the programming part of the forum. What's this mean?

[code]thing here[/code]

sorry i dont do much bash programming :( cant help u there m8

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to post
Share on other sites

Haha nice. Someone in the channel I'm in a lot made a bot for it. And we would go to random channels with the bot and it would whisper everyone in chat every time they sent a message. To make it stop they had to type a set keyword 3 times. Shit was hilarious

The Beast: CPU: i7 4790K GPU: EVGA 1080 SC Cooling: Dual NZXT Kraken x61 RAM: HyperX Fury 1866MHz Storage: SSD: 500GB Samsung EVO 840 + HDD: 1TB WD MOBO: Asus Z97 - a PSU: RM850x Case: H440 green-black Setup: Link PCPP: Link Evolution: Link 

Gear: PS4 with custom skin // Astro A50 Xbox edition to fit colour scheme // Oppo PM-3 Planar Magnetic Closed Back Headphones // OnePlus One 64GB sandstone

Other stuffs: Acer aspire 128GB SSD 10GB RAM // MacBook Pro 13" 500GB SSD 16GB RAM // A 2009 iMac 21"

 

Link to post
Share on other sites

The <> button in the editor, it makes it easier to read your code, you can also just put

[code][/code]

around it

done, can you helpat all?

Just a guy who peaked at building back in the days of the GTX 980. If you see me here, assume i have technical knowledge akin to a committed hobbyist builder back then. If something's changed, you'll need to tell me(nicely plz). I'm probably asking for help with the modern build scene since I have no clue what's going on.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×