Search found 44 matches

by zhenzh
Sat May 09, 2020 10:03 am
Forum: General Forum
Topic: command separator incorrectly parsed
Replies: 9
Views: 811

Re: command separator incorrectly parsed

Then, the send command will also be changed to send("north;;look").
Or, the "north;look" will be considered as the entire string and the ; will not be parsed as separator.
by zhenzh
Sat May 09, 2020 8:23 am
Forum: General Forum
Topic: command separator incorrectly parsed
Replies: 9
Views: 811

Re: command separator incorrectly parsed

Yes, it can be processed in an alias as a work around. Just wonder whether there will be a better solution as some times I may run a batch of lua commands from input cli for debugging. I have to create some temp aliases and edit them again and again for different trouble shooting purpose. Updating l...
by zhenzh
Sat May 09, 2020 7:54 am
Forum: General Forum
Topic: command separator incorrectly parsed
Replies: 9
Views: 811

Re: command separator incorrectly parsed

I use send here for there are some additional lua judgement around, for example: if string.match(line, "north") then send("north;look;south") else send("south;look;north") end Besides, the # repeat script may also be impacted. When I run #3 north;look to expect the result north;look;north;look;north...
by zhenzh
Sat May 09, 2020 7:25 am
Forum: General Forum
Topic: command separator incorrectly parsed
Replies: 9
Views: 811

Re: command separator incorrectly parsed

How about the other non-walk comands?
When I try to do send("north;look;south")
by zhenzh
Fri May 08, 2020 9:46 am
Forum: General Forum
Topic: command separator incorrectly parsed
Replies: 9
Views: 811

command separator incorrectly parsed

When I try running lua send() from input command line, separators were parsed incorrectly. For example, I'm using ; as separator and will send a batch of commands from lua. I used: lua send("north;north;north") While the command was considered as send("north, north, north") 3 parts which lead to inp...
by zhenzh
Thu May 07, 2020 7:12 am
Forum: Howtos, FAQs and Tips & Tricks
Topic: How to get specified number of output lines in history
Replies: 1
Views: 357

How to get specified number of output lines in history

I'd like to get last 10 lines received from server, how to implement that?
by zhenzh
Fri May 01, 2020 7:33 am
Forum: Mudlet Development
Topic: Script auto exection is really a trouble design
Replies: 10
Views: 543

Re: Script auto exection is really a trouble design

Well, then I may understand why I'm troubling with such system while you said others not. I guess most people use this script feature as function container so that multiple execution will be be a problem as only functions being defined again and again. While I use it as a true script in which defini...
by zhenzh
Fri May 01, 2020 4:56 am
Forum: Mudlet Development
Topic: Script auto exection is really a trouble design
Replies: 10
Views: 543

Re: Script auto exection is really a trouble design

Look at the above attachment(grean area output) Switch clicking parent and children script: 1. clicking parent -> children run, parent run (yellow font) 2. clicking children -> parent run, children run (gray font) 3. clicking parent -> children run, parent run (yellow font) 4. clicking children -> p...
by zhenzh
Thu Apr 30, 2020 2:03 pm
Forum: Mudlet Development
Topic: Script auto exection is really a trouble design
Replies: 10
Views: 543

Re: Script auto exection is really a trouble design

Will you have plan to fix this issue that parent script being auto executed by its children? I think there should be some rules to avoide parent/children scripts impact each other. Such as: All children scripts will be auto executed once thier parent script is executed. Children script execution wil...
by zhenzh
Thu Apr 30, 2020 10:51 am
Forum: Mudlet Development
Topic: Toggle splitscreen button is recommanded
Replies: 1
Views: 136

Toggle splitscreen button is recommanded

It would be better to add a "toggle splitscreen" button like what zMUD did to help quickly moving to the latest screen page.
捕获.PNG
捕获.PNG (3.75 KiB) Viewed 136 times