Aardwolf sends (upon commanding 'look'):
The Grand Plaza
room.info { "num": 32443, "name": "The Grand Plaza", "zone": "aylor", "terrain": "hellfountain", "details": "", "exits": { "n": 32454, "e": 32444, "s": 32457, "w": 32442 }, "coord": { "id": 0, "x": 30, "y": 20, "cont": 0 } }
In contrast to the somber reputation of the arch marking the western
entrance to the plaza, the Sunrise Arch is a place to celebrate new life.
When the New Year's procession winds through the streets, it is tradition
for the celebrants to write their worries of the old year on scrolls and
toss them into a fire built under the arch. The stone has been stained
black with the soot of a million fears, and each sunrise is a pyre to
consume them again. At night, the arch is a favored meeting place of
conspirators. All varieties of hooded figures skulk here by night, before
wandering off to conduct their business.
[ Exits: north east south west ]
where room.info is GMCP data.
With the test plugin below, I'm expecting to see (because it's a new line per change 7 in 5.02):
The Grand Plaza
** MY NOTE **hmm
In contrast to the somber reputation of the arch marking the western
entrance to the plaza, the Sunrise Arch is a place to celebrate new life.
When the New Year's procession winds through the streets, it is tradition
for the celebrants to write their worries of the old year on scrolls and
toss them into a fire built under the arch. The stone has been stained
black with the soot of a million fears, and each sunrise is a pyre to
consume them again. At night, the arch is a favored meeting place of
conspirators. All varieties of hooded figures skulk here by night, before
wandering off to conduct their business.
[ Exits: north east south west ]
Instead I see:
The Grand Plaza
** MY NOTE ** In contrast to the somber reputation of the arch marking the western
entrance to the plaza, the Sunrise Arch is a place to celebrate new life.
hmm
When the New Year's procession winds through the streets, it is tradition
for the celebrants to write their worries of the old year on scrolls and
toss them into a fire built under the arch. The stone has been stained
black with the soot of a million fears, and each sunrise is a pyre to
consume them again. At night, the arch is a favored meeting place of
conspirators. All varieties of hooded figures skulk here by night, before
wandering off to conduct their business.
[ Exits: north east south west ]
(G) A stout dwarf, Wesnir, walks slowly, admiring the views of Aylor.
If I uncomment the empty Simulate, which I think should be doing absolutely nothing, then the output is correct. So I guess whatever the empty Simulate is doing there is needed.
Test Plugin:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<muclient>
<plugin
name="test_callback_ansinote_simulate"
author="Fiendish"
id="b0ba651e71e0c226a60ae8f1"
language="Lua"
date_written="2014-04-08 09:43:19"
requires="4.90"
version="1.0"
>
</plugin>
<script>
function OnPluginBroadcast (msg, id, name, text)
if id == "3e7dedbe37e44942dd46d264" then -- gmcphandler
if (text == "room.info") then
-- Simulate("")
AnsiNote(ANSI(0,38,5,33).."** MY NOTE **"..ANSI(0,38,5,7).."hmm\n")
end -- if room.info
end
end
</script>
</muclient>
|