MohoScripting.com - unofficial Moho scripting documentation

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

User avatar
SimplSam
Posts: 1263
Joined: Thu Mar 13, 2014 9:09 am
Location: London, UK
Contact:

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by SimplSam »

For mohoscripts.com, one update which I think could be useful is having the Script title in the meta property "og:title", similar to the HTML page title.

I often see links/refs to downloads in Discord, and they appear to pull the "Moho Scripts - download free add-ons for Moho animation software." text from og:title, which unfortunately makes them look very generic, especially when multiple scripts are referenced.

Image
Moho 14.4 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.4 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
Stan
Posts: 245
Joined: Sun Apr 19, 2009 7:22 am

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Stan »

I agree, Sam! That's, actually, what I've been thinking to do for a long time now. I'll try my best to implement that ASAP. Thank you for bringing it up.
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
Stan
Posts: 245
Joined: Sun Apr 19, 2009 7:22 am

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Stan »

It is done now. The og:title and og:description are dynamic now, however, it may take a while to renew the third-party app's cache (i.e. Discord, Telegram, Facebook, etc.). Unfortunately there's nothing I can do with those, but eventually they should get updated.
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
User avatar
SimplSam
Posts: 1263
Joined: Thu Mar 13, 2014 9:09 am
Location: London, UK
Contact:

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by SimplSam »

Great. Thanks.
Moho 14.4 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.4 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
Stan
Posts: 245
Joined: Sun Apr 19, 2009 7:22 am

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Stan »

MohoScripting.com now also supports dynamic og:title and og:description meta tags.
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
Stan
Posts: 245
Joined: Sun Apr 19, 2009 7:22 am

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Stan »

Hi everyone,

I've just published a new Help section on MohoScripts.com.

The goal is to answer some of the most common questions around Moho scripts, such as:

- script safety and downloads
- who can publish scripts and why
- installing and uninstalling scripts
- administration contacts

It's intended as a practical reference for both new and experienced users, and I'll keep improving it over time as new questions come up.

You can check it out here:
https://www.mohoscripts.com/help

As always, feedback is very welcome - if there's something you think should be clarified or added, feel free to reply here.

Thanks to everyone who helps make the Moho scripting community what it is!

- Stan
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
User avatar
SimplSam
Posts: 1263
Joined: Thu Mar 13, 2014 9:09 am
Location: London, UK
Contact:

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by SimplSam »

Great addition to the site.

Whilst we are here ...

Looking at one of the latest uploads (Blur_ByCZ) - there may be a couple of issues that could be pre-addressed in the Help section.

1) Script Name: This is non-standard i.e. Does not follow the Initials followed by underscore-spaced name parts.

2) Description Text (non-english): I know English is not everyone's native language, but for consistency, at least equivalent English text should probably be included.

(EDIT)

3) In some future site version, we could possibly have an author Profile page, where authors could populate their ( non-excessively-advertising ) profile info. Which may help to avoid overpopulating the Script description with social media links like: mo-layerinterval
Last edited by SimplSam on Mon Dec 29, 2025 10:36 am, edited 1 time in total.
Moho 14.4 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.4 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
User avatar
hayasidist
Posts: 3948
Joined: Wed Feb 16, 2011 11:12 am
Location: Kent, England

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by hayasidist »

SimplSam wrote: Mon Dec 29, 2025 6:54 am Great addition to the site.

Whilst we are here ...

Looking at one of the latest uploads (Blur_ByCZ) - there may be a couple of issues that could be pre-addressed in the Help section.

1) Script Name: This is non-standard i.e. Does not follow the Initials followed by underscore-spaced name parts.

2) Description Text (non-english): I know English is not everyone's native language, but for consistency, at least equivalent English text should probably be included.
+1 to all of that!
Stan
Posts: 245
Joined: Sun Apr 19, 2009 7:22 am

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Stan »

SimplSam wrote: Mon Dec 29, 2025 6:54 am Looking at one of the latest uploads (Blur_ByCZ) – there may be a couple of issues that could be pre-addressed in the Help section.
I'm actually working on a document that will serve as a set of guidelines describing the conventions to follow when creating scripts for Moho. The idea is for it to be suitable for both human and AI reading. That said, I'm not sure I have either the authority or the desire to enforce it as something every script author must follow - it would be more of a set of recommendations than strict rules.

BTW, the author of that script is a member of this forum, so you can use the board to contact them directly and discuss your concerns.

SimplSam wrote: Mon Dec 29, 2025 6:54 am In some future site version, we could possibly have an author profile page, where authors could populate their (non-excessively-advertising) profile info. This may help avoid overpopulating the script description with social media links, like: mo-layerinterval
There are people who like to add all their social media links to every post anyway. Do you really think having a profile page would stop them from doing that? :)
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
congz
Posts: 8
Joined: Mon Aug 25, 2025 2:47 am
Location: Vietnam

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by congz »

SimplSam wrote: Mon Dec 29, 2025 6:54 am Great addition to the site.

Whilst we are here ...

Looking at one of the latest uploads (Blur_ByCZ) - there may be a couple of issues that could be pre-addressed in the Help section.

1) Script Name: This is non-standard i.e. Does not follow the Initials followed by underscore-spaced name parts.

2) Description Text (non-english): I know English is not everyone's native language, but for consistency, at least equivalent English text should probably be included.

(EDIT)

3) In some future site version, we could possibly have an author Profile page, where authors could populate their ( non-excessively-advertising ) profile info. Which may help to avoid overpopulating the Script description with social media links like: mo-layerinterval
Thank you for your feedback
I would like to clarify my question regarding the language used in the description. I’m wondering how a description that is not entirely in English would actually affect users.
I am from Vietnam, and when I create these scripts, I sometimes use Vietnamese in the description. This helps me search, maintain, and understand the script logic much faster during development and future updates.
This is also the first script I’ve ever created, so if there are any parts of the script or the submission process that do not fully follow the standard workflow, I would truly appreciate your advice. I’m more than willing to adjust and improve it based on your suggestions.
Of course, I understand the importance of consistency and accessibility for international users. If having an English description is required or strongly recommended, I’m happy to include an equivalent English version alongside the Vietnamese text.
Thank you again for your time and helpful guidance.
Stan
Posts: 245
Joined: Sun Apr 19, 2009 7:22 am

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by Stan »

Hi everyone,
I wanted to share that I've published a Moho Scripting Conventions document, which is now publicly available on both MohoScripting.com and MohoScripts.com.

https://mohoscripting.com/scripting-conventions
https://mohoscripts.com/scripting-conventions

It's intended to be useful for:

- Writing scripts manually
- Reviewing or maintaining existing scripts
- Using AI helpers (ChatGPT, Copilot, etc.) more effectively by giving them a clear style and structure to follow

The conventions are not mandatory rules, but a set of practical guidelines aimed at improving readability, maintainability, and consistency across scripts. I'd like to encourage everyone to use it in your projects. If you use AI models, please point them to the document when generating Moho scripts.

If you have suggestions, edge cases, or ideas for improvements, I'm happy to hear your feedback.

Hope it's helpful, and thanks to the Moho community for all the great scripting discussions and tools over the years!

- Stan
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
User avatar
synthsin75
Posts: 10406
Joined: Mon Jan 14, 2008 2:20 pm
Location: Oklahoma
Contact:

Re: MohoScripting.com - unofficial Moho scripting documentation

Post by synthsin75 »

Might be worth noting that global variables can be used if assigned to the script table, e.g. SZ_MyTool.myStr = "ABC".
Post Reply