![]() ![]() It should pop up in the Registered Event Handler box. Introduction This tutorial will show you how to create a simple defense tracker in the IRE MUD, Aetolia. So, if you're writing a function that you want to fire every time you get new character vital data, like HP, balances, all that, you would write '' into the 'Add User Defined Event Handler' box, and click the plus button. ![]() It is assumed you have installed Mudlet and have a. In the box labelled 'Add User Defined Event Handler', you need to write the exact table name of the GMCP data that you would like to cause the event to fire. Introduction This tutorial will show you how to create a simple defense tracker in the IRE MUD, Aetolia. Mudlet geyser tutorial Stardrive 2 custom race points Diskkeeper 2010 on server 2008 On1 effects 2019.5 Website monitor size test Totally accurate battle. This function will be called whenever your event handler is called. GMCP is a sort of invisible information sent by the server to Mudlet. I don't know why this is, it's just a thing I discovered back when I was learning Mudlet. The Nick Gammon thread on tables (linked from the mudlet manual) was really helpful but it refers to a function he includes with mushclient, but which is not with standard lua or mudlet. So if your function is called onVitalUpdate, your script needs to be called onVitalUpdate. A tutorial on lists would have been really handy. It needs to contain a function and an event handler, and the script file needs to be named the same as the function. ![]() GMCP events are fairly straightforward - events in general are a bit trickier and I haven't messed around with any player-created ones, so I'll leave that for someone else.īasically, you make a script (click the Scripts button on your menu bar, then click Add Item). I like talking about this because it makes me feel useful. ![]()
0 Comments
Leave a Reply. |