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.
Entire forum
➜ MUSHclient
➜ Plugins
➜ 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 page
Posted by
| Nick Gammon
Australia (23,102 posts) 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 | Top |
|
Posted by
| Nick Gammon
Australia (23,102 posts) 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 | Top |
|
Posted by
| Nick Gammon
Australia (23,102 posts) 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 | Top |
|
Posted by
| Lasher
USA (22 posts) 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.
| Top |
|
Posted by
| Kresslack
(70 posts) Bio
|
Date
| Reply #4 on Sun 24 Jan 2010 09:50 PM (UTC) |
Message
| Awesome tut Nick. Was very descriptive and helpful. | Top |
|
Posted by
| GentooX
(1 post) 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. | Top |
|
Posted by
| Nick Gammon
Australia (23,102 posts) 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 | 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.
32,829 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top