Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Tips and tricks
➜ Aardwolf Quest Time Beep Noise Plugin
|
Aardwolf Quest Time Beep Noise Plugin
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| BarkinMad
(2 posts) Bio
|
| Date
| Wed 21 Sep 2016 11:42 PM (UTC) |
| Message
| Use the same technique as in the last post and you will have a new plugin that will make three short beep noises that sound a bit like a sonar but without the reverb when it's time to quest again...
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<muclient>
<plugin
name="Quest_Time_Audio"
author="Barkinmad"
id="18aa87a643f23fa6f208259c"
language="Lua"
save_state="y"
date_written="2016-09-21 11:25:45"
requires="4.98"
version="1.0"
>
</plugin>
<script>
<![CDATA[
require "gmcphelper"
function OnPluginBroadcast (msg, id, name, text)
if (text == "comm.quest") then
res, gmcparg = CallPlugin("3e7dedbe37e44942dd46d264", "gmcpval", "comm")
luastmt = "gmcpdata = " .. gmcparg
assert (loadstring (luastmt or "")) ()
local action = gmcpval("quest.action")
if (action == "ready") then
PlaySound (1, "beep-01.wav", false, 0, 0)
end
end
end -- function onpluginbroadcast
]]>
</script>
</muclient>
| | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
10,411 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top