Search found 36 matches

by Puckster
Fri Aug 13, 2021 12:48 am
Forum: Help Forum
Topic: Echo a list in a miniconsole
Replies: 11
Views: 7264

Re: Echo a list in a miniconsole

Well, nothing a little arithmatic and movcurso can't solve, I think ...

Thanks again for the help.
by Puckster
Thu Aug 12, 2021 8:02 pm
Forum: Help Forum
Topic: Echo a list in a miniconsole
Replies: 11
Views: 7264

Re: Echo a list in a miniconsole

Well, a dozen maybe, so ... :-). I have a couple of different options now, though. Thank you!

One last question, is there any way to have the echo start at the bottom of the miniConsole and work up? I think I can figure a way around this wiht 'moveCursor', but thought I would ask.
by Puckster
Thu Aug 12, 2021 7:01 pm
Forum: Help Forum
Topic: Echo a list in a miniconsole
Replies: 11
Views: 7264

Re: Echo a list in a miniconsole

By the way, I am guessing the answer is parsing the list and sending the output one item at a time, but I am concerned about the overhead/efficiency of that.
by Puckster
Thu Aug 12, 2021 6:54 pm
Forum: Help Forum
Topic: Echo a list in a miniconsole
Replies: 11
Views: 7264

Re: Echo a list in a miniconsole

Thanks for the response!

That worked, but not quite as desired (though probably as expected ... :-))

myTable = {"1", "2"}
HelloWorld:display(myTable)

results in {"1","2"} being echoed to the miniconsole.

What I was hoping for was

1
2
by Puckster
Thu Aug 12, 2021 4:09 am
Forum: Help Forum
Topic: Echo a list in a miniconsole
Replies: 11
Views: 7264

Echo a list in a miniconsole

Is there a way to echo an entire list (table) to a miniconsole other than parsing the list and sending the elements individually?
by Puckster
Mon Aug 09, 2021 3:00 am
Forum: Help Forum
Topic: Identifying and Selecting Targets from a List
Replies: 4
Views: 4388

Re: Identifying and Selecting Targets from a List

Getting closer, but I am sure there are problems with my code and there are still a couple of gaps that I am stuck on. -- Initialize list at login moblist = {} -- List of potential targets. targets = {} -- List of actual targets mapped to one of 4 slots --[[ In code that parses game output to identi...
by Puckster
Sun Aug 08, 2021 11:04 pm
Forum: Help Forum
Topic: Identifying and Selecting Targets from a List
Replies: 4
Views: 4388

Re: Identifying and Selecting Targets.

Ok, starting to work some of this out for myself. Completely new to LUA and Mudlet and Geyser, so ... on the learning curve here. So populating either list is easy enough with "insert", so that part is straightfoward. moblist = {} targets = {} Then why my trigger identifies a potential tar...
by Puckster
Sat Aug 07, 2021 11:08 pm
Forum: Help Forum
Topic: Identifying and Selecting Targets from a List
Replies: 4
Views: 4388

Re: Identifying and Selecting Targets.

By the way, I'll take partial solutions or ideas to get me started. :-)
by Puckster
Sat Aug 07, 2021 11:02 pm
Forum: Help Forum
Topic: Hide/remove buttons next to command line
Replies: 2
Views: 3101

Re: Hide/remove buttens next to command line

Aha! Thanks.
by Puckster
Sat Aug 07, 2021 8:41 pm
Forum: Help Forum
Topic: Identifying and Selecting Targets from a List
Replies: 4
Views: 4388

Identifying and Selecting Targets from a List

Ok, let me see if I can explain this. It's a bit hard because I don't know exactly what I want until I tinker with it a little bit, but I'll give it a shot. First part - target slots: I want to have a list of 4 primary targets. I want to bind 4 keys (one for each target) to attack the selected targe...