Results for: twitch

All Results / Threads / Snippets

smithanny83   -  Dec 15, 2023

Even if you are a beginner you can easily activate Twitch on your device. Be it a gaming console or a laptop, in this guide you will get every detail covered about Twitch.TV/Activate.

 Respond  
LoneStoner commented on a Comment, Noob looking for help  -  Sep 20, 2017

I got most of it sorted out, the vars call the right numbers when the battle is initiated, the winner is claimed, and I have the winners in a notepad with scores kept, I however didn't get the randomize messages up just yet, because I been reading up on mirc coding so I can figure out how to mmmm sort scores to call back in numerical order descending... So let's say you won and want to check your score you'd do like !score and it would read it back from a txt and tell you the score... I got it semi reading me back the stats just not filtered from highest score to lowest. So the actual !fight is working correctly, once I get the scores to actually save and read back right I'll start working on the multiple vars with diff winning messages. I'm way new to this so it'll be a little. Between streaming and sleep I have a limited time to play around till the weekend comes. : ) Initially what I'm trying to do is slowly write a mirc bot for my twitch stream so my viewers will eventually be able to play/fight and other things to collect points, then be able to spend them on like song requests, or game codes from a shop. So I already have points being given out just for loyalty or time being spent in the room. Eventually I plan to make it to where only followers can collect points and use the points to buy items as like a thank you. I'll keep you posted for sure.

illhawkthat commented on a Comment, Need Help Reading !song Cmd  -  May 19, 2017

@Bacon_Space
try adding a if $Read(‪C:\Users\Bacon_Space\AppData\Roaming\AnkhHeart\AnkhBotR2\Twitch\Files\CurrentSong.txt) != $null msg chan

Alexandru commented on a Page, Need Help Reading !song Cmd  -  May 12, 2017

As I understand to this code, I can say that if Bacon_Space writes !song on a channel, then the script will read a random line from the file CurrentSong.txt and give this message on that channel.

Pay attention that this script will work if Bacon_Space will write !song and if another writes, then will not work. If CurrentSong.txt has only one line of text in it, so this line will be sent to channel, otherwise will read a random line from it.

The Script will not work if Bacon_Space will add something to !song, i.e. !song cmd or !song play. In this case, you have to change the code to the following (of course if !song is the first word separated by space):

on *:TEXT:*:#: {
  if ($nick == Bacon_Space) && ($1 == !song) {
    msg $chan $Read(‪C:\Users\Bacon_Space\AppData\Roaming\AnkhHeart\AnkhBotR2\Twitch\Files\CurrentSong.txt)
  }
}
NLRP050 commented on a Page, mIRC | Twitch StreamTip  -  Oct 04, 2016

You think this, or parts of this, will work with TwitchAlerts?

Technically, Editing it just a little bit, It should work.

I took the "alias CheckNewDonations" and tweaked it a little so it compares to the API page from TwitchAlerts.

Thats the only part i use and i have the following when i connect mIRC to the channel:
on 1:CONNECT:#channelname {
CheckNewDonations
}

(I'm not the best at working in mIRC.)

 Respond  
ElementalDreamer   -  Aug 30, 2016

First off, I don't know if this is in the correct place but I would like to know if it is possible to put a blockage on numbers higher than 50 on the following mIRC script for my twitch bot.

Code:
on :text:!roll:#: {
if (($2 <= 0) || (!$3) || ($3 <= 0)) { msg $chan [ 4 $nick ] You have to roll something silly! | halt }
var %RollsDone 0 | var %Adds 0
while (%RollsDone < $2) {
inc %RollsDone | var %DiceScores $instok(%DiceScores,$rand(1,$3),%RollsDone,32)
}
while (%Adds < $2) {
inc %Adds | var %RollTime $gettok(%DiceScores,%Adds,32) | var %RollTotal $calc(%RollTotal + %RollTime)
}
/msg $chan [ 4 $nick ] < Dice:4 $2 > < Sides on Dice:4 $3 > < Rolls Scores:4 %DiceScores > < Total Score:4 %RollTotal >
}

So yea, any suggestions?

 Respond  
ALizardlyFigure   -  Jul 02, 2016

I have been making a twitch.tv bot recently but I've stumbled upon an issue which I cant seem to find a solution to, the bot itself posting too many messages. Could anyone help me make it so the bot would have a cooldown of about 10 seconds or so after being commanded 3 times?

TUSK3N commented on a mIRC Script, Battle Arena version 3.1  -  Jun 09, 2016

I was thinking of using this on Twitch and I saw that you said that it didnt work, well you can send whispers now like "msg #jtv $nick [text]" and that will do it, I dont know how to recieve them tho.

 Respond  
kimiko commented on a Page, JSON for MIRC  -  Jun 06, 2016

Thanks your code! It's important for me to get lots of informations in mIrc
I use it to get Twitch channel state.
I check channels about 10 sec a time.
Now my check channel come about 50. But i found it's start lag for me
Did this code suitable for this situation?
How to improve my code?

 Respond  
