Register to post in forums, or Log in to your existing account
 
:
Search found 109 matches for:
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
Author Message
  Topic: How does #MATH works?
mikeC130

Replies: 10
Views: 1001

PostForum: CMUD General Discussion   Posted: Fri Jul 05, 2024 10:37 pm   Subject: How does #MATH works?
No, #MATH doesn't do math in cMud - it isn't actually a command any more, so the parser is treating it as just a string of text. It is expanding your variables, but not doing anything with them as th ...
  Topic: line break in trigger pattern OR multiple lines trigger? [SOLVED]
mikeC130

Replies: 6
Views: 793

PostForum: CMUD General Discussion   Posted: Fri May 17, 2024 10:09 pm   Subject: Re: line break in trigger pattern OR multiple lines trigger?
You are looking for a multi-state trigger.

This is essentially a way to string triggers together. You'd likely use the first state to capture the chant and set a variable, and the second stage wou ...
  Topic: CASE random with #ALARM or #WAIT
mikeC130

Replies: 2
Views: 1082

PostForum: zMUD General Discussion   Posted: Fri Nov 10, 2023 6:03 pm   Subject: CASE random with #ALARM or #WAIT
Your commands are incomplete. For alarm, any commands associated with it triggering must be in brackets {}, as in #ALARM +2 {Hi}. For your script, you would have nested brackets, with each case bein ...
  Topic: Help with capture to variable
mikeC130

Replies: 2
Views: 1233

PostForum: CMUD General Discussion   Posted: Tue Aug 29, 2023 1:01 pm   Subject: Help with capture to variable
The following should do it.
<trigger name="Test 29 Aug 23" priority="400" trigontrig="false" id="40">
<pattern>Exp:%s(%d) ~(Safe: (%d), Latent: (%d)~) Next Level:%s(%d) ~((*)~%~)</p ...
  Topic: Retrieve License Key Probrem
mikeC130

Replies: 6
Views: 2131

PostForum: zMUD General Discussion   Posted: Sat Aug 26, 2023 12:15 pm   Subject: Retrieve License Key Probrem
If you don't get a reply on this forum shortly from Chiara, try sending her an email directly to chiara at zuggsoft dot com (replace at with @ and dot with . for the exact address).
  Topic: zmud won't start
mikeC130

Replies: 5
Views: 1631

PostForum: zMUD General Discussion   Posted: Fri Aug 25, 2023 12:59 pm   Subject: zmud won't start
What do the windows event logger and system reliability reports say about it?
  Topic: How to get value of for instance %w
mikeC130

Replies: 1
Views: 1073

PostForum: zMUD General Discussion   Posted: Thu Jun 29, 2023 2:24 pm   Subject: How to get value of for instance %w
%w on its own will be used to determine whether the trigger is matched and fires, but it doesn't capture anything. You need to put parentheses around what you wish to capture, in this case your trigg ...
  Topic: how to use lua
mikeC130

Replies: 2
Views: 1891

PostForum: CMUD General Discussion   Posted: Wed May 03, 2023 8:24 pm   Subject: how to use lua
That program doesn't appear to do what he wants to do. From my (very limited) understanding of the code, it takes a time (in seconds as far as I can tell, though I can't say what the zero reference i ...
  Topic: Sending arbitrary multiple line text to a trigger to parse for script testing?
mikeC130

Replies: 4
Views: 2604

PostForum: CMUD General Discussion   Posted: Tue Mar 28, 2023 2:21 pm   Subject: Sending arbitrary multiple line text to a trigger to parse for script testing?
Thanks for the info. This should allow any user to simulate any mud text output that they desire for the purpose of writing/testing triggers.

Mike
  Topic: Trigger to disconnect NOW and reconnect after specific hours
mikeC130

Replies: 1
Views: 1442

PostForum: zMUD General Discussion   Posted: Sun Mar 26, 2023 3:20 pm   Subject: Trigger to disconnect NOW and reconnect after specific hours
The following trigger will meet your basic requirements.
<trigger priority="220" id="22">
<pattern>* tells you re-connect (%d) hours.</pattern>
& ...
  Topic: Sending arbitrary multiple line text to a trigger to parse for script testing?
mikeC130

Replies: 4
Views: 2604

PostForum: CMUD General Discussion   Posted: Fri Mar 24, 2023 9:10 pm   Subject: Sending arbitrary multiple line text to a trigger to parse for script testing?
I was not aware that a trigger would parse/fire on #echo (I thought the only parsing done was that CMUD would expand variables, but not that they would be checked against triggers). That will make it ...
  Topic: OK, so I can't seem to handle a simple IF statement
mikeC130

Replies: 9
Views: 4236

PostForum: CMUD General Discussion   Posted: Sat Mar 18, 2023 6:13 pm   Subject: OK, so I can't seem to handle a simple IF statement
Thought I'd come back and add a conclusion to this thread, in case someone sees it later and wonders what is going on.

As covered in another thread, the issue with the #ADDITEM command turned out t ...
  Topic: Sending arbitrary multiple line text to a trigger to parse for script testing?
mikeC130

