Pikka bird
Joined: Aug 2013
Posts: 15 |
Im sorry, this is a lot more detailed then what ive done so far so im a little confused as to what im editing. I know i cant paste "msg $chan Welcome $nick to my stream, enjoy your nuggets!!" over " msg $1 Hi $v1 $+ , welcome to $mid($1,2) $+ 's Channel" because we are welcoming multiple users with the new script. Most of my bot is just "on text do this" So this is a tiny bit over my head.
on !@*:JOIN:#:{ if ($mid(#,2) ison $chan) { if ($nick == $mid(#,2)) { return } set -e $+(%,ajwelcome.,$cid,#) $addtok($($+(%,ajwelcome.,$cid,#),2),$nick,44) if (!$timer($+(.ajw.,$cid,#))) { $+(.timer.ajw.,$cid,#) 1 3 ajwelcome # } } } alias -l ajwelcome { if ($($+(%,ajwelcome.,$cid,$1),2)) { msg $1 Hi $v1 $+ , welcome to $mid($1,2) $+ 's Channel. unset $+(%,ajwelcome.,$cid,$1) } } you could do it like on !@*:JOIN:#:{
if ($mid(#,2) ison $chan) {
if ($nick == $mid(#,2)) { return }
set -e $+(%,ajwelcome.,$cid,#) $addtok($($+(%,ajwelcome.,$cid,#),2),$nick,44)
if (!$timer($+(.ajw.,$cid,#))) { $+(.timer.ajw.,$cid,#) 1 3 ajwelcome # }
}
}
alias -l ajwelcome {
if ($($+(%,ajwelcome.,$cid,$1),2)) {
msg $1 welcome $v1 $+ , to my channel enjoy your nuggets!!.
unset $+(%,ajwelcome.,$cid,$1)
}
}
basicly the part that handles the names is the $v1 the other things can just be changed . just keep in mind that the $1 handles the channel for the message. i would however not recommend changing the timer to a lower ammount of seconds else you will have the trouble of the global twitch message / second again
Last edited by panda_jorstar; 13/03/14 05:03 PM.
|