Author |
Message |
Topic: [3.1.2] 2 lua bugs |
kendric
Replies: 2
Views: 4111
|
Forum: CMUD Beta Forum Posted: Sat Jan 23, 2010 7:14 pm Subject: [3.1.2] 2 lua bugs |
Ok. Thanks for your responses Zugg! I have another one but I will post a new message. |
Topic: ANSI Color trigger |
kendric
Replies: 9
Views: 16764
|
Forum: CMUD General Discussion Posted: Thu Jan 14, 2010 10:19 pm Subject: ANSI Color trigger |
You could code this such that you build an array of 0s and 1s based on each line that is comming in. Then you have some table that has all the things you want to match against. Would be a lot of work ... |
Topic: [3.1.2] 2 lua bugs |
kendric
Replies: 2
Views: 4111
|
Forum: CMUD Beta Forum Posted: Thu Jan 14, 2010 9:53 pm Subject: [3.1.2] 2 lua bugs |
1) If you store a lua table which has a single value, it appears that when you get it out later it becomes a string. For example I had stored:
tab={}
tab["blah"]=true
zs.var.myvar=tab
then in a ... |
Topic: How does session xml work? What is it? |
kendric
Replies: 4
Views: 6115
|
Forum: CMUD General Discussion Posted: Thu Jan 14, 2010 9:48 pm Subject: How does session xml work? What is it? |
In the first post, I mentioned I cannot use cmud functions. This is a LUA related question not a zscript question if that was the confusion. I did have one idea though. In lua a function is a variabl ... |
Topic: How does session xml work? What is it? |
kendric
Replies: 4
Views: 6115
|
Forum: CMUD General Discussion Posted: Thu Jan 14, 2010 8:27 pm Subject: How does session xml work? What is it? |
Ok. Thanks. Do you know how to create lua global functions basically, or reusable blocks of code between aliases\triggers. |
Topic: How does session xml work? What is it? |
kendric
Replies: 4
Views: 6115
|
Forum: CMUD General Discussion Posted: Wed Jan 13, 2010 5:02 am Subject: How does session xml work? What is it? |
So i have a large library of cmud aliases, triggers etc that I use when I mud. I recently wanted to make some global lua functions and saw somewhere about having a session xml and people putting funct ... |
Topic: lua cmud integration |
kendric
Replies: 1
Views: 4751
|
Forum: CMUD General Discussion Posted: Thu Dec 10, 2009 12:55 am Subject: lua cmud integration |
I located the info in the help under the function refrence->Lua Scripting Section! Yeah. |
Topic: lua cmud integration |
kendric
Replies: 1
Views: 4751
|
Forum: CMUD General Discussion Posted: Wed Dec 09, 2009 8:20 pm Subject: lua cmud integration |
I am evaling the demo of cmud and am very interested in the lua scripting part. However I am unable to find any documentation on the function library for the zs object. My question is, am I just not l ... |
|