NoKz commented on a Comment, Youtube Script (Parse Vids and Search) v6.5  -  May 28, 2016

https://www.twitch.tv/crream

It's for a Twitch IRC Channel. I've found some stuff saying for subs, you check by calling "($hget(subscribers,$nick) = 1)"

illhawkthat commented on a Comment, Youtube Script (Parse Vids and Search) v6.5  -  May 28, 2016

Can you link to a screenshot of what the IRC chan that you run it in (of your twitch channel) looks like? I'm not sure how they distinguish between subscribers and mods on the backend.

NoKz commented on a Page, Wikipedia Script (Snippet Search) v1.0  -  May 28, 2016

Awesome script! Thank you very much for it! I have a couple of questions; I'm working on this for TwitchTV and was trying to figure out a good way to enable it only for moderators and subscribers? Also, is there a way I can blacklist offensive words? Thanks!

NoKz commented on a Page, Youtube Script (Parse Vids and Search) v6.5  -  May 28, 2016

First and foremost, AMAZING script. Thank you very much for it! Small question; I'm working on this for Twitch and I'm trying to limit it to Mods and subscribers only requesting links. But, I want it to announce links posted in chat for everyone. What do I need to insert to make this work? Thank you!

TUSK3N commented on a Page, Twitch and hitbox announcer  -  Mar 25, 2016

This doesn't seem to work anymore, the twitch chaninfo does not work it just says all the streams are offline when they are not. And it doesnt announces when a stream goes live.

TUSK3N commented on a Page, Random Jokes Plus Facts  -  Mar 18, 2016

the !facts command work but it will only take the first words in a sentence and not complete it, can someone look at it? I am using this in mirc for twitch chat.

 Respond  
mariomari007   -  Jan 29, 2016

Need help with my twitch bot !addcom command, i am having an issue with permissions and was wondering if someone could help me with the permissions and getting the correct permissions for the command so normal users cant use the command.

example: !addcom !tweet Here is my twitter -> (twitter link)

i want to set it so i can have my mods only do the command and not normal chat members, here is the code if someone can recode it and reply with the updated code so i can be able to do !addcom !tweet and have it set to mods only (my mods in my chat bot system are level 3)

//---------------------------------------
// code
//---------------------------------------

on 3:text:!addCom*:#: {
var %commandName = $2
var %message = $replace($3-, $, @)
if (%message == $null) {
msg $chan /me You must have a command message.
return
}

if ($comAlreadyExists(%commandName) == $false && $left(%commandName, 1) == !) {
var %msgViability = $msgAlreadyExists(%message)
if (%msgViability == $false) {
writeini -n %commandFile $calc(%commandID + 1) name %commandName
writeini -n %commandFile $calc(%commandID + 1) message %message
writeini -n %commandFile $calc(%commandID + 1) permission *
inc %commandID
msg $chan /me The command %commandName has been added.
}
else {
msg $chan /me There is already a command ( $+ %msgViability $+ ) with the same message as %commandName $+ .
}
}
elseif ($comAlreadyExists(%commandName) == $false && $left(%commandName, 1) != !) {
msg $chan /me To add a command, it must start with !
}
else {
msg $chan /me The command %commandName already exists. Type !editCom [name] [new message] to edit it.
}
}

please help me

 Respond  
Blasman commented on dma's Thread  -  Jan 09, 2016

I have a blackjack script that I very heavily modified from the blackjack script at http://hawkee.com/snippet/8528/ (there were numerous errors and terrible handling of aces). The script is designed to be used on a Twitch channel, but it will work in any mIRC channel with some tweaking. I hope it helps. You can find it on my GitHub at https://github.com/Blasman/mIRC-Twitch-Scripts

^WeSt commented on a Comment, Twitch URL's Permit commands  -  Jan 06, 2016

Try to add this code into the mIRC Script Editor in Remotes tab into a new file, restart the bot and try again.
also make sure you have the latest mIRC version using.

ON *:CONNECT: {
  raw CAP REQ :twitch.tv/membership 
  raw CAP REQ :twitch.tv/commands 
  raw CAP REQ :twitch.tv/tags  
}
shenkyo13 commented on a Page, Twitch URL's Permit commands  -  Jan 06, 2016

Hello, thank you for the nice script. However, for me it doesn't seem able to recognize moderators on my twitch channel. I was able to do !urlperm on after removing the "isop" check but that let everyone use it. I'd appreciate it if you could shed some light on this. http://imgur.com/FpzWxFQ

MeowMeowQ   -  Dec 27, 2015

Hello! I need help with a Mirc Twitch bot code! Is there anyway to do so the bot auto ban someone that is creating a new account? ex "Meow joins and gets banned, Meow2 joins and gets banned, Meow3 joins and gets banned" and so on.

Thank you!

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.