mIRC Home    About    Download    Register    News    Help

Print Thread
#36459 15/07/03 03:43 PM
Joined: Mar 2003
Posts: 4
M
Self-satisified door
OP Offline
Self-satisified door
M
Joined: Mar 2003
Posts: 4
I was wondering if this actually works or how to get it to work. I have looked at some other posts but didnt realy understand. Thanks Alot. This is currently my second post. Here is some information about what I got right now.

Windows 98
Microsoft, Microsoft Speech Recognition Engine 4.0 (English)
^-- Directly from $vcmdver

#36460 15/07/03 07:46 PM
Joined: Dec 2002
Posts: 103
Vogon poet
Offline
Vogon poet
Joined: Dec 2002
Posts: 103
It most definitely works. It's not for dictation though. Just commands.

Below code lets you say "Hello World" "Hello Britain" or "Hello Australia" and the script will say "Greentings, <Place>" back.

Code:
on *:START: {
  ; turn on voice, add words to listen for
  vcmd on
  vcadd Hello World
  vcadd Hello Britain
  vcadd Hello Australia
}

on *:VCMD:Hello *:*: {
  ; Event reacts when command sequence heard
  ; Just prints out the text in different colours
  if ($2 == World) %col = 2
  else %col = 3
  echo %col -a Greetings, $2
}

#36461 20/07/03 10:19 AM
Joined: Dec 2002
Posts: 1
C
Mostly harmless
Offline
Mostly harmless
C
Joined: Dec 2002
Posts: 1
If you've tried Pasmal's code and you're still having trouble making it work, you may need to do some voice training. Here's how.

(Note to lurkers: The labeling of options are slightly different for newer Windows OS's.)
1. Open Control Panel, then double-click Speech. If you don't see the Speech control panel, download it at http://www.microsoft.com/msagent/downloads/user.asp.

2. Select Microsoft Speech Recognition Engine 4.0 (English), then click Training.

3. Pick one of the readings, and follow the directions.

The more training you do, the better voice commands will work.

Best of luck smile


Link Copied to Clipboard