Hi there,
Ok. So I know how to use $text but my problem is I want it to use a word on a line.
Ex:
Chatter: Please join #channel Scrappy
I would want the bot to join the 3rd word in the phrase.
What varible do I use for this?
Code: Select all
set third [lindex [split $text] 2]Code: Select all
[regexp {#.+?} $chan]