Author |
Message |
Topic: [2.01] Cross-Module Variable Referencing |
The Raven
Replies: 7
Views: 7231
|
Forum: CMUD Beta Forum Posted: Mon Aug 27, 2007 7:45 pm Subject: [2.01] Cross-Module Variable Referencing |
Hrm. Can you dereference variable names using that syntax? What's the equivalent to this?
#VAR @Foo {value} {} {//class/path}
This does not compile, for obvious reasons:
//class/path/@Foo = v ... |
Topic: [2.01] Cross-Module Variable Referencing |
The Raven
Replies: 7
Views: 7231
|
Forum: CMUD Beta Forum Posted: Mon Aug 27, 2007 7:27 pm Subject: [2.01] Cross-Module Variable Referencing |
That works just fine. So... does that mean #VAR {var} {value} {default} {//module/class} syntax is broken? Should that be deprecated or abandoned? |
Topic: [2.01] Cross-Module Variable Referencing |
The Raven
Replies: 7
Views: 7231
|
Forum: CMUD Beta Forum Posted: Mon Aug 27, 2007 5:37 pm Subject: [2.01] Cross-Module Variable Referencing |
I have two modules in a package. It's pretty simple... one trigger, one alias, and two variables.
I'm a bit puzzled though why it's not working. It's simple and straightforward.
Every time I typ ... |
Topic: [1.34] Trigger execution from the settings editor |
The Raven
Replies: 8
Views: 6656
|
Forum: CMUD Beta Forum Posted: Fri Aug 24, 2007 8:02 pm Subject: [1.34] Trigger execution from the settings editor |
Nice! That was an option I missed.
Edit: So, when is this mythical 2.0 coming out? ;-) And can I pre-order it now? |
Topic: [1.34] New Trigger State creates Variable |
The Raven
Replies: 1
Views: 2786
|
Forum: CMUD Beta Forum Posted: Fri Aug 17, 2007 8:55 pm Subject: [1.34] New Trigger State creates Variable |
I was creating a third step to a trigger, when this bizarre bug occurred. I deleted the weird variable and duplicated the bug several times in a row. The first image is what it looked like just before ... |
Topic: [1.34] #VAR $var {...} broken; cannot create variables named with $vars. |
The Raven
Replies: 2
Views: 3822
|
Forum: CMUD Beta Forum Posted: Fri Aug 17, 2007 7:33 pm Subject: [1.34] #VAR $var {...} broken; cannot create variables named with $vars. |
Ahh, gotit. Thank you. |
Topic: [1.34] Local Only in child Packages prevents processing of triggers. |
The Raven
Replies: 6
Views: 6065
|
Forum: CMUD Beta Forum Posted: Fri Aug 17, 2007 7:31 pm Subject: [1.34] Local Only in child Packages prevents processing of triggers. |
Cool. I created a module called 'Interface', and that's working nicely. Thanks Fang. |
Topic: [1.34] GUI ignores %vartype(s,i), clobbers manually set %vartype |
The Raven
Replies: 4
Views: 5506
|
Forum: CMUD Beta Forum Posted: Fri Aug 17, 2007 7:17 pm Subject: [1.34] GUI ignores %vartype(s,i), clobbers manually set %vartype |
Is there a way for me to tell the GUI NOT to reinterpret the string? Well... lemme put it a different way.
When I view the variable in the GUI for the first time, it sets the variable type to 0, au ... |
Topic: [1.34] #VAR $var {...} broken; cannot create variables named with $vars. |
The Raven
Replies: 2
Views: 3822
|
Forum: CMUD Beta Forum Posted: Fri Aug 17, 2007 6:14 pm Subject: [1.34] #VAR $var {...} broken; cannot create variables named with $vars. |
#ALIAS working {
var = "Foo"
#VAR @var {Bar}
#ECHO @Foo
}
The output of running this is, as expected, 'Bar'. The @Foo variable is created (as is the useless @var variable)
Now, the sma ... |
Topic: [1.34] GUI ignores %vartype(s,i), clobbers manually set %vartype |
The Raven
Replies: 4
Views: 5506
|
Forum: CMUD Beta Forum Posted: Fri Aug 17, 2007 6:06 pm Subject: [1.34] GUI ignores %vartype(s,i), clobbers manually set %vartype |
I haven't read up on all the changes going into 2.0... I'm just back to using CMud again, so I started posting bugs. I'm quite sure that some of the bugs I post will be outdated or already-reported, b ... |
Topic: [1.34] GUI ignores %vartype(s,i), clobbers manually set %vartype |
The Raven
Replies: 4
Views: 5506
|
Forum: CMUD Beta Forum Posted: Fri Aug 17, 2007 5:45 pm Subject: [1.34] GUI ignores %vartype(s,i), clobbers manually set %vartype |
#ALIAS testVartype {
#VAR testVar {a=1|b=Foo}
#ECHO %vartype(testVar)
#CALL %vartype(testVar,5)
#ECHO %vartype(testVar)
}
The output from this alias is close to what you would expect:
... |
Topic: [1.34] Local Only in child Packages prevents processing of triggers. |
The Raven
Replies: 6
Views: 6065
|
Forum: CMUD Beta Forum Posted: Fri Aug 17, 2007 5:32 pm Subject: [1.34] Local Only in child Packages prevents processing of triggers. |
I have a Window package (let's call it 'Mud') and a child package (we'll name it 'BB'). I don't want to allow the main Mud window to alter or change any variables in the BB package... nor do I want an ... |
Topic: Documentation: //Package/Class/Hierarchy not documented. |
The Raven
Replies: 1
Views: 2651
|
Forum: CMUD Beta Forum Posted: Fri Aug 17, 2007 5:25 pm Subject: Documentation: //Package/Class/Hierarchy not documented. |
A detailed explanation of how to specify where to save a setting (for example, #var name value _nodef {//Package/Class}) is nowhere that I can find, other than hunting deep in the forums. It's not do ... |
Topic: [1.34] Setting editor's Refresh button/menu item doesn't |
The Raven
Replies: 6
Views: 5255
|
Forum: CMUD Beta Forum Posted: Fri Aug 17, 2007 5:15 pm Subject: [1.34] Setting editor's Refresh button/menu item doesn't |
I agree with Zhiroc. |
Topic: [1.34] Completion Cosmetics |
The Raven
Replies: 1
Views: 2796
|
Forum: CMUD Beta Forum Posted: Fri Aug 17, 2007 5:10 pm Subject: [1.34] Completion Cosmetics |
It would be very nice if the completion control that pops up when typing put the symbol of what you were completing in front. Rather than just the name of the item, the initial symbol will aid with ra ... |
Topic: [1.18] Trigger draggin fun *Urgent* |
The Raven
Replies: 6
Views: 6400
|
Forum: CMUD Beta Forum Posted: Mon Dec 04, 2006 9:57 pm Subject: [1.18] Trigger draggin fun *Urgent* |
Natural pessimism. |
Topic: [1.17] Undocked windows always obscure the main window |
The Raven
Replies: 5
Views: 5234
|
Forum: CMUD Beta Forum Posted: Fri Dec 01, 2006 10:27 pm Subject: [1.17] Undocked windows always obscure the main window |
Yeah, the new docking system is a ton better than the old way. It's very usable now. |
Topic: Congratulations |
The Raven
Replies: 5
Views: 9751
|
Forum: CMUD Beta Forum Posted: Fri Dec 01, 2006 10:26 pm Subject: Congratulations |
Yeah, I tried it at 1.03... didn't take a look again until 1.11, and the difference was pretty marked. It's getting really close to usable, though I'm afraid the settings random deletion/corruption is ... |
Topic: Question about macro detection |
The Raven
Replies: 4
Views: 5480
|
Forum: CMUD Beta Forum Posted: Fri Dec 01, 2006 10:25 pm Subject: Question about macro detection |
Riiight... because it's a bug. Hence, he added it to the bug list. He didn't say it was fixed yet. :-) |
Topic: [1.17] Windows undock with a small size. |
The Raven
Replies: 3
Views: 3984
|
Forum: CMUD Beta Forum Posted: Fri Dec 01, 2006 10:15 pm Subject: [1.17] Windows undock with a small size. |
It is small so that it is easier to manipulate. After you drag it off, it's easier to increase the size of something than decrease it. For example, if your CMUD was nearly maximized, and you drag the ... |
Topic: [1.17] 99% CPU on long room descriptions |
The Raven
Replies: 4
Views: 5358
|
Forum: CMUD Beta Forum Posted: Fri Dec 01, 2006 10:12 pm Subject: [1.17] 99% CPU on long room descriptions |
Ouch... nice trigger. :-) |
Topic: [1.17] clickable hyperlink trigger |
The Raven
Replies: 14
Views: 12551
|
Forum: CMUD Beta Forum Posted: Wed Nov 29, 2006 8:06 pm Subject: [1.17] clickable hyperlink trigger |
But can you use the + in braces, without the %eval()? If we put () around it will that work (I think () = %eval) |
Topic: [1.17] clickable hyperlink trigger |
The Raven
Replies: 14
Views: 12551
|
Forum: CMUD Beta Forum Posted: Wed Nov 29, 2006 7:00 pm Subject: [1.17] clickable hyperlink trigger |
Perhaps, since quoting portions of text is more important now in CMUD, you could provide some syntactic sugar for the %concat() function? We need a less verbose way to use it, since we use it so often ... |
Topic: [1.16/7] Triggers Randomly not Fireing |
The Raven
Replies: 12
Views: 9470
|
Forum: CMUD Beta Forum Posted: Wed Nov 29, 2006 6:52 pm Subject: [1.16/7] Triggers Randomly not Fireing |
How about the reverse then Zugg... rather than a warning 'OMG, you suxxor' when it doesn't compile, you could put a green 'No Errors' up when it compiles successfully. When they type you take away the ... |
Topic: [1.17] clickable hyperlink trigger |
The Raven
Replies: 14
Views: 12551
|
Forum: CMUD Beta Forum Posted: Wed Nov 29, 2006 6:20 pm Subject: [1.17] clickable hyperlink trigger |
crycry, try marking the brackets <> with ~ to quote them, or using %concat() to merge everything.
#SUBSTITUTE {~<A '%quote(%2)'~>%1%2%3~</A~>}
#SUBSTITUTE { ... |
|