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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Plugins
. . -> [Subject]  Video showing how to make a plugin

Video showing how to make a plugin

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


Posted by Nick Gammon   Australia  (23,016 posts)  [Biography] bio   Forum Administrator
Date Fri 24 Jul 2009 03:03 AM (UTC)

Amended on Sun 10 Jun 2018 11:46 PM (UTC) by Nick Gammon

Message
I have made a video showing how to make a plugin.

It can be watched at How to make a plugin in MUSHclient. An imbedded copy is below on this page.

Constructive comments are welcome, for example is it too fast, too slow, not enough detail, and so on.


- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,016 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Fri 24 Jul 2009 04:15 AM (UTC)
Message
The plugin generated by this tutorial appears below:


<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on Friday, July 24, 2009, 10:08 AM -->
<!-- MuClient version 4.43 -->

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

<!--
Written as a tutorial.
-->

<muclient>
<plugin
   name="Targetting_System"
   author="Nick Gammon"
   id="9c0b98b57395e9948c6020f0"
   language="Lua"
   purpose="Set up a target and attack it"
   date_written="2009-07-24 10:03:44"
   requires="4.40"
   version="1.0"
   >
<description trim="y">
<![CDATA[
Lets you target a mob and attack it.

Usage:


t <mobname>    -- target a mob
k              -- kill the current target
p              -- punch the current target
bs             -- backstab the current target


Type "tshelp" to see this help.
]]>
</description>

</plugin>


<!--  Aliases  -->

<aliases>
  <alias
   match="k"
   enabled="y"
   expand_variables="y"
   sequence="100"
  >
  <send>kill @target</send>
  </alias>
  <alias
   match="t *"
   enabled="y"
   send_to="12"
   sequence="100"
  >
  <send>SetVariable ("target", "%1")

ColourNote ("white", "blue", "Target is now: %1")

SetStatus ("Target: %1")</send>
  </alias>
  <alias
   match="p"
   enabled="y"
   expand_variables="y"
   sequence="100"
  >
  <send>punch @target</send>
  </alias>
  <alias
   match="bs"
   enabled="y"
   expand_variables="y"
   sequence="100"
  >
  <send>backstab @target</send>
  </alias>
</aliases>

<!--  Plugin help  -->

<aliases>
  <alias
   script="OnHelp"
   match="tshelp"
   enabled="y"
  >
  </alias>
</aliases>

<script>
<![CDATA[
function OnHelp ()
  world.Note (world.GetPluginInfo (world.GetPluginID (), 3))
end
]]>
</script> 

</muclient>

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,016 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Sat 25 Jul 2009 05:20 AM (UTC)
Message
I have added closed captioning to this video. This will help if you can't understand my Australian accent. ;)

The captions also correct some minor errors in what I said, so the caption text should be taken as more correct than the spoken text.

- Nick Gammon

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

Posted by Lasher   USA  (22 posts)  [Biography] bio
Date Reply #3 on Thu 17 Sep 2009 07:43 PM (UTC)
Message
Just watched this - very useful overview for anyone interested in getting started on adding plugins to Mushclient.
[Go to top] top

Posted by Kresslack   (70 posts)  [Biography] bio
Date Reply #4 on Sun 24 Jan 2010 09:50 PM (UTC)
Message
Awesome tut Nick. Was very descriptive and helpful.
[Go to top] top

Posted by GentooX   (1 post)  [Biography] bio
Date Reply #5 on Tue 23 Mar 2010 10:27 PM (UTC)
Message
Very Nice Tutorial

i was really impressed by the presentation too.
nice work on the zoom and highlight.

i wonder what tools were used to do those things.
[Go to top] top

Posted by Nick Gammon   Australia  (23,016 posts)  [Biography] bio   Forum Administrator
Date Reply #6 on Tue 23 Mar 2010 10:34 PM (UTC)
Message
I run my copy of Windows under VMware on a Mac. I used ScreenFlow to capture the screen (it does the zooms and stuff) - however that is a Mac product.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[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.


31,502 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]