Author |
Message |
Topic: Is package's state shared? |
yawdoolf
Replies: 1
Views: 3503
|
Forum: CMUD General Discussion Posted: Mon Oct 13, 2008 11:02 pm Subject: Is package's state shared? |
"State" means values of variables, buttons, etc.
For example, I have "some.pkg" package and some values within. This package is used by two different sessions.
Suppose I've opened both. Will all val ... |
Topic: Map conversion problem: zMud -> CMud |
yawdoolf
Replies: 0
Views: 2929
|
Forum: CMUD General Discussion Posted: Mon Oct 13, 2008 10:01 pm Subject: Map conversion problem: zMud -> CMud |
I've imported zMud files into CMud and map now has all text labels slightly shifted left.
There are so many text labels within each zone :(
Have somebody encountered the same problem? And how it c ... |
Topic: Lua and %x1..%x99 predefined variables |
yawdoolf
Replies: 4
Views: 9545
|
Forum: CMUD General Discussion Posted: Mon Oct 13, 2008 7:17 pm Subject: Lua and %x1..%x99 predefined variables |
I doesn't work. I've just used "print(zs.sys.x1())" and got error.
Does it work with you? |
Topic: Lua and %x1..%x99 predefined variables |
yawdoolf
Replies: 4
Views: 9545
|
Forum: CMUD General Discussion Posted: Sun Oct 12, 2008 11:10 pm Subject: Lua and %x1..%x99 predefined variables |
I've solved this problem by zs.cmd.execute (or zs.exec).
This command lets you do anything, but I don't think that it's efficient due to additional parsing.
I think that there could be functions z ... |
Topic: Lua and %x1..%x99 predefined variables |
yawdoolf
Replies: 4
Views: 9545
|
Forum: CMUD General Discussion Posted: Sun Oct 12, 2008 6:25 pm Subject: Lua and %x1..%x99 predefined variables |
How can I get %x1..%x99 values inside of Lua script? I want to call zs.cmd.pcol(). |
Topic: #call %session.EchoStr("dd") doesn't work |
yawdoolf
Replies: 1
Views: 3864
|
Forum: zMUD General Discussion Posted: Sat Oct 11, 2008 7:20 pm Subject: #call %session.EchoStr("dd") doesn't work |
Hello,
I use subject inside of command line trigger, but when it fires zMud tells "Error parsing command. Invalid number of parameters.".
If I use #echo %session.WindowName - it works.
I follow ... |
Topic: Dynamic #query string. How? |
yawdoolf
Replies: 5
Views: 8938
|
Forum: zMUD General Discussion Posted: Fri Sep 26, 2008 9:33 pm Subject: Dynamic #query string. How? |
By the way, can I do it with JavaScript?
But I have no idea how to access zMud variables and invoke zMud commands like #query, etc.
Could somebody give me a clue about using JavaScript inside of z ... |
Topic: Dynamic #query string. How? |
yawdoolf
Replies: 5
Views: 8938
|
Forum: zMUD General Discussion Posted: Mon Sep 22, 2008 10:16 pm Subject: Dynamic #query string. How? |
I think your problem is that you have single quotes where they're not needed. It seems to work with single quotes but within explicit query.
A sample fairly complex query would look something like ... |
Topic: Dynamic #query string. How? |
yawdoolf
Replies: 5
Views: 8938
|
Forum: zMUD General Discussion Posted: Mon Sep 22, 2008 8:55 pm Subject: Dynamic #query string. How? |
First you can build the query string dynamically, store it in a variable, that pass the variable into the #QUERY command.Like that?
#var myvar "&Name = 'staff'"
#query (@myvar) ... |
Topic: Dynamic #query string. How? |
yawdoolf
Replies: 5
Views: 8938
|
Forum: zMUD General Discussion Posted: Sun Sep 21, 2008 2:18 pm Subject: Dynamic #query string. How? |
Hello.
I need to query DB with non-static query string. For example, the following are static (I mean that I can only pass values to compare with but can't change comparing expression itself) queri ... |
|