Register to post in forums, or Log in to your existing account
 
:
Search found 18 matches for:
Page 1 of 1
Author Message
  Topic: %btncol
Thrillhouse8

Replies: 3
Views: 9895

PostForum: zMUD General Discussion   Posted: Mon Dec 22, 2014 2:31 pm   Subject: %btncol
As a disclaimer, I've not worked with zScript in ages, so I'll just refer you to the documentation. If I remember correctly, hashes(#) prefix commands, while the % prefix are used as functions evalua ...
  Topic: Your two cents and suggestions wanted on this wouldbe code..
Thrillhouse8

Replies: 2
Views: 5495

PostForum: zMUD General Discussion   Posted: Mon Apr 20, 2009 10:27 am   Subject: Your two cents and suggestions wanted on this wouldbe code..
When a trigger fires, it reads the parameters just as it reads the text--from left to right(and with multi-line triggers, left to right, THEN top to bottom). I'd recommend reading the pattern matchin ...
  Topic: Trying to make an autoroller.
Thrillhouse8

Replies: 10
Views: 26907

PostForum: zMUD General Discussion   Posted: Tue Apr 14, 2009 10:26 am   Subject: Trying to make an autoroller.
Call me a sucker for simplicity:

#REGEX {^Str:\s+(\w+)\.\s+Int:\s+(\w+)\.\s+Wis:\s+(\w+)\.\s+Dex:\s+(\w+)\.\s*\nCon:\s+(\w+)\.\s+Chr ...
  Topic: Sending % to the mud
Thrillhouse8

Replies: 9
Views: 12470

PostForum: zMUD General Discussion   Posted: Mon Apr 06, 2009 10:05 am   Subject: Sending % to the mud
I reached the same conclusion...forgot to post, though. I tried the game using PuTTY and Kmuddy, and both had the same outcome.
  Topic: Sending % to the mud
Thrillhouse8

Replies: 9
Views: 12470

PostForum: zMUD General Discussion   Posted: Sun Apr 05, 2009 9:17 pm   Subject: Sending % to the mud
The command to change the prompt is "prompt <new prompt>".

Still no-go for(parameter char = '%', quote char = '\'):
Command: Prompt:
#SEND "prompt %h& ...
  Topic: Sending % to the mud
Thrillhouse8

Replies: 9
Views: 12470

PostForum: zMUD General Discussion   Posted: Sun Apr 05, 2009 7:21 am   Subject: Sending % to the mud
zMud 7.21
  Topic: Sending % to the mud
Thrillhouse8

Replies: 9
Views: 12470

PostForum: zMUD General Discussion   Posted: Sun Apr 05, 2009 7:03 am   Subject: Sending % to the mud
I'm trying to edit my prompt for a mud, and the standard escape character isn't doing it. The mud has its own variables referenced by '%', where '%h' would mean your health variable. My quote charac ...
  Topic: Multiple Exits and Target
Thrillhouse8

Replies: 6
Views: 10214

PostForum: zMUD General Discussion   Posted: Tue Mar 24, 2009 10:59 pm   Subject: Multiple Exits and Target
I've not worked with zMUD for a while, so I'm not sure if it accepts a regex like this.
#ALIAS o([e]+) {open %length(%1).@door}
  Topic: Multiple Exits and Target
Thrillhouse8

Replies: 6
Views: 10214

PostForum: zMUD General Discussion   Posted: Tue Mar 24, 2009 10:16 pm   Subject: Multiple Exits and Target
I want to get something straight first. You want either/both a targetting or/and door alias that take the form of <number>.<target>, such that the number of characters you enter dictate t ...
  Topic: Looping within a command
Thrillhouse8

Replies: 4
Views: 7360

PostForum: zMUD General Discussion   Posted: Tue Sep 09, 2008 10:07 am   Subject: Looping within a command
The purpose of my function isn't actually to capitalize; I just threw that in there as an example. There is manipulation of the data.
  Topic: Looping within a command
Thrillhouse8

Replies: 4
Views: 7360

PostForum: zMUD General Discussion   Posted: Tue Sep 09, 2008 9:31 am   Subject: so far
*EDIT*
What I'm currently leaning towards is using another alias

#var stringname ""
#FORALL @varname {
#IF (%eval( %ismember( %i, @varname)) < %eval( ...
  Topic: Looping within a command
Thrillhouse8

Replies: 4
Views: 7360

PostForum: zMUD General Discussion   Posted: Tue Sep 09, 2008 9:22 am   Subject: Looping within a command
Consider a variable @varname with a variable number of items(including zero), which are names of record variables themselves:
#VAR varname {db1|db2|db3|...|dbn}
where @db1.name = Name1.
...
  Topic: 13 < 7
Thrillhouse8

Replies: 3
Views: 6335

PostForum: zMUD General Discussion   Posted: Sun Aug 24, 2008 8:40 pm   Subject: 13 < 7
That did it. I must have messed up a parenthesis trying that the first time. Thanks
  Topic: 13 < 7
Thrillhouse8

Replies: 3
Views: 6335

PostForum: zMUD General Discussion   Posted: Sun Aug 24, 2008 8:17 pm   Subject: 13 < 7
I've run into a snag where 13 < 7 returns true:

13,7.
true
false
[/list]
  Topic: Echoing a text file
Thrillhouse8

Replies: 6
Views: 8289

PostForum: zMUD General Discussion   Posted: Thu Sep 30, 2004 8:06 am   Subject: hrm
well, i copied the actual files to the desktop, and zmud can read from them fine now. is there a reason behind this, that it would read c:\....\desktop\text.txt but not c:\zmud\text.txt?
  Topic: Echoing a text file
Thrillhouse8

Replies: 6
Views: 8289

PostForum: zMUD General Discussion   Posted: Sun Sep 26, 2004 10:36 am   Subject: problem with opening files
I might not be in my right mind at the moment, but I can't seem to read from files. If I open a file using #file X filename.txt, it displays that I've opened filename.txt as file X. It creates a shor ...
  Topic: Missing text
Thrillhouse8

Replies: 1
Views: 3743

PostForum: zMUD General Discussion   Posted: Tue Sep 21, 2004 2:22 am   Subject: Missing text
In MozartMud, I cannot see the lists inside shops. After typing LIST, I simply get a blank line and a new prompt. I've disabled MXP, MCCP, ANSI colors, re-enabled them, trying a variety of ways to s ...
  Topic: Experience Trigger
Thrillhouse8

Replies: 17
Views: 24997

PostForum: zMUD General Discussion   Posted: Tue Sep 21, 2004 2:12 am   Subject: Experience Trigger
Wouldn't the brackets < > also alleviate that problem around @exp? As in:

#TRIGGER {You receive (%d) experience points.} {#VAR exp %1;gt ~{Y----~>~{C<@exp> XP ~{Y~<----~{x}
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net