This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

security when scripting

Old posts that have not been replied to for several years.
Locked
J
JAM

Post by JAM »

New to this, so I'm looking for resources about how and when to use { [ ( and other "special" chars when scripting. [] can be used to call a command, [] to use them to for example msg them as text somewhere.
But is that all there is to know about them?

I tried searching for more info about this, but reading the tcl-commands.doc or looking at the man-pages (scriptics.com) for tcl didn't get me anywhere. Maybe i'm looking for the wrong keywords?

Anyway, I think it would be a good resource for me and my likes, if someone here with the experience had the time to write something about it. If its not allready out there ;)

// JAM
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

yes, there is a faq about this, but I forget where it is. Its not a problem though - the only time where it ever is a problem is when you break the rules of TCL - follow the manual pages and you can't go far wrong.
J
JAM

Post by JAM »

Yah, I'm reading and reading. Thats why I thought of this. But i cannot be sure that I did it the right way, and thats not good. And trying to script something that listens to public commands... well, then it'd better work.

As examples in mirc seems to be wellknown...

<user> test foo | exit haha
on *:text:foo:#:{ msg $chan you said $1- }

Not sure if the above is a working example but you get the point... May I ask for some hints? Some basic thoughts. And please... If you happen to stumble accross the mentioned resource avail., pls let me know. Anything is welcome if time is at hand.

Hey... at least im trying!
Locked