Console/alert feedback

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

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

Post Reply
Posts: 154
Joined: Thu Aug 13, 2015 7:18 pm

Console/alert feedback

Post by ernpchan » Mon Aug 31, 2015 10:47 pm

I'm trying to get into ASP scripting and unfortunately I'm not familiar with lua. I've got experience with AE's javascript and lscript/python in LightWave.

What's the equivalent of printing or alerting back information for ASP so I can see what variables are doing?



It's basically a print statement.

Code: Select all

print (string)
And I found the console window, it's under Window>Lua Console.

My opinions and comments do not represent those of my employer.
User avatar
Posts: 7184
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma

Re: Console/alert feedback

Post by synthsin75 » Tue Sep 01, 2015 1:19 am

local var = "string"

Check out how some of the script writing menu scripts work...or any tool for that matter.
Posts: 2152
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Console/alert feedback

Post by hayasidist » Tue Sep 01, 2015 1:29 am

and just in case you haven't found them ...

LUA docs are here:
and scripting info is here (as well as elsewhere): (see also viewtopic.php?f=12&t=28021)

print ("string1" .. "string2") concatenates

local i = 6
-- the following work as expected
print (i)
print ("string", i)
Post Reply