Twitch URL's Permit commands

By ^WeSt on Oct 21, 2014

Requested for: Wikked

Contact: http://westor.ucoz.com/contact

  • Thanks to Wims for $ISURL identifier.

Description:

This code will kick an user when he will paste an url and is NOT on the permitted list.

Commands:

!URLPerm ON/OFF = This command will enable/disable the URLs-PERM module.

!URLPerm Help = This command will give you all the available commands for this module.

!URLPerm add Nick [Seconds] = This command will add a nickname to the permitted list, if you set seconds then it will automatically expire after the seconds that you have give.

!URLPerm del Nick = This command will delete an nickname from the permitted list.

!URLPerm delall = This command will delete all the permitted list from the channel.

!URLPerm list = This will give the currently list that are on the permitted list on the channel.

!URLPerm total = This command will give the total nicknames that are in the permitted list.

NOTE: Due an hawkee.com mirc parser problem try to copy the code from here: http://pastebin.com/FATx3Z82

http://pastebin.com/FATx3Z82
  • Thanks!

Comments

Sign in to comment.
shenkyo13   -  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

^WeSt  -  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  -  Jan 06, 2016

It worked. Thank you very much :D

Sign in to comment

iJordi   -  Sep 14, 2015

This script was working fine, but I noticed it also timed out the o.o emote.

After doing some checking it times out a lot of things containing a dot. Is there a way around this?

^WeSt  -  Sep 22, 2015

I did not get you, can you give an example or an image?

iJordi  -  Sep 23, 2015

Sure
https://i.gyazo.com/f79b3d54c8a9f1e7a3fd3022f2f03846
Twitch chat was a bit slow, but the second message got timed out too.
Especially the first one is annoying, because it's an emoticon that is used quite regular in the chat.

Do you have any idea if (and how) this could be fixed?

^WeSt  -  Sep 25, 2015
iJordi  -  Sep 26, 2015

Thanks for the help.

Sign in to comment

heckaber2   -  Dec 02, 2014

In this script, does it perma ban or just purge the offender?

^WeSt  -  Dec 03, 2014

it does message with timeout 1

Sign in to comment

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.