mIRC Homepage
Posted By: judge2020 [twitch.tv] on certain nick msg - 21/03/14 05:32 PM
I have made a chat bot for twitch.tv (looks like it's becoming a more popular thing here) and i am wanting to add a command like:
on msg from $nick-twitchnotify-
msg $chan -Welcome new sub to the panther army!-
}
I know how to do all that stuff except the on certain nickname command.

If i could get any help that would be great smile
Posted By: judge2020 Re: [twitch.tv] on certain nick msg - 21/03/14 05:55 PM
nevermind i just learned wildcards:
on *:text:*bye*:#: {
anti-spam stuff
msg $chan We're sorry to see $nick go frown
}
and modified it to-
on *:text:*has just subscribed!:#: {
msg $chan Welcome the new suscriber to the panther army!
}

w
I'm pretty much done but a way to grab the first work (the nick that subscribed) and put it in the message the bot sends out.

https://forums.mirc.com/ubbthreads.php/topics/244635/Basic_scripting_for_Twitch.tv_#Post244635
Posted By: Sjoepele Re: [twitch.tv] on certain nick msg - 22/03/14 01:17 AM
If im correct you want to welcome a new subscriber, including the sub's username? Here's an example script that i use. i got it from http://www.figgityfigs.com/?p=142

on 1:text:*subscribed*:#sevadus:{
if ($nick == twitchnotify) { msg $chan sevOtterBro Welcome $$1! <3 }
}

Posted By: judge2020 Re: [twitch.tv] on certain nick msg - 24/03/14 12:44 AM
Originally Posted By: Sjoepele
If im correct you want to welcome a new subscriber, including the sub's username? Here's an example script that i use. i got it from http://www.figgityfigs.com/?p=142

on 1:text:*subscribed*:#sevadus:{
if ($nick == twitchnotify) { msg $chan sevOtterBro Welcome $$1! <3 }
}

thanks that worked smile
Posted By: bl968 Re: [twitch.tv] on certain nick msg - 15/04/14 05:05 AM
on 1:TEXT:*:#:{
if $nick = twitchnotify && subscribed isin $1- {
/msg $chan New Subscriber! Everyone give $$1 a warm welcome to the Panther Loyal Army!
/halt
}
}

this only works currently if twitchclient is set to 3

/raw twitchclient 3
Posted By: Justin Re: [twitch.tv] on certain nick msg - 18/04/14 02:28 AM
on 1:TEXT:*:#:{
if $nick = twitchnotify && subscribed isin $1- {
/msg $chan New Subscriber! Everyone give $$1 a warm welcome to the Panther Loyal Army!
/halt
}
}

When i tried this it didn't work. How do i make it work again?
Posted By: blessing Re: [twitch.tv] on certain nick msg - 18/04/14 03:58 AM
Did you set twitchclient 3?

Originally Posted By: bl968

this only works currently if twitchclient is set to 3

/raw twitchclient 3
Posted By: Dunsparth Re: [twitch.tv] on certain nick msg - 19/04/14 10:46 AM
I want to do this but for followers since i am not a twitch partner.
How would i do this?
Posted By: Nillen Re: [twitch.tv] on certain nick msg - 19/04/14 11:04 AM
https://forums.mirc.com/ubbthreads.php/topics/245304/twitch_-_check_if_someone_is_a
https://forums.mirc.com/ubbthreads.php/topics/243289/Twitch_recent_follower

Click on the Search button, type in Follower, mark In subject and body, hit Submit.
Posted By: Justin Re: [twitch.tv] on certain nick msg - 29/04/14 12:56 AM
where do you put the /raw twitchclient 3.. can anyone help im confessed

Posted By: Dunsparth Re: [twitch.tv] on certain nick msg - 29/04/14 09:15 AM
Just type it in...
Posted By: Justin Re: [twitch.tv] on certain nick msg - 01/05/14 03:10 AM
type it where?
Posted By: Nillen Re: [twitch.tv] on certain nick msg - 01/05/14 01:29 PM
As a text message to any channel or status window.
Posted By: Justin Re: [twitch.tv] on certain nick msg - 02/05/14 12:31 AM
thanks for that information Nillen
© mIRC Discussion Forums