need help title change

By Bacon_Space on Jul 01, 2014

need help

need help making a !status command like nightbot how it changes the title 

Comments

Sign in to comment.
ArchonFreak   -  Oct 11, 2014

I replied to your comment but i don't know if that will help you.

 Respond  
Bacon_Space   -  Jul 19, 2014

is there anyway to be able to change the title through a mirc bot

ArchonFreak  -  Oct 11, 2014

on $*:text:/^!(topic|status|title|game)/iS:#:{
var %switch $iif($1 == !game,game,status)
if ($2 != $null) {
al # $capital($nick) 5
twitch.topic # %switch $2-
}
}

alias twitch.topic {
var %chan = $1, %switch = $2, %topic = $3-
var %sockname = twitch.topic. $+ $ticks
hfree -w %sockname | hmake %sockname
hadd %sockname params %chan %switch
hadd %sockname chan %chan
hadd %sockname oath.token $twitch(%chan).token
hadd %sockname request /kraken/channels/ $+ $mid(%chan,2-)
if (%topic != $null) {
hadd %sockname method PUT
hadd %sockname data channel[ $+ %switch $+ ]= $+ $urlencode(%topic)
hadd %sockname signal topic.set
}
else {
hadd %sockname method GET
hadd %sockname signal topic.get
}
sockopen -e %sockname api.twitch.tv 443
}

Bacon_Space  -  Oct 13, 2014

doesnt work

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.