Originally Posted By: Belhifet
Originally Posted By: Xephronics
So what I am trying to do is make it so that when I type "!Follow Name" The bot will post in twitch chat "Please Follow http://twitch.tv/name" (Name being any possible person that I would want to enter, so !Follow John would display http://twitch.tv/john)

I just started using this yesterday so I am new to everything, but this is what I have tried using. (That hasn't worked)

Quote:

on *:TEXT:!Follow:#: {
if ($nick isop #) {
on *:INPUT:#:/echo Please Follow twitch.tv/" $1- " .
}
}

I'm guessing the problem is with the third line, but I am not sure.

I haven't been able to find any errors when I try using the command within chat.



Code:
on *:TEXT:!Follow:#: {
  if ($nick isop #) { msg $chan Please Follow twitch.tv/ $+ $mid($chan,2) $+ . }
}


er I guess i coulda read that...
Code:
on *:TEXT:!Follow*:#: {
  if ($nick isop #) { msg $chan Please Follow twitch.tv/ $+ $1 $+ . }
}



So I've found out that there is a period being added into the end of the link when it gets posted in chat. Is there any way to fix that?

Last edited by Xephronics; 01/08/14 01:20 AM.