mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Joined: May 2005
Posts: 449
Fjord artisan
Offline
Fjord artisan
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,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Did you bother to look up $comcall in the help file?


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Don't do that again, ever.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: May 2005
Posts: 449
Fjord artisan
Offline
Fjord artisan
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,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
That wasn't for you, it was about yamaz's thread-bumping (see "Re: yamaz" on the titlebar of my previous post).


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: May 2005
Posts: 449
Fjord artisan
Offline
Fjord artisan
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,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Better yet, /sapi.talk oops! whistle


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Oct 2003
Posts: 68
Y
yamaz Offline OP
Babel fish
OP Offline
Babel fish
Y
Joined: Oct 2003
Posts: 68
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
Fjord artisan
Offline
Fjord artisan
Joined: May 2005
Posts: 449
Ah, then in that case, the DLL should probably work fine.

Joined: Oct 2003
Posts: 68
Y
yamaz Offline OP
Babel fish
OP Offline
Babel fish
Y
Joined: Oct 2003
Posts: 68
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)"

Joined: Oct 2003
Posts: 68
Y
yamaz Offline OP
Babel fish
OP Offline
Babel fish
Y
Joined: Oct 2003
Posts: 68
Any help?

Page 2 of 2 1 2

Link Copied to Clipboard