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
➜ Plugins
➜ Plugin to show worlds with new activity
|
Plugin to show worlds with new activity
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Tue 23 Mar 2004 12:13 AM (UTC) |
| Message
| This simple plugin installs a timer that fires every 2 seconds which updates the Info Bar to show any worlds that have new activity.
<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE muclient>
<!-- Saved on Tuesday, March 23, 2004, 11:06 AM -->
<!-- MuClient version 3.47 -->
<!-- Plugin "ShowActivity" generated by Plugin Wizard -->
<muclient>
<plugin
name="ShowActivity"
author="Nick Gammon"
id="5365175f17f932736cbd30f0"
language="VBscript"
purpose="Shows worlds with new activity in Info Bar"
date_written="2004-03-23 11:05:04"
requires="3.29"
version="1.0"
>
<description trim="y">
<![CDATA[
This automatically updates the Info Bar every 2 seconds to show the names of worlds with new activity.
]]>
</description>
</plugin>
<!-- Timers -->
<timers>
<timer enabled="y" second="2" send_to="12"
active_closed="y" >
<send>active = ""
'
' check all worlds
'
for each id in world.GetWorldIdList
set thisworld = GetWorldById (id)
if not (thisworld is nothing) then
if thisworld.GetInfo (202) > 0 then
if active <> "" then active = active & ", "
active = active & thisworld.GetInfo (2)
end if
set thisworld = nothing
end if
next
'
' display results
'
InfoClear
if active <> "" then
InfoFont "", 0, 1 ' bold font
Info "Activity: "
InfoFont "", 0, 0 ' normal font
Info active
end if</send>
</timer>
</timers>
</muclient>
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
5,965 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top