mIRC Home    About    Download    Register    News    Help

Print Thread
[twitch.tv] on certain nick msg #244703 21/03/14 05:32 PM
Joined: Mar 2014
Posts: 215
J
judge2020 Offline OP
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Mar 2014
Posts: 215
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


#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball
Re: [twitch.tv] on certain nick msg [Re: judge2020] #244705 21/03/14 05:55 PM
Joined: Mar 2014
Posts: 215
J
judge2020 Offline OP
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Mar 2014
Posts: 215
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.

http://forums.mirc.com/ubbthreads.php/topics/244635/Basic_scripting_for_Twitch.tv_#Post244635

Last edited by judge2020; 21/03/14 05:56 PM. Reason: added source

#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball
Re: [twitch.tv] on certain nick msg [Re: judge2020] #244707 22/03/14 01:17 AM
Joined: Mar 2014
Posts: 42
S
Sjoepele Offline
Ameglian cow
Offline
Ameglian cow
S
Joined: Mar 2014
Posts: 42
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 }
}


Re: [twitch.tv] on certain nick msg [Re: Sjoepele] #244726 24/03/14 12:44 AM
Joined: Mar 2014
Posts: 215
J
judge2020 Offline OP
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Mar 2014
Posts: 215
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


#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball
Re: [twitch.tv] on certain nick msg [Re: judge2020] #245279 15/04/14 05:05 AM
Joined: Apr 2014
Posts: 33
B
bl968 Offline
Ameglian cow
Offline
Ameglian cow
B
Joined: Apr 2014
Posts: 33
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

Re: [twitch.tv] on certain nick msg [Re: bl968] #245365 18/04/14 02:28 AM
Joined: Apr 2014
Posts: 4
J
Justin Offline
Self-satisified door
Offline
Self-satisified door
J
Joined: Apr 2014
Posts: 4
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?

Re: [twitch.tv] on certain nick msg [Re: bl968] #245366 18/04/14 03:58 AM
Joined: Apr 2014
Posts: 191
B
blessing Offline
Vogon poet
Offline
Vogon poet
B
Joined: Apr 2014
Posts: 191
Did you set twitchclient 3?

Originally Posted By: bl968

this only works currently if twitchclient is set to 3

/raw twitchclient 3

Re: [twitch.tv] on certain nick msg [Re: blessing] #245387 19/04/14 10:46 AM
Joined: Nov 2013
Posts: 19
D
Dunsparth Offline
Pikka bird
Offline
Pikka bird
D
Joined: Nov 2013
Posts: 19
I want to do this but for followers since i am not a twitch partner.
How would i do this?

Re: [twitch.tv] on certain nick msg [Re: Dunsparth] #245388 19/04/14 11:04 AM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: [twitch.tv] on certain nick msg [Re: blessing] #245598 29/04/14 12:56 AM
Joined: Apr 2014
Posts: 4
J
Justin Offline
Self-satisified door
Offline
Self-satisified door
J
Joined: Apr 2014
Posts: 4
where do you put the /raw twitchclient 3.. can anyone help im confessed


Re: [twitch.tv] on certain nick msg [Re: Justin] #245601 29/04/14 09:15 AM
Joined: Nov 2013
Posts: 19
D
Dunsparth Offline
Pikka bird
Offline
Pikka bird
D
Joined: Nov 2013
Posts: 19
Just type it in...

Re: [twitch.tv] on certain nick msg [Re: Dunsparth] #245654 01/05/14 03:10 AM
Joined: Apr 2014
Posts: 4
J
Justin Offline
Self-satisified door
Offline
Self-satisified door
J
Joined: Apr 2014
Posts: 4
type it where?

Re: [twitch.tv] on certain nick msg [Re: Justin] #245661 01/05/14 01:29 PM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
As a text message to any channel or status window.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: [twitch.tv] on certain nick msg [Re: Nillen] #245682 02/05/14 12:31 AM
Joined: Apr 2014
Posts: 4
J
Justin Offline
Self-satisified door
Offline
Self-satisified door
J
Joined: Apr 2014
Posts: 4
thanks for that information Nillen