I was playing with a bashing script to find targets for me, and I was playing around with this:
for i, v in ipairs(gmcp.Char.Items.List.items) do
if v.attrib=="m" then
target = v.id
Which works for the intial target grab, but it won't update once that target is dead. I've tried using 'ql' or even leaving/reentering the room, but it won't trigger again without some sort of server side intialised update. How can I get this to update, or initiate an update from the server?