Author |
Message |
Topic: yet another issue.... |
calesta
Replies: 2
Views: 5566
|
Forum: CMUD General Discussion Posted: Wed Mar 25, 2009 1:18 pm Subject: yet another issue.... |
I believe the problem is that in your trigger 'Your efforts produced (%d) (*)', you set fletchbuffer to 0 in both the then and else clauses of your first if statement.#IF (@fletchbuffer > 20 ... |
Topic: Trying to make an autoroller. |
calesta
Replies: 10
Views: 25782
|
Forum: zMUD General Discussion Posted: Sat Mar 21, 2009 2:10 pm Subject: Trying to make an autoroller. |
I tested it out on the MUD and had the same problem. I got it to work just by removing the #forall loop in the trigger for the first line of stats and just doing all of the checking in a single #fora ... |
Topic: Trying to make an autoroller. |
calesta
Replies: 10
Views: 25782
|
Forum: zMUD General Discussion Posted: Sat Mar 21, 2009 2:07 am Subject: Trying to make an autoroller. |
Untested except with a couple of #show commands using the sample output above, but something along these lines should work. Just replace the roll stats part inside the startroll alias with whatever c ... |
Topic: veryy easy question |
calesta
Replies: 5
Views: 9414
|
Forum: CMUD General Discussion Posted: Fri Mar 20, 2009 11:37 pm Subject: veryy easy question |
The [[cmud_aliases]aliases] help page has it just a little ways down the page. |
Topic: veryy easy question |
calesta
Replies: 5
Views: 9414
|
Forum: CMUD General Discussion Posted: Fri Mar 20, 2009 11:28 pm Subject: veryy easy question |
Use %1 to refer to the parameter you pass to the alias.
#alias sf {use punchart spinfist at %1} |
Topic: somethings is up with my counter, now... |
calesta
Replies: 6
Views: 9446
|
Forum: CMUD General Discussion Posted: Fri Mar 20, 2009 7:46 pm Subject: somethings is up with my counter, now... |
Your #if command has the wrong syntax... you are using {@death=0 && @fleexp=0} instead of (@death=0 && @fleexp=0). |
Topic: Padding spaces, centering text, would like a better way... |
calesta
Replies: 7
Views: 9879
|
Forum: CMUD General Discussion Posted: Tue Mar 10, 2009 5:47 pm Subject: Padding spaces, centering text, would like a better way... |
That doesn't work for centering, because what it does is takes:
#say @padcent("Testing",9,"-")
and instead of -Testing-, it returns:
---------Testing
(or some sort).
Yeah, Fang's original ... |
Topic: Padding spaces, centering text, would like a better way... |
calesta
Replies: 7
Views: 9879
|
Forum: CMUD General Discussion Posted: Tue Mar 10, 2009 3:52 pm Subject: Padding spaces, centering text, would like a better way... |
I believe you can also still make the subregex work by using the length of the matched string as the number of times to repeat the desired character to form the replacement string:%subregex(" ... |
Topic: Session Clock |
calesta
Replies: 5
Views: 9131
|
Forum: CMUD General Discussion Posted: Tue Mar 10, 2009 1:51 am Subject: Session Clock |
Click the Prefs button on the toolbar, select Network on the left column, and then select the Connection tab. Make sure the Show connection timer box is checked. |
Topic: Making a screen display - fitting things correctly |
calesta
Replies: 18
Views: 18187
|
Forum: zMUD General Discussion Posted: Mon Feb 23, 2009 6:49 pm Subject: Making a screen display - fitting things correctly |
According to the help file %format returns null if there is a problem with any of the format specifiers, so it appears as if it thinks there is something wrong with them here. As far as I can tell &a ... |
Topic: [3.03a] Problem with Favorites in the Mapper |
calesta
Replies: 3
Views: 6051
|
Forum: CMUD Beta Forum Posted: Mon Feb 09, 2009 11:27 pm Subject: [3.03a] Problem with Favorites in the Mapper |
I tried the steps above in 2.37 and the problem does not exist there. When you delete the parent node favorite, all of it's children favorites automatically get moved back up to the root level instea ... |
Topic: Regex help wanted |
calesta
Replies: 4
Views: 7111
|
Forum: zMUD General Discussion Posted: Mon Feb 09, 2009 5:13 pm Subject: Regex help wanted |
The \ applies to the character after it, not before it. In a regex, the ^\s+-\s(?:(?:(?:Angry|[()IHGRDXTW])\s?)*\s)?(.*)$ |
Topic: [3.03a] Problem with Favorites in the Mapper |
calesta
Replies: 3
Views: 6051
|
Forum: CMUD Beta Forum Posted: Sun Feb 08, 2009 7:33 pm Subject: [3.03a] Problem with Favorites in the Mapper |
Ran into a couple of issues trying to use Favorites.
The first issue could be something I just missed, but on the Mapper's Favorites panel I don't see any way to move a room back up to the root lev ... |
Topic: Odd Regex Issue [Solved] |
calesta
Replies: 8
Views: 8927
|
Forum: CMUD General Discussion Posted: Thu Feb 05, 2009 11:44 pm Subject: Odd Regex Issue [Solved] |
Spellbot-t2 doesn't appear to have the regex flag turned on. |
Topic: Help getting mapper to follow into a room |
calesta
Replies: 1
Views: 4469
|
Forum: CMUD General Discussion Posted: Wed Jan 28, 2009 3:36 am Subject: Help getting mapper to follow into a room |
Nevermind, figured it out. Somehow missed the improving room detection section of the docs for the mapper, just needed triggers that used the #nomap command for those three lines. |
Topic: Help getting mapper to follow into a room |
calesta
Replies: 1
Views: 4469
|
Forum: CMUD General Discussion Posted: Wed Jan 28, 2009 2:31 am Subject: Help getting mapper to follow into a room |
I am trying to map an area that has a hidden ladder down into a sewers area. The following text shows the output from the MUD when I enter the room from above. The first three lines only happen when ... |
Topic: Counting lines |
calesta
Replies: 8
Views: 10003
|
Forum: zMUD General Discussion Posted: Mon Jan 26, 2009 8:12 pm Subject: Counting lines |
I'm not sure why the blank lines aren't matched, but why don't you end the mob gathering when the prompt is found instead:#trigger Scan {^You scan your surroundings...$}
#cond Scan {^% ... |
Topic: Local variable expansion problem |
calesta
Replies: 4
Views: 6889
|
Forum: CMUD General Discussion Posted: Tue Jan 20, 2009 10:07 pm Subject: Local variable expansion problem |
It wasn't going to another package since I didn't have any other packages... but I restarted CMUD and it is working fine for me now as well.
Only weird behavior is the 4096_4097 variable which I ca ... |
Topic: Local variable expansion problem |
calesta
Replies: 4
Views: 6889
|
Forum: CMUD General Discussion Posted: Tue Jan 20, 2009 8:41 pm Subject: Local variable expansion problem |
Ahh that makes sense. I was thinking that the #var command was only used for non-local variables and the #local command was for local variables, but I do see the note in the #var command that it work ... |
Topic: Local variable expansion problem |
calesta
Replies: 4
Views: 6889
|
Forum: CMUD General Discussion Posted: Tue Jan 20, 2009 7:45 pm Subject: Local variable expansion problem |
Tried submitting this through the system, but it doesn't like XML. Local variable substitution doesn't seem to be working correctly when I try to use them to build variable names. This is using CMUD ... |
Topic: Running two versions of CMUD |
calesta
Replies: 9
Views: 14469
|
Forum: CMUD Beta Forum Posted: Mon Jan 19, 2009 10:58 pm Subject: Running two versions of CMUD |
I could be wrong, but according to [url="http://forums.zuggsoft.com/forums/viewtopic.php?t=32564&highlight=registry"]this thread, Zugg said this path is stored as a registry entry. Since both ins ... |
Topic: A Couple of Questions about Variables... |
calesta
Replies: 8
Views: 8210
|
Forum: CMUD General Discussion Posted: Mon Jan 19, 2009 10:49 pm Subject: A Couple of Questions about Variables... |
For the alias this seems to work assuming the set type and equipment slot are only ever going to be one word each:<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
... |
Topic: zScript Object properties questions |
calesta
Replies: 2
Views: 5337
|
Forum: CMUD General Discussion Posted: Mon Jan 19, 2009 1:32 pm Subject: zScript Object properties questions |
Thanks, Tech.
I saw that printing the object correctly showed the state but that didn't help in determining through code whether it was a valid object or not. I redesigned what I was trying to do ... |
Topic: zScript Object properties questions |
calesta
Replies: 2
Views: 5337
|
Forum: CMUD General Discussion Posted: Sun Jan 18, 2009 6:56 am Subject: zScript Object properties questions |
I am trying to figure out how to use a couple of the common properties for zScript objects. The first one is the isvalid property. I made a simple test alias as follows:<?xml version="1.0&qu ... |
Topic: simple #if statement outputting an unwanted numeric string to the mud [solved] |
calesta
Replies: 3
Views: 6333
|
Forum: CMUD General Discussion Posted: Thu Jan 15, 2009 5:20 am Subject: simple #if statement outputting an unwanted numeric string to the mud [solved] |
%btncol says it returns the color of the button, so thats prolly where the number comes from. Should be able to make it stop sending that to the mud by sticking a #call in front of it I think. |
|