Moving label demo

Share your scripts and packages with other Mudlet users.
Post Reply
User avatar
Vadi
Posts: 4342
Joined: Sat Mar 14, 2009 3:13 pm

Moving label demo

Post by Vadi » Thu May 04, 2017 4:55 am

Makes use of getMousePosition() in 3.1.0 to show you a label that moves around. To install it, copy/paste this into Mudlet:

Image
Code: [show] | [select all] lua
lua function downloaded_package(a,b)if not b:find("oci",1,true)then return end installPackage(b)os.remove(b)end registerAnonymousEventHandler("sysDownloadDone","downloaded_package")downloadFile(getMudletHomeDir().."/oci.mpackage","http://forums.mudlet.org/download/file.php?mode=view&id=1500&sid=e0833f9af9edebc39e930a684c5bb32a")
Attachments
moving-label-demo.zip
(670 Bytes) Downloaded 37 times

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest