egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Utilizing special characters..

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Froberg
Voice


Joined: 27 Aug 2009
Posts: 10

PostPosted: Thu Aug 27, 2009 10:32 pm    Post subject: Utilizing special characters.. Reply with quote

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
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Aug 28, 2009 2:38 am    Post subject: Reply with quote

Read Script Security (and make sure you carefully read the page provided in rosc2112's post).
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Froberg
Voice


Joined: 27 Aug 2009
Posts: 10

PostPosted: Fri Aug 28, 2009 6:47 am    Post subject: Reply with quote

Sir_Fz wrote:
Read Script Security (and make sure you carefully read the page provided in rosc2112's post).


Thanks man Smile

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
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Aug 28, 2009 10:39 am    Post subject: Reply with quote

Your example doesn't do us any good.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Froberg
Voice


Joined: 27 Aug 2009
Posts: 10

PostPosted: Fri Aug 28, 2009 10:44 am    Post subject: Reply with quote

I fixed it, thanks for the help.

I really appreciate it Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber