Register to post in forums, or Log in to your existing account
 
:
Search found 5 matches for:
Page 1 of 1
Author Message
  Topic: using lua to redirect output to a specific window
jthomas

Replies: 3
Views: 4938

PostForum: CMUD General Discussion   Posted: Sat Jun 30, 2018 2:11 am   Subject: using lua to redirect output to a specific window
sorry for the long delay, the reason is because lua is just better for scripting. My main issue currently is that lua formatting output is very easy with string.format following most of the rules for ...
  Topic: using lua to redirect output to a specific window
jthomas

Replies: 3
Views: 4938

PostForum: CMUD General Discussion   Posted: Sun Jun 24, 2018 1:34 am   Subject: using lua to redirect output to a specific window
Using zscript you can just #win Chat @chatstring

but I can't figure out how to do it from lua, zs.window() fails to do anything.

I also can't figure out how to use the gag command in lua.

Any ...
  Topic: Using lua to access variables by class
jthomas

Replies: 1
Views: 3937

PostForum: CMUD General Discussion   Posted: Thu Jun 14, 2018 1:33 am   Subject: Using lua to access variables by class
I have two classes, ClassOne and ClassTwo, both contain variables with the same name, thisvariable.


Using lua, how do I use the zs.var to access a specific variable?


zs.var.thisvariable only ...
  Topic: #event
jthomas

Replies: 3
Views: 6504

PostForum: CMUD General Discussion   Posted: Sun Oct 23, 2016 8:28 am   Subject: #event
A follow up to this,got the #raise call to work, but i'm using gauges in the ZPG window in the package. but to make this work, the main session has to have both other packages selected. This clones ...
  Topic: #event
jthomas

Replies: 3
Views: 6504

PostForum: CMUD General Discussion   Posted: Sun Oct 23, 2016 7:25 am   Subject: #event
can someone please help me. I have 2 packages, and I cannot get a custom event in one to trigger from a raise in the other.
addrec is an alias adding stuff to a db. The event is defined in package ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net