| View previous topic :: View next topic |
| Author |
Message |
Froberg Voice
Joined: 27 Aug 2009 Posts: 10
|
Posted: Thu Aug 27, 2009 10:32 pm Post subject: Utilizing special characters.. |
|
|
Hi all.
I have this service22.tcl script, and I've sworn not to share it with anyone, so I can't post any of the code.
Rather useless, I know. :/
At any rate, can someone explain to me why all .tcl scripts [censored] up with [ ; etc.?
I've noticed it works fine when it has to read from a .txt file.
The reason I ask is because I need to maintain a list of connect; commands for some servers, so people can just copy-paste and enter it in to their consoles.. but the tcl [censored] it up.
At any rate, is there any way of making my eggdrop work properly with these "special" characters? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
Froberg Voice
Joined: 27 Aug 2009 Posts: 10
|
Posted: Fri Aug 28, 2009 6:47 am Post subject: |
|
|
| Sir_Fz wrote: | | Read Script Security (and make sure you carefully read the page provided in rosc2112's post). |
Thanks man
Here's an example of what goes wrong though;
[12:55:54] <Froberg> ?service add !test connect dk3.dsrack.dk:28615;password server2
[12:55:54] -DSRack- !test has been added.
[12:56:06] <Froberg> ?service add !test [connect dk3.dsrack.dk:28615;password server2]
[12:56:07] -DSRack- !test has been added.
[12:56:18] <Froberg> ?service add !test {connect dk3.dsrack.dk:28615;password server2}
[12:56:19] -DSRack- !test has been added.
[12:56:31] <Froberg> ?service add !test "connect dk3.dsrack.dk:28615;password server2"
[12:56:32] -DSRack- !test has been added.
[12:56:34] <Froberg> !test
[12:56:34] <DSRack> connect {{dk3.dsrack.dk:28615;password}} server2
[12:56:35] <DSRack> {{[connect}} {{dk3.dsrack.dk:28615;password}} {server2\]}
[12:56:36] <DSRack> {\{connect} {{dk3.dsrack.dk:28615;password}} {server2\}}
[12:56:38] <DSRack> {{"connect}} {{dk3.dsrack.dk:28615;password}} {server2\"} |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
Froberg Voice
Joined: 27 Aug 2009 Posts: 10
|
Posted: Fri Aug 28, 2009 10:44 am Post subject: |
|
|
I fixed it, thanks for the help.
I really appreciate it  |
|
| Back to top |
|
 |
|