Search found 1146 matches

by Jor'Mox
Fri Apr 05, 2024 2:46 pm
Forum: Help Forum
Topic: MXP processing hang - unescaped ampersands
Replies: 17
Views: 11907

Re: Potential color handling bug in Mudlet?

So that rule and regex helps the case where someone has written a naked ampersand in the form of "You are standing at the intersection of Church St & University Road" but not in the case "You flick on the TV and see the closing credits to the Tom&Jerry show". It also doe...
by Jor'Mox
Thu Apr 04, 2024 10:36 pm
Forum: Help Forum
Topic: MXP processing hang - unescaped ampersands
Replies: 17
Views: 11907

Re: Potential color handling bug in Mudlet?

So, from what I can find about MXP [https://www.zuggsoft.com/zmud/mxp.htm], it is modeled after XML, which has the following rules regarding entity usage: Rules for using legal Entity Markup The entity must be declared in the DTD. If you are using an XML document which is not validated against a DTD...
by Jor'Mox
Tue Apr 02, 2024 1:50 pm
Forum: Help Forum
Topic: MXP processing hang - unescaped ampersands
Replies: 17
Views: 11907

Re: Potential color handling bug in Mudlet?

I'd think that even if Mudlet isn't going to discard malformed MXP, it should at the very least report an error. That way, if this comes up for someone else, at least they will know what the problem is, and can inform the admins on their game.
by Jor'Mox
Mon Apr 01, 2024 8:15 pm
Forum: Howtos, FAQs and Tips & Tricks
Topic: Please help, auto banking script/package
Replies: 1
Views: 7089

Re: Please help, auto banking script/package

Okay, so let me try to break this down into discrete elements, and you can provide correction if necessary. These are the tasks any script/package would need to perform, as I understand it. 1) Detection of key events: gold carried by character, gold deposited in bank, arrival at city port. 2) Moveme...
by Jor'Mox
Fri Nov 24, 2023 4:59 pm
Forum: Scripts & Packages
Topic: Wait and Wait Line
Replies: 20
Views: 49478

Re: Wait and Wait Line

So, if I'm reading things correctly, this should be the same script I wrote above, but changed to use the wait functionality. Probably a bit more intuitive for someone not used to recursion. perform = perform or {} local performance = performance or {} perform.run = function(time, rand, song) time =...
by Jor'Mox
Thu Nov 23, 2023 4:56 pm
Forum: Scripts & Packages
Topic: Wait and Wait Line
Replies: 20
Views: 49478

Re: Wait and Wait Line

So, while something like a wait function is convenient, it isn't overly complicated to do the same thing with the tools already available. For instance, I put together a very simple little script to manage that performance you mention. It just needs a couple of simple aliases thrown together to inte...
by Jor'Mox
Sat Nov 18, 2023 6:30 pm
Forum: Scripts & Packages
Topic: Button with proggramed actions
Replies: 4
Views: 6305

Re: Button with proggramed actions

Using timers, i.e. waiting, is 100% the wrong way to go about this, and will create far too much work to get it going via that method, that will have to all be undone to switch over do making it trigger driven, which is how it will have to be done if it is supposed to be smart at all. While I didn't...
by Jor'Mox
Thu Nov 16, 2023 7:28 pm
Forum: Scripts & Packages
Topic: Button with proggramed actions
Replies: 4
Views: 6305

Re: Button with proggramed actions

So this will need a number of different parts working together to get the results you want. The button part is pretty easy, either using actual buttons or a styled label that is made to act like a button using the setLabelClickCallback function. Either way, your button needs to then call some sort o...
by Jor'Mox
Fri Oct 13, 2023 5:37 pm
Forum: Help Forum
Topic: Conditional triggers nested inside main trigger?
Replies: 2
Views: 6910

Re: Conditional triggers nested inside main trigger?

Honestly, i don't see that being best done through gated triggers, as you have an open ended amount of time before you are done needing the follow up trigger. Rather, it seems to me that it would be easier to just use the first trigger to enable the failure condition trigger, and possibly a third tr...
by Jor'Mox
Mon Aug 28, 2023 11:44 am
Forum: Help Forum
Topic: Probably really easy IF THEN question
Replies: 5
Views: 23915

Re: Probably really easy IF THEN question

You are right that. I'm totally sleep deprived. My bad.Thanks.

Edit: Fixed the original post to use the right brackets, and pull out the other bit.