If you want to have sounds play during your chat sessions (eg. to tell you there is a new call, or a new message) you can achieve this by some customising of the chat.xml file, or - perhaps better - make your own "local" plugin that simply plays the sounds.
Since the chat system will call the chat callbacks in all installed plugins you can have one plugin to play the sounds, and another to do the command-line handling, as supplied with MUSHclient.
The sound file names here are examples, you would customise them (and the directory) to suit whatever you wanted to hear.
Since the chat system will call the chat callbacks in all installed plugins you can have one plugin to play the sounds, and another to do the command-line handling, as supplied with MUSHclient.
The sound file names here are examples, you would customise them (and the directory) to suit whatever you wanted to hear.
'
' Play sound when someone tries to connect
'
Function OnPluginChatAccept (sText)
Sound "c:\mushclient\sounds\connect.wav"
OnPluginChatAccept = vbTrue ' accept it
End Function
'
' Play sound at start and end of file transfer
'
Function OnPluginChatMessage (id, message, sText)
OnPluginChatMessage = vbTrue ' process it
if message = 20 then
Sound "c:\mushclient\sounds\filestart.wav"
end if
if message = 24 then
Sound "c:\mushclient\sounds\fileend.wav"
end if
End Function
'
' Play sound on incoming message
'
Function OnPluginChatDisplay (message, sText)
OnPluginChatDisplay = vbTrue ' display it
if message >= 3 and message <= 6 then
Sound "c:\mushclient\sounds\chat.wav"
end if
End Function
'
' Play sound on user disconnect
'
sub OnPluginChatUserDisconnect (id, name)
Sound "c:\mushclient\sounds\disconnect.wav"
end sub