| Message |
If you want to see what Achaea sends, install this in a fairly recent version of MUSHclient:
 |
To save and install the Achaea_Test plugin do this:
- Copy between the lines below (to the Clipboard)
- Open a text editor (such as Notepad) and paste the plugin into it
- Save to disk on your PC, preferably in your plugins directory, as Achaea_Test.xml
- Go to the MUSHclient File menu -> Plugins
- Click "Add"
- Choose the file Achaea_Test.xml (which you just saved in step 3) as a plugin
- Click "Close"
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<muclient>
<plugin
name="Achaea_Test"
author="Nick Gammon"
id="3d13120b92f9f93af9ac6f42"
language="Lua"
purpose="Tests Achaea ATCP"
date_written="2010-02-05"
requires="4.50"
version="1.0"
>
</plugin>
<!-- Script -->
<script>
<![CDATA[
function OnPluginTelnetSubnegotiation (type, option)
AppendToNotepad ("Achaea", "'" .. string.gsub (option, "\n", "\r\n") .. "'\r\n\r\n")
end -- function OnPluginTelnetSubnegotiation
function OnPluginTelnetRequest (type, data)
if type == 200 and data == "WILL" then
return true
end -- if
end -- function OnPluginTelnetRequest
]]>
</script>
</muclient>
I see stuff like:
'Char.Vitals
H:580/580 M:580/580 E:1800/1800 W:1800/1800 NL:4/100 '
'Room.Num 13215'
'Room.Brief Kinsarmar Road near Cactii Gate'
'Room.Coordinates 16,-7,3,0'
'Room.Environment Urban'
'Room.Exits ne,e,se,sw,w,nw'
'Room.FullExits ne(13219),e(13271),se(16754),sw(1980),w(13247),nw(13272)'
'Char.Vitals
H:580/580 M:580/580 E:1800/1800 W:1800/1800 NL:4/100 '
'Char.Vitals
H:580/580 M:580/580 E:1800/1800 W:1800/1800 NL:4/100 '
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|