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.

A hard one! are you ready?

Old posts that have not been replied to for several years.
Locked
R
Renik

Post by Renik »

I have made a c++ program and i have compiled it. Once compiled it recives two variables en returns one.
Ex:

./encrypt 45234 Hello!!
9Gs3grEEW35e

How can i call my program from my tcl bot and take the return variable?

P.D.: I don´t have the code of the program, only the program.

p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Place the encrypt program in the samd directory as the eggdrop binary and use the following in a script
set return [exec encrypt param1 param2]
Locked