Skip to content

Instantly share code, notes, and snippets.

@keneanung
Created March 18, 2014 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keneanung/9617099 to your computer and use it in GitHub Desktop.
Save keneanung/9617099 to your computer and use it in GitHub Desktop.
This is how to catch the 'keneanung.bashing.targetList.firstChanged' event for your own target display in mudlet.
-- Script name: catchFirstChanged
-- User defined event handler: keneanung.bashing.targetList.firstChanged
function catchFirstChanged(newTarget)
echo("Our new target is " .. newTarget)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment