| Message |
The function "check" was added into MUSHclient itself in recent versions. If it isn't there, try this:
require "check"
DoAfterSpecial (5 ,'check (Sound ("receive.wav"))',sendto.script)
You could try it out on the command line. Make sure you have "/" set as the scripting prefix and then just type:
/DoAfterSpecial (5 ,'Sound ("receive.wav")',sendto.script)
Then see if you hear anything in 5 seconds. Make sure timers are enabled as DoAfterSpecial actually creates a temporary timer.
Also, these timers won't fire if you aren't connected to the MUD, so if you are just testing, test when you are connected.
I am a bit concerned about not using a pathname. The "current pathname" can change if you browse for a plugin or something. Probably better to force the use of the MUSHclient .exe pathname, if that is where you put the files:
DoAfterSpecial (5 ,'Sound (GetInfo (66) .. "receive.wav")',sendto.script)
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|