mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Joined: May 2005
Posts: 449
B
Fjord artisan
Offline
Fjord artisan
B
Joined: May 2005
Posts: 449
True, but in this case, we also need to multithred the process so that it does not freeze the computer. I could be wrong, but I don't think that there is any way to thread it using $comcall.

Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
Did you bother to look up $comcall in the help file?

Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
Don't do that again, ever.

Joined: May 2005
Posts: 449
B
Fjord artisan
Offline
Fjord artisan
B
Joined: May 2005
Posts: 449
Ah. Sorry, I had forgotten about that. I'll have to look into that some more. I haven't been doing much mIRC scripting lately, so I don't even remember how I'd do that, as in what alias to call in this situation and what data to pass it.

Quote:
Don't do that again, ever.
Huh?

Last edited by bwr30060; 15/12/06 03:03 AM.
Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
That wasn't for you, it was about yamaz's thread-bumping (see "Re: yamaz" on the titlebar of my previous post).

Joined: May 2005
Posts: 449
B
Fjord artisan
Offline
Fjord artisan
B
Joined: May 2005
Posts: 449
Ah ok. I was going to say, if I had to worry about not making stupid scripting mistakes, I'd be in serious trouble! grin

Code:
var %x = 1
while (%x > 1) {
echo -a oops!
inc %x
}

grin

Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
Better yet, /sapi.talk oops! whistle

Y
yamaz
yamaz
Y
Originally Posted By: bwr30060
I'm currently using the DLL to read everything ON TEXT, so the problem could be that it's just too much text for the DLL to handle. If you wanted mIRC to say everything, you could just use the built in speech agent. Maybe this DLL will still work if I only use it in scripts that trigger on specific words. It depends on how you want to use this.


No no, mirc has not to say everything, but only what I send/receive through that "SPEECH" ctcp smile It's basically for fun smile

@sparta: to have a better voice you have to install some professional voices like AT&T Natural Voices or Loquendo

Joined: May 2005
Posts: 449
B
Fjord artisan
Offline
Fjord artisan
B
Joined: May 2005
Posts: 449
Ah, then in that case, the DLL should probably work fine.

Y
yamaz
yamaz
Y
I'll try the .dll. In the meantime I don't get how to use $comcall in this script we already have:

alias sapi.talk {
var %s = Spk. $+ $ticks,%a = $iif($1,$1-,Non ho niente da dì!)
.comopen %s SAPI.SpVoice
if !$comerr { .comclose %s $com(%s,Speak,3,bstr,%a) }
}

If i just change $com with $comcall i get the error "* Invalid parameters: $comcall (line 234, custom.ini)"

Y
yamaz
yamaz
Y
Any help?

Page 2 of 2 1 2

Link Copied to Clipboard