Mudlet Live Feed Script
I've made a script that takes the live feed from the front page of the Imperian website and incorporates it into mudlet for you to see inline with other things. This shows things like deaths, character achievements, ally login/logoff (if you set your person number), and other fun things. The script works by downloading the json file from the Imperian webserver directly and parsing the data. It runs every 60 seconds (although this can be modified in the script). To install, please copy the script from here (http://pastebin.com/Rs7TxP99) and save as a new script file in mudlet. It should automatically register the event handlers and timer for you.
Please let me know if you have any trouble with the script, or have any suggestions to make it better!
Please let me know if you have any trouble with the script, or have any suggestions to make it better!
0
Comments
Also, curious about how big the json file is.
85787083: {
}0: "85787083", 1: "Level Gained", 2: "Alyssn earned level 19.", 3: "LUP", 4: "mid", 5: "2014-05-15 16:38:26", 6: "0", id: "85787083", caption: "Level Gained", description: "Alyssn earned level 19.", type: "LUP", game: "Midkemia Online", date: "2014-05-15 16:38:26", persona: "0", gametype: "LUP", gameid: "mid"
}Thanks again :P