Author |
Message |
Topic: Binocular button in maps sends "look" to mud. Magnifying glass does nothing. |
shalimar
Replies: 1
Views: 30
|
Forum: CMUD General Discussion Posted: Wed Apr 23, 2025 9:24 pm Subject: Binocular button in maps sends "look" to mud. Magnifying glass does nothing. |
The magnifying glass will send a #LOOK command, to reset the room description (if the map is in mapping mode).
The binoculars send the #FIND command, which will try to match the output of a 'look' ... |
Topic: MXP links in #SAYs |
shalimar
Replies: 5
Views: 99
|
Forum: CMUD General Discussion Posted: Wed Apr 23, 2025 1:57 pm Subject: MXP links in #SAYs |
Try using %cr instead of <BR>? |
Topic: MXP links in #SAYs |
shalimar
Replies: 5
Views: 99
|
Forum: CMUD General Discussion Posted: Tue Apr 22, 2025 2:15 pm Subject: MXP links in #SAYs |
Not crazy at all, you can even do it in-line:
#TR {(your special phrase)} {#SUB {<send 'default command|command2|command3' 'mouseOver|titles|are shorter'>%1</send>}} |
Topic: round to round iunt adjusting per round... |
shalimar
Replies: 5
Views: 191
|
Forum: CMUD General Discussion Posted: Thu Apr 17, 2025 3:27 pm Subject: round to round iunt adjusting per round... |
I'm not sure how that is adding anything new to the problem?
Where the other variables get declared, doesn't matter, so long as the values are correct at runtime. (which you can test with #PRINT)
... |
Topic: lost command bar |
shalimar
Replies: 1
Views: 92
|
Forum: zMUD General Discussion Posted: Wed Apr 16, 2025 1:25 pm Subject: lost command bar |
right click in the main window
window options
show command line |
Topic: round to round iunt adjusting per round... |
shalimar
Replies: 5
Views: 191
|
Forum: CMUD General Discussion Posted: Wed Apr 16, 2025 10:50 am Subject: round to round iunt adjusting per round... |
skxprd=(@skxprd+@gxprd)
Would be doing what you expect. |
Topic: round to round iunt adjusting per round... |
shalimar
Replies: 5
Views: 191
|
Forum: CMUD General Discussion Posted: Tue Apr 15, 2025 7:50 pm Subject: round to round iunt adjusting per round... |
If you add two static values, the sum will stay the same every time.
Are the two values supposed to be changing?
You didnt give any triggers to show how.
Not enough information to go on. |
Topic: unbold %ansi without reset |
shalimar
Replies: 3
Views: 174
|
Forum: CMUD General Discussion Posted: Mon Apr 14, 2025 8:19 pm Subject: unbold %ansi without reset |
Honestly, i think thats just a quirk of the ansi coloring system.
Have you tried migrating to MXP?
#SAY <color gray>This is gray</color> <color green> This is some green with a ... |
Topic: how to capture an amount and add it to the status windo |
shalimar
Replies: 3
Views: 217
|
Forum: CMUD General Discussion Posted: Thu Apr 10, 2025 12:40 pm Subject: how to capture an amount and add it to the status windo |
#TR {~((%d)~) a quest chit} {questChit=%1}
then you can edit your #STW object to use @questChit |
Topic: Multi Line Capture |
shalimar
Replies: 10
Views: 405
|
Forum: CMUD General Discussion Posted: Thu Apr 10, 2025 1:05 am Subject: Multi Line Capture |
Local variables get flushes automatically with the closing curly brace.
but for a standard variable list:
itemList=%null
will clear it, or you can use #UNVAR to delete it
You can also give the ... |
Topic: Multi Line Capture |
shalimar
Replies: 10
Views: 405
|
Forum: CMUD General Discussion Posted: Wed Apr 09, 2025 3:08 am Subject: Multi Line Capture |
<trigger priority="539480" id="53948">
<pattern>You are currently holding:</pattern>
<value>//Reset stuff goes here, if needed</value>
&l ... |
Topic: Multi Line Capture |
shalimar
Replies: 10
Views: 405
|
Forum: CMUD General Discussion Posted: Wed Apr 09, 2025 3:02 am Subject: Multi Line Capture |
okay, so $var indicates a #LOCAL @var
i.e, a variable that only exists within the {brackets} it is defined in
very handy for data you don't need to save past the now and is only being defined for ... |
Topic: Multi Line Capture |
shalimar
Replies: 10
Views: 405
|
Forum: CMUD General Discussion Posted: Tue Apr 08, 2025 5:17 am Subject: Multi Line Capture |
The trigger type of within lines, along with param, tell it that the condition is active until x lines have printed to the screen before the trigger state updates.
The #STATE command is playing off t ... |
Topic: Multi Line Capture |
shalimar
Replies: 10
Views: 405
|
Forum: CMUD General Discussion Posted: Tue Apr 08, 2025 4:26 am Subject: Multi Line Capture |
Here is the XML of a trigger:
<trigger priority="539480" id="53948">
<pattern>You are currently holding:</pattern>
<trigger type="Within Lines& ... |
Topic: timer to levelling |
shalimar
Replies: 5
Views: 324
|
Forum: CMUD General Discussion Posted: Mon Apr 07, 2025 3:17 pm Subject: timer to levelling |
Basically, you wanna convert both dates into pure seconds, do basic math on the seconds, then convert the sum, back into an easy read span.
The latter of which i helped do in a [url=http://forums.zug ... |
Topic: time formatting not working? |
shalimar
Replies: 12
Views: 895
|
Forum: CMUD General Discussion Posted: Mon Apr 07, 2025 3:15 pm Subject: time formatting not working? |
I think you are just missing a closing brcket for the while?
Did you use the check syntax (ctrl+k) option under the Editor menu? |
Topic: timer to levelling |
shalimar
Replies: 5
Views: 324
|
Forum: CMUD General Discussion Posted: Mon Apr 07, 2025 3:02 pm Subject: timer to levelling |
#SAY %time
defaults to:
Monday April 7, 2025 11:07:56 am
or you can make ity output according to your needs
#FORALL {a|d|m|y|e|c|t|h|n|s|z} {#SH %i: %time(%i) | %time(%i%i) | %time(%i%i%i) | % ... |
Topic: Trying to use match for a script |
shalimar
Replies: 7
Views: 352
|
Forum: CMUD General Discussion Posted: Sun Apr 06, 2025 6:19 pm Subject: Trying to use match for a script |
Yea, that is unlikely to give a false match.
Doesn't really change how I would approach the problem, though.
Whether you use a bunch of if statements, or a database variable, you are still working ... |
Topic: Trying to use match for a script |
shalimar
Replies: 7
Views: 352
|
Forum: CMUD General Discussion Posted: Sun Apr 06, 2025 1:36 pm Subject: Trying to use match for a script |
But I would design a trigger like this off of a variable.
In this case it would be key=value pairs, which we can preload with your known values like so:
#ADDKEY mobList {A spiral Gun=gun|A Groma=g ... |
Topic: Trying to use match for a script |
shalimar
Replies: 7
Views: 352
|
Forum: CMUD General Discussion Posted: Sun Apr 06, 2025 12:32 pm Subject: Trying to use match for a script |
I am guessing this could do with a better pattern then just *, then you could use the repeat within line checkbox, or perhaps use the comma delineation to better establish your count.
Can you show ... |
Topic: timer to levelling |
shalimar
Replies: 5
Views: 324
|
Forum: CMUD General Discussion Posted: Sun Apr 06, 2025 11:39 am Subject: timer to levelling |
%time can spit out the current time in a number of ways
#HELP %time
once you have the two times, then you have to do time math |
Topic: Trying to use match for a script |
shalimar
Replies: 7
Views: 352
|
Forum: CMUD General Discussion Posted: Sun Apr 06, 2025 11:38 am Subject: Trying to use match for a script |
You need to wrap the equation in parentheses for it to evaluate.
This is also true of the #IF statement for best results
$monsters = ($monsters+1)
#IF (%ismember(@monster, "Galga|Zamuza|Balba|B ... |
Topic: Gagging double spam in Cmud |
shalimar
Replies: 2
Views: 251
|
Forum: CMUD General Discussion Posted: Tue Apr 01, 2025 2:39 pm Subject: Gagging double spam in Cmud |
#TR {^>> } {#CAPTURE Familiar;#GAG}
That should redirect the familiar content to another window. |
Topic: Help upgrading 1997 zMud maps |
shalimar
Replies: 1
Views: 299
|
Forum: CMUD General Discussion Posted: Wed Mar 19, 2025 11:19 am Subject: Help upgrading 1997 zMud maps |
there is a map conversion tool for this very purpose [url="http://forums.zuggsoft.com/forums/viewtopic.php?p=153634#153634"]pinned in the CMUD beta section |
Topic: time formatting not working? |
shalimar
Replies: 12
Views: 895
|
Forum: CMUD General Discussion Posted: Mon Mar 17, 2025 5:20 pm Subject: time formatting not working? |
No, i had left another typo in |
|