[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Tips and tricks
. . -> [Subject]  Aardwolf Quest Time Beep Noise Plugin
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Aardwolf Quest Time Beep Noise Plugin

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by BarkinMad   (2 posts)  [Biography] 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>

[Go to top] 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.


957 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]