I'm trying to make a small command that will say ".timeout (user i specify) (amount of time)" (which for twitch is deleting a message and not allowing a person to chat for (time))
here is my script
Code:
on *:text:!t *:#:{ if ($nick == theyoungergamer) msg # .timeout $2 $3 }
It seems to be hard to type out the whole name ($2) of the person in chat, especially when i'm doing it remotely. I was wondering is there a way to auto-fill the name if i abbreviate it in chat?
like here:
Code:
theyoungergamer: !t theyo 60
paintballbot: .timeout theyoungergamer 60
 

Also would be good if it would return an error if the abbreviation came out with two+ names.

Thanks if anyone can help with this!


#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball