| View previous topic :: View next topic |
| Author |
Message |
Ace-T Halfop
Joined: 29 Aug 2006 Posts: 82
|
Posted: Tue May 29, 2007 5:52 pm Post subject: Brackets |
|
|
| might be a n00bish question, but when i want the bot to priv msg my channel with [ and ] around some text it really hates them and wont msg the chan any ideas why or if this is fixable? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue May 29, 2007 6:17 pm Post subject: |
|
|
Brackets "[]" have special meaning in Tcl so you need to escape them using the escape-character "\" (which is also a special character itself ). For example:
| Code: | | puthelp "privmsg #channel :\[Title\] The text is successfully sent to #channel" |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Ace-T Halfop
Joined: 29 Aug 2006 Posts: 82
|
Posted: Tue May 29, 2007 6:37 pm Post subject: |
|
|
ty very much  |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
|
| Back to top |
|
 |
|