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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Characters Counter

Characters Counter

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


Posted by KaiserBear   (9 posts)  [Biography] bio
Date Fri 09 Sep 2016 01:45 AM (UTC)
Message
I'm not sure if this is an option I click somewhere or a plugin. I used to have it so that on my info pane it would show the characters in my command line, but when I switched computers it isn't there anymore and I can't remember how I set it up.

Can anyone help me with this?
[Go to top] top

Posted by Fiendish   USA  (2,514 posts)  [Biography] bio   Global Moderator
Date Reply #1 on Fri 09 Sep 2016 09:58 AM (UTC)
Message
Woah, that's a really good idea! In like 15 years of MUDding I've never thought to do that lol.

Here. You might have gotten it from this forum thread.

http://www.mushclient.com/forum/bbshowpost.php?bbsubject_id=9470

https://github.com/fiendish/aardwolfclientpackage
[Go to top] top

Posted by KaiserBear   (9 posts)  [Biography] bio
Date Reply #2 on Fri 09 Sep 2016 02:55 PM (UTC)
Message
I actually tried that before this post but it didn't seem to work for me.
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Fri 09 Sep 2016 09:14 PM (UTC)

Amended on Fri 09 Sep 2016 09:15 PM (UTC) by Nick Gammon

Message
It worked OK for me. Here it is, turned into a plugin:

Template:saveplugin=Show_Characters_Typed To save and install the Show_Characters_Typed plugin do this:
  1. Copy between the lines below (to the Clipboard)
  2. Open a text editor (such as Notepad) and paste the plugin into it
  3. Save to disk on your PC, preferably in your plugins directory, as Show_Characters_Typed.xml
  4. Go to the MUSHclient File menu -> Plugins
  5. Click "Add"
  6. Choose the file Show_Characters_Typed.xml (which you just saved in step 3) as a plugin
  7. Click "Close"



<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on Saturday, September 10, 2016, 8:12 AM -->
<!-- MuClient version 5.02 -->

<!-- Plugin "Show_Characters_Typed" generated by Plugin Wizard -->

<muclient>
<plugin
   name="Show_Characters_Typed"
   author="Worstje"
   id="22b61a28a371832a5d226960"
   language="Lua"
   purpose="Show how many characters in the command line"
   date_written="2016-09-10 08:11:36"
   requires="4.50"
   version="1.0"
   >

</plugin>

<!--  Script  -->

<script>
<![CDATA[
function OnPluginCommandChanged()
  -- OnPluginCommandChanged() gets called each time
  -- the command window changes.
  
  SetStatus("Character count: " .. GetCommand():len())
end
]]>
</script>

</muclient>

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by KaiserBear   (9 posts)  [Biography] bio
Date Reply #4 on Fri 09 Sep 2016 11:14 PM (UTC)
Message
Nick's worked just great, thanks Nick!
[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.


13,089 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 HostDash]