| View previous topic :: View next topic |
| Author |
Message |
Branden Halfop
Joined: 04 Aug 2007 Posts: 61
|
Posted: Mon Aug 06, 2007 6:37 pm Post subject: $text help |
|
|
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? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
BoaR Halfop
Joined: 20 Jul 2007 Posts: 48
|
Posted: Mon Aug 06, 2007 10:41 pm Post subject: |
|
|
check if the word has # in front.
| Code: | | [regexp {#.+?} $chan] |
|
|
| Back to top |
|
 |
|