info for tcl and exec prog

Old posts that have not been replied to for several years.
Locked
p
pretone

info for tcl and exec prog

Post by pretone »

Hello
I have a bot make I want add a commad that call me on vnc in example If I digit in dcc the command .vnc o in the channel !vnc the bot controll if user are +o o +m of the bot and after execute a program file like c:\vnc.exe ip
Any help?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

spawning GUI app from eggdrop seems pointless to me, but anyway:

Code: Select all

bind pub o !vnc foo
proc foo {n u h c t} {exec c:/vnc.exe $t}
p
pretone

Post by pretone »

sorry for request
Tks for answer
Locked