Search found 1142 matches

by Jor'Mox
Fri Nov 24, 2023 4:59 pm
Forum: Scripts & Packages
Topic: Wait and Wait Line
Replies: 20
Views: 38812

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: 38812

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: 1370

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: 1370

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: 2301

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: 18871

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.
by Jor'Mox
Sun Aug 27, 2023 12:07 pm
Forum: Help Forum
Topic: Probably really easy IF THEN question
Replies: 5
Views: 18871

Re: Probably really easy IF THEN question

Interestingly, you can actually use tables to bypass most of the if/then stuff here, like this. local dirs = {"go 9e, 9n, 18w, 2s, 16e, 5s, 2w, 3n, 2w, 3s, 2w, 3n, 2w, 3s, 2w, 3n, 2w, 3s, 2w, 3n, 2w, 3s, d", "go 11s, 18e, 8n, 2w, 6s, 2w, 6n, 2w, 6s, 2w, 6n, 2w, 6s, 2w, 6n, 2w, 6s, 2w,...
by Jor'Mox
Wed Jul 19, 2023 6:48 pm
Forum: Mudlet Mapper
Topic: suggestion: add waiting button for special exit window in mapper
Replies: 7
Views: 36081

Re: suggestion: add waiting button for special exit window in mapper

So long as they are already using speedwalk with a delay, you could absolutely do something like that, where they set an extra delay variable in their script, that is executed, and it is reset when the continue_walk function runs its own wait timer where you indicated. And given that it would be ess...
by Jor'Mox
Tue Jul 18, 2023 4:10 pm
Forum: Mudlet Mapper
Topic: suggestion: add waiting button for special exit window in mapper
Replies: 7
Views: 36081

Re: suggestion: add waiting button for special exit window in mapper

Yeah, speedwalks with waiting included require special implementation because of the way that speedwalks work. Normally, they just spam out all the commands as fast as possible, and assume everything will go through properly. As far as I see it, there are three different approaches that could work i...
by Jor'Mox
Wed May 24, 2023 12:09 pm
Forum: Help Forum
Topic: Command Spam Prevention
Replies: 3
Views: 7780

Re: Command Spam Prevention

I rewrote some of your if statements just to highlight the sorts of things you can do with Lua to simplify your code. function command_count(event, command) commandCountKill = commandCountKill or 1 currentCommand = command commandCountKill = currentCommand == lastCommand and commandCountKill + 1 or ...