Replies: 4
Views: 2604

PostForum: CMUD General Discussion   Posted: Sat Mar 18, 2023 5:50 pm   Subject: Sending arbitrary multiple line text to a trigger to parse for script testing?
Is there a way to input text via command line or text file that CMUD will parse as if it were text from a MUD? This is to allow offline testing or testing triggers against arbitrary text - for instan ...
  Topic: I broke something in CMUD, again.
mikeC130

Replies: 0
Views: 1243

PostForum: CMUD General Discussion   Posted: Wed Mar 15, 2023 8:15 pm   Subject: I broke something in CMUD, again.
CMUD has decided that it will not process any command line input prior to sending it to the mud. Commands such as #CLASS are sent as text and not executed by CMUD, variables entered on the command li ...
  Topic: OK, so the program just hates me
mikeC130

Replies: 4
Views: 2415

PostForum: CMUD General Discussion   Posted: Sat Mar 11, 2023 3:24 am   Subject: OK, so the program just hates me
Just had a thought as to what MIGHT be an issue. The room.info.details packet does indeed come back as "non-standard," at least compared to the rest of the gmcp message. The data packet (I believe) ...
  Topic: OK, so the program just hates me
mikeC130

Replies: 4
Views: 2415

PostForum: CMUD General Discussion   Posted: Fri Mar 10, 2023 2:14 pm   Subject: OK, so the program just hates me
Issue persists across an export/import cycle. It also seems to be contagious, because I installed CMUD on another computer and typed in a new script which does the same thing. Interestingly, it also ...
  Topic: OK, so the program just hates me
mikeC130

Replies: 4
Views: 2415

PostForum: CMUD General Discussion   Posted: Wed Mar 08, 2023 7:10 pm   Subject: OK, so the program just hates me
I am still having problems with my script. The first issue is that, yes, #ADDITEM is DEFINITELY adding duplicate variables. The second problem is that I have a comparison which for some reason WILL ...
  Topic: OK, so I can't seem to handle a simple IF statement
mikeC130

Replies: 9
Views: 4236

PostForum: CMUD General Discussion   Posted: Tue Mar 07, 2023 8:24 pm   Subject: OK, so I can't seem to handle a simple IF statement
OK, I can confirm that, for some reason, the #ADDITEM command does indeed add duplicates for me.

Continuing on and adding to the trigger I have been working on, here is the trigger:
<trigger na ...
  Topic: OK, so I can't seem to handle a simple IF statement
mikeC130

Replies: 9
Views: 4236

PostForum: CMUD General Discussion   Posted: Tue Mar 07, 2023 2:52 am   Subject: OK, so I can't seem to handle a simple IF statement
Didn't use the function, only the command, and using the $newarea temp variable pulled directly from the gmcp data on repeated looks without moving I ended up with about 10 copies of the area name. I ...
  Topic: OK, so I can't seem to handle a simple IF statement
mikeC130

Replies: 9
Views: 4236

PostForum: CMUD General Discussion   Posted: Mon Mar 06, 2023 10:01 pm   Subject: OK, so I can't seem to handle a simple IF statement
Yes, just found that out...

Formatting will be the death of me, and proofreading your own code sucks. I once spent five days in college going over a simple 30 line assembly program with no luck on ...
  Topic: OK, so I can't seem to handle a simple IF statement
mikeC130

Replies: 9
Views: 4236

PostForum: CMUD General Discussion   Posted: Mon Mar 06, 2023 4:32 am   Subject: OK, so I can't seem to handle a simple IF statement
The gmcp variable is being captured correctly and transferred to the temp variables- the #SAY command spits out the correct values for the current and previously entered room. It is just everything a ...
  Topic: OK, so I can't seem to handle a simple IF statement
mikeC130

Replies: 9
Views: 4236

PostForum: CMUD General Discussion   Posted: Mon Mar 06, 2023 2:36 am   Subject: OK, so I can't seem to handle a simple IF statement
I am foraying into the region of writing some more complicated triggers than "If the mud says I can't move, then delete the direction from the que and don't try to move."

I am trying to grab use gm ...
  Topic: Comments within settings
mikeC130

Replies: 3
Views: 2186

PostForum: CMUD General Discussion   Posted: Tue Feb 14, 2023 1:07 pm   Subject: Comments within settings
Just what I was looking for - thank you very much good dragon!
  Topic: Comments within settings
mikeC130

Replies: 3
Views: 2186

PostForum: CMUD General Discussion   Posted: Mon Feb 13, 2023 4:15 pm   Subject: Comments within settings
Apologies if this is already documented in some obvious location that I should have already found, but is there a way to enter comments within a long script (say, a multistage trigger) where you can d ...
  Topic: Macro keys - keypad names
mikeC130

Replies: 0
Views: 1171

PostForum: CMUD General Discussion   Posted: Thu Feb 09, 2023 8:13 pm   Subject: Macro keys - keypad names
I am almost certainly missing something simple, but I am trying to create a macro using the keypad's ./del key (between the 0 and enter keys). I can't to get this key to work. Neither KEY. or KEYDEL ...
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net