basically i want this program
to save the tell to a text file that i specify, overwriting whatever is in it
then run the batch file
seems i can get it to run the batch file np
and theoretically if i was to type "echo whatever amount of stuff > d:\readit.txt" in the command line, that would work, but MQ is not liking my syntax using the /exec command, i tried passing parameters to batch file, that only took the first word though, i gotta run, just pasting this for now maybe someone can help. when i get it working ill add a link to the program i used for converting to wav
the bolded line is the line in question.
Code: Select all
#chat tell
#turbo 50
Sub Main
:Mainloop
/delay 1s
/doevents
/goto :mainloop
Sub Event_Chat(ChatType,Sender,ChatText)
/if "@ChatText"~~"wakeup" {
[b] /exec echo @ChatText > d:\readit.txt [/b]
/exec d:\t2s
}
/return
that calls the text2wave program then opens the newly created wave file (this part works)
Code: Select all
d:\TextSound\TSC.exe d:\readit.txt d:\readit.wav mary
d:\readit.wav


