Jump to content

Help with mIRC Twitch chat bot... if anyone knows anything about mIRC scripts?

BoomLiam

I have a custom chat bot in Twitch to help me moderate streams, provide more commands than what Nightbot supports and generally, as a cool little project which I might expand upon, add some more stuff too, however I am having issues making the commands moderator ONLY. I am pretty sure I have the layout correct, and the syntax... I don't know why, but non-mods are still able to use the commands. If anyone knows anything about mIRC or if it's similar to any other kind of scripting language, it'll be great!

 

Here's an example I have for a simple script where the user inputs !boombot and there is a response.

 

on *:TEXT:!boombot:#: { 
  if ((%floodboombot) || ($($+(%,floodboombot.,$nick),2)) && ($nick !isop $chan)) { return } 
  set -u120 %floodboombot On 
  set -u420 %floodboombot. $+ $nick On 
  msg $chan BoomBot is here. BoomBot is ready. Kappa / $+ 
 
 
The issue is something to do with "($nick !isop $chan)" again, help is appreciated <3

Computer Specs (The Space Fridge):


CPU: Intel i5 3570k | Motherboard: MSI Z77A G45 | RAM: Kingston Hyper X Blu | SSD: OCZ Agility 3 (60GB) | 


HDD: Seagate Barracuda (500GB) | GPU: MSI HD 7950 Fwin Frozr iii | PSU: Corsair CX600 | Case: NZXT Phantom 410 w/ NZXT Blue LED strip

Link to comment
Share on other sites

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

×