How to make a Shoutout command for Twitch in SAMMI

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ค. 2024
  • Video tutorial on how to use SAMMI to create a shoutout chat command for Twitch.
    Please note that since recording this video, LioranBoard 2 CE has been renamed SAMMI - this is why the title etc says SAMMI, but LioranBoard is in the video.
    DOWNLOADS
    Full button code available on my GitHub: github.com/wolbee/SAMMI_Tutor...
    VIDEO CHAPTERS
    0:00 Introduction
    0:20 Triggers
    2:26 Pull Wildcard
    3:58 Twitch: Send Chat Message
    6:22 Twitch: Get User Info
    8:11 Wait Until Variable Exists
    8:47 Inside the Variable Viewer / Recalling object variables
    10:02 Twitch: Get Channel Info
    12:32 Almost done
    13:39 String: Replace
    15:13 Quick recap & deleting variables

ความคิดเห็น • 62

  • @wolbee
    @wolbee  11 หลายเดือนก่อน +2

    So, looks like 2023.2.2's change to Twitch: Get Channel Info also kinda broke this button...
    If your Twitch: Get Channel Info command says "User ID" for the label of the first box, proceed as the video says to.
    If your Twitch: Get Channel Info command says "Channel (default: _______)" (with your account name in), put /$user$/ in the first box, and delete lines 2 and 3 (Twitch: Get User Info and Wait Until Variable Exists: info)

    • @Zewwy_ca
      @Zewwy_ca 7 หลายเดือนก่อน

      Thanks for the tutorial, I figured this one out only to realize you pinned the answer. Oh well. Any chance you know how to play twitch clip from SAMMI? I wanted to add a pop up showing a clip of the user you shout out. I haven't been able to find a tutorial on how to do it using SAMMI. Thanks this was still helpful.

    • @wolbee
      @wolbee  7 หลายเดือนก่อน +1

      ​@@Zewwy_ca the timing on this is uncanny...
      I did a stream yesterday where I made a "!clipSO" command that plays a clip on stream when you shout out a person who approved clip shoutouts (it defaults to no clip), and someone asked if I'd make it into a video tutorial.
      It'll take a bit of time to make a polished video, so if you can't wait (and can tolerate my stream rambling), you could check out the VOD of the stream. Otherwise, look out for the video by the end of January (setting myself a hard deadline so I can feel guilty when I inevitably miss it 😅)

    • @Zewwy_ca
      @Zewwy_ca 7 หลายเดือนก่อน

      @@wolbee Thanks I watched your VOD and was able to get the gist of it working, although with a bit more simplicity by using the property embed_url, instead of just url along with the browser source. I noticed you added 5 seconds to your timeout command, I don't know what is wrong with that command I just can't get it to work properlly. E.G. I add 12000 delay on the toggle source off command, and it works as expected, the source gets disabled after 12 seconds, I then place a wait command before this command and also set it to 12000, but for some reason it acts as if that wait command is set to 0, and the disable source command never gets reached. It's driving me bonkers.... Wow I figure it out, the issue was literally cause I had a 500 ms delay on the command that turns the browser source on(visible), I did not see that coming. It's as if that delay was causing that command to be triggered AFTER the timeout even though the timeout was later in the flow of commands. I was fighting this one thing for like an hour...

    • @wolbee
      @wolbee  7 หลายเดือนก่อน +1

      @@Zewwy_caI didn't even see the embed_url property 🤦‍♂🤦‍♂🤦‍♂ what source type did you put the embed url into then, if not a browser source?
      Delays are done from the start of the button, not the previous command - it's only when 2 or more commands have the same delay value that the order is determined by which is first in the button. Glad you got it to work though

    • @Zewwy_ca
      @Zewwy_ca 7 หลายเดือนก่อน

      @@wolbee The same source type (browser source), just made the change setting field a little more understandable. "Delays are done from the start of the button, not the previous command"... That is not very intuitive design approach, but I guess that is a super helpful tid bit to know that I have not seen discussed anywhere.

  • @beavertrap
    @beavertrap 2 ปีที่แล้ว +4

    Awesome! we need more LB2 tutorial videos! love the no nonsense straight to the point! wonderful format!

    • @wolbee
      @wolbee  2 ปีที่แล้ว

      Thanks for the lovely comment (and my first ever comment on a video).
      I plan on doing more of these, so if you've got any ideas for common buttons people would want, let me know 🙂

    • @Hazza_BVlogsAndRoblox
      @Hazza_BVlogsAndRoblox ปีที่แล้ว

      @@wolbee cjvbdfj your

  • @instinctivelyspontaneous4900
    @instinctivelyspontaneous4900 2 ปีที่แล้ว

    Loved how simple it was to follow along with this tutorial. It also helped me to see how I can further utilize LB2's commands. Thanks so much for this!

    • @wolbee
      @wolbee  2 ปีที่แล้ว

      You're welcome 😁

  • @capitaineorphyvod
    @capitaineorphyvod 2 ปีที่แล้ว

    As always a perfect tutorial Thanks Wolbee

  • @ArtyomHavok
    @ArtyomHavok ปีที่แล้ว

    thank you this was just what i needed!

  • @BeersAndBeatsPDX
    @BeersAndBeatsPDX ปีที่แล้ว

    Right on! This helped me with another command I was trying to figure out how to make

  • @S4l4m4nder36
    @S4l4m4nder36 2 ปีที่แล้ว

    Thank you for this video, very helpful, simple, without any lame 30 second intros, pure perfection.

    • @wolbee
      @wolbee  2 ปีที่แล้ว +1

      so you're saying my next video should start with an over-the-top "HEY GUYS! So I was walking my goldfish and this thought came to me and..." *5 minutes later* "so anyway, don't forget to like and subscribe, and now we'll get on with the video... after this 3 minute sponsorship spiel from Raid Shadow Legends" ? 😂😂😂

    • @S4l4m4nder36
      @S4l4m4nder36 2 ปีที่แล้ว

      @@wolbee exactly. Maybe also instead of talking, just write into a text editor window and put loud techno music in the background, that's just how I like my tutorial videos.😆

    • @wolbee
      @wolbee  2 ปีที่แล้ว +1

      @@S4l4m4nder36 Unregistered HyperCam 2 🥰

  • @Cyb3rTechGuy
    @Cyb3rTechGuy 2 ปีที่แล้ว

    Awesome video, looking forward to see more like it.

  • @RickNealDJRico
    @RickNealDJRico 2 ปีที่แล้ว +1

    I agre with Beaver Trap, this was clear and straight forward. I actually learned something I can use in my coding.

    • @wolbee
      @wolbee  2 ปีที่แล้ว

      I'm glad this was able to help you 🙂 if you have any suggestions on what you'd like to see, please let me know

  • @Keith_FM
    @Keith_FM ปีที่แล้ว

    Thank you for this and your other tutorial videos. I'd hit a wall in trying to learn how to apply my ideas to SAMMI and you've busted down that wall for me.

  • @Kyo_Kyo
    @Kyo_Kyo 2 ปีที่แล้ว

    Very useful tutorial! Thank you so much!!!

    • @wolbee
      @wolbee  2 ปีที่แล้ว

      Glad it was helpful! 😁

  • @RickNealDJRico
    @RickNealDJRico 2 ปีที่แล้ว +1

    Something that is needed are Tutorials on the use of Variables and the Pros and Cons of If Statement vs Switch-Case Statements. Too many confusing IF Statements when a Switch Case would have been better.

    • @wolbee
      @wolbee  2 ปีที่แล้ว +1

      My friend Falinere has some videos explaining Variables, Array, Objects etc over on his channel... the playlist is here: th-cam.com/play/PLm6azirKcG8rNPGYrl9bFK5Z5WIMseAWi.html
      As for IF vs Switch-Case, I'm definitely in the Switch-Case camp, but it does depend on the situation - in LioranBoard, Switch-Case can't compare against a range of values, but IF can. Also, a lot of people know how to use IF statements, but not necessarily how to use Switch-Case, so there's that...

    • @RickNealDJRico
      @RickNealDJRico 2 ปีที่แล้ว

      ​@@wolbee I have watched EVERY VIDEO in his (Falinere) TH-cam Channel. And I have watched about 4 or 5 of your videos. Both of you are extremely helpful.
      I would love info on Strings because I need to do some searches and other String-Related stuff. I can't find docs on "Modify Button with an Object". That would be cool and make some projects easier.

    • @wolbee
      @wolbee  2 ปีที่แล้ว

      Strings are just text, normally denoted by " at each end... you can also combine strings, so ("hello" + "world") = "helloworld"... yeah, you need to remember to add a space 🙂 note: 17 is a number, but "17" is a string. If you do (17 + 1), you get 18, but if you do ("17" + 1), you get "171".
      What do you mean "Modify Button with an Object"? If you're not already in there, join the LioranBoard discord, tag me (@wolbee), and show me a screenshot: discord.gg/dXez8Zh

    • @RickNealDJRico
      @RickNealDJRico 2 ปีที่แล้ว +1

      @@wolbee @Cyanidesugar helped me on the Discord. She showed me the example of using Objects with the Modify Button with Object command.

    • @RickNealDJRico
      @RickNealDJRico 2 ปีที่แล้ว

      It ended up being more work but allowed me to save the settings to an INI file.

  • @CodyinTaiwan
    @CodyinTaiwan 2 ปีที่แล้ว

    I also see you have the credit role deck in your LB2. Did you remake it or where you able to import it from LB1 somehow? I love using it but Im dreading having to try and remake it (im not at all programmer savy)

    • @wolbee
      @wolbee  2 ปีที่แล้ว +2

      A lot of the LB1 extensions are being converted over to LB2 extensions by either the creators or extension developers in the discord, and they require testing before being released publicly ;)

  • @CodyinTaiwan
    @CodyinTaiwan 2 ปีที่แล้ว +1

    This video was unbelievably helpful. Thank you. I agree with the comment about needing more of them! :-)
    Few things though, I noticed when I had both LB1 and LB2 connected, they were both sending different shoutout messages to chat, but I don't have anything in my LB1 about shoutouts. is there something I am missing from LB1?
    Also, I have seen ones where it also grabs and displays the persons profile picture or even a recenty/random clip from there stream. How would we go about adding that to the Shoutout in the video?

    • @wolbee
      @wolbee  2 ปีที่แล้ว +2

      The only thing I can think of for the LB1 messages is that either you have a button hidden in a deck somewhere with the same trigger as your LB2 one, or you have another chatbot (think StreamElements or Nightbot) with the same trigger - double check everything, because you might have forgotten about it.
      As for grabbing and displaying the profile picture, one of the object variables that Get User Info returns is profile_image_url (shows at about 7:50 in the video). If you then send that URL to OBS in a Settings Change command for an image source's file path, you can then show it on stream ( lioranboard.ca/docs2/commands/obs-sources#changesettings ).

    • @CodyinTaiwan
      @CodyinTaiwan 2 ปีที่แล้ว +1

      @@wolbee thank you for replying to this and my other comment. I’ll give this a try later when I’m at my computer. Much appreciated

  • @mainbeach
    @mainbeach 2 ปีที่แล้ว +1

    I've imported your button to my board but I'm getting the following message when I try shouting someone out: "Account [mainbeach] is missing scopes [user:read:email ] to use this feature. Failed to get info" The username and twitch link show up fine, the problem happens with getting the channel info. Any suggestions on what to change? The only change I thought of was checking on all the scopes under the 'Twitch Connections' setting (which didn't work).

    • @wolbee
      @wolbee  2 ปีที่แล้ว +1

      Unfortunately, ticking the box to add a scope only adds it to the list of scopes to get applied for your next authorization token - it doesn't retroactively apply to your current token.
      To fix this, add the scopes, then revoke your current token and get a new one. Once you've got that, it should work.

    • @mainbeach
      @mainbeach 2 ปีที่แล้ว +1

      @@wolbee I see, got it to work. Thank you!

  • @guysomeonelegit4498
    @guysomeonelegit4498 2 ปีที่แล้ว

    Hey so this & the first time chatter effect only works for me but no one else, would you know why?

    • @wolbee
      @wolbee  2 ปีที่แล้ว +1

      Without seeing your commands and triggers, I can't say for certain, though I would imagine that the first time chatter effect's issue is that your first Exit statement is set to == when it should be !=.
      I saw you're in the Beyond Streaming discord, so tag me in the LioranBoard channel with either screenshots of your buttons or the exported JSON code for them, and I'll take a look.
      I'll tag you in there in a couple of days if I don't hear from you.

  • @GolsonicaH
    @GolsonicaH 2 ปีที่แล้ว

    Hello!
    I have a doubt, how do you get the lioranboard to comment with the "name" of your bot and not with your "stream" account?

    • @wolbee
      @wolbee  2 ปีที่แล้ว

      You can link multiple accounts to your LioranBoard using Twitch Connections.
      You then select "Join Channel" for just your stream account, and "Join chat under this name" for your bot account.

    • @GolsonicaH
      @GolsonicaH 2 ปีที่แล้ว

      @@wolbee awesome! Thanksss 😊

  • @missapodysis
    @missapodysis 7 หลายเดือนก่อน

    very helpful! any way to make it trigger twitch's built in /shoutout? (i tried a couple things, but i failed)

    • @wolbee
      @wolbee  7 หลายเดือนก่อน +1

      Yeah, there should be a Twitch: Shoutout command if you're on SAMMI v2023.1.0 or higher

    • @missapodysis
      @missapodysis 7 หลายเดือนก่อน

      @@wolbee yes i can see the twitch shoutout function, but it didn't work any of the ways i tried so far... i even tried exactly like this but w/ the so instead. i must be doing something wrong

    • @wolbee
      @wolbee  7 หลายเดือนก่อน +1

      @@missapodysisdo you have Discord? If so, join the SAMMI discord, create a post in the general help section with screenshots, and tag me (@wolbee).
      If not, you can send me the screenshot either via Twitter or email (both found on my channel page)

    • @missapodysis
      @missapodysis 7 หลายเดือนก่อน

      sorry to not get to this yet. i was delighted to find that my deck is broken with the most recent update nolonger supporting the lioran app, and nothing i can do will make my tablet see the sammi panel, so this is on the back-burner for now ....i may download another deck today as it's been weeks and i am tired. if i stick w/ sammi i will get to this soon (edit to clarify this isn't a call for help, i'm just sour and whining, but if my post doesn't appear it's cos i moved)

    • @wolbee
      @wolbee  7 หลายเดือนก่อน +1

      @@missapodysis I've talked a few people through getting Panel to connect, so I'm more than happy to help with that too (even though Networking is the WORST to troubleshoot). We can do it in text chat, voice call, or even a screen-share call, if you want.

  • @bluefray6886
    @bluefray6886 2 ปีที่แล้ว

    This is so helpful! Thank you for posting these tutorials, so easy to follow ^^
    I was wondering if you could help me with an idea, I'm not the best with lioranboard so Im really lost. Is there a way I can do /timeout in chat and have that show up on screen (using source change for my text source Im assuming)?

    • @wolbee
      @wolbee  2 ปีที่แล้ว +1

      I'm so glad you found it helpful 🙂
      Yes, that's definitely possible. You can set a Twitch Moderation trigger to look at timeouts, then in the commands, do a Trigger Pull Data, pulling the target. Then use a Source Change Text command to send to OBS.

    • @bluefray6886
      @bluefray6886 2 ปีที่แล้ว

      @@wolbee Thank you! I'll give it a shot and see if I can manage haha. I found the lb discord so if I have any issues Ill find you there :)

  • @JunkyardDave
    @JunkyardDave 18 วันที่ผ่านมา

    Thank you for the tutorial.
    At the very beginning, when you add the trigger, it literally says "boardcaster" instead of "broadcaster". :D
    Was this intentional at some point? If not, silly mistake.

    • @wolbee
      @wolbee  18 วันที่ผ่านมา

      Honestly, back in the Lioranboard days, either option is equally likely...

  • @marrizard
    @marrizard ปีที่แล้ว +1

    for some reason the channel variable isnt updating with the info variable all the time. its mismatching games to streamers

    • @wolbee
      @wolbee  ปีที่แล้ว +2

      Sorry to hear that you're having issues with this.
      It's difficult to diagnose the issue without being able to see your commands, button settings, etc., but I think your problem is that it's using the previous person's data.
      There are 2 ways to fix this:
      1. Add a Delete Variable command at the top of the button, deleting all variables. The benefit of this method is that you can still see the information in the variable viewer once the button has run.
      2. Edit the Settings of the button to turn Local Variable Persist off. This also removes the button from the list in the variable viewer, so you don't have as many in there.
      If that's not the problem, another possible way to fix this could be to increase the Timeout After values for each Wait command... maybe 3000?
      If none of these fix it, please join the SAMMI Discord and tag me in a post in the general help section with screenshots of your commands, trigger, and button settings.

    • @marrizard
      @marrizard ปีที่แล้ว

      @@wolbee yep, adding a delete variable did the trick.

  • @user-vh7wr9cs9r
    @user-vh7wr9cs9r ปีที่แล้ว

    i did everything but it says undefined

    • @wolbee
      @wolbee  ปีที่แล้ว

      Which bit says undefined? Feel free to DM me on Twitter or Discord with screenshots.