Register to post in forums, or Log in to your existing account
 
:
Search found 52 matches for:
Page 1 of 3 Goto page 1, 2, 3  Next
Author Message
  Topic: Room Description matching inside a trigger
Spartacus

Replies: 5
Views: 8162

PostForum: zMUD General Discussion   Posted: Mon Mar 21, 2005 5:45 pm   Subject: Room Description matching inside a trigger
If %4 matches the room name in your maps (case sensitive, very strict match) then adding #TAG name {%4} should make #Find work for you. If it doesn't, then you probably need to turn off the mapper's ...
  Topic: Trouble with variable
Spartacus

Replies: 3
Views: 5591

PostForum: zMUD General Discussion   Posted: Mon Mar 21, 2005 5:27 pm   Subject: Trouble with variable
A quick recommendation: Most muds send a line that matches something like "You follow (%w) ({north|south|east|west}) to (*)" after they send the line that said the leader left. If there's any possib ...
  Topic: Need help with exploring script
Spartacus

Replies: 15
Views: 16055

PostForum: zMUD General Discussion   Posted: Mon Mar 21, 2005 5:12 pm   Subject: Need help with exploring script
Sure!

Try this - it also fixes the problem of (some) punctuations being included as part of a word. You could easily add other puctuation marks to be stripped - just add them in where I have ",.": ...
  Topic: Master Crystal Log Analyzer
Spartacus

Replies: 0
Views: 7665

PostForum: Finished MUD Scripts   Posted: Sun Mar 20, 2005 8:04 am   Subject: Master Crystal Log Analyzer
Those who are or have been secretaries and/or GMs in Achaean magi guilds will know what this is about.

Instructions:
gcrys will start your GUILD CRYSTALS log going. Output lines are gagged by the ...
  Topic: Send Only Door Command
Spartacus

Replies: 3
Views: 7161

PostForum: zMUD General Discussion   Posted: Sun Mar 20, 2005 7:40 am   Subject: Send Only Door Command
I have the money, but my braincells were all donated to science and the liquor industry while I was in college. Wink
  Topic: Need help with exploring script
Spartacus

Replies: 15
Views: 16055

PostForum: zMUD General Discussion   Posted: Sun Mar 20, 2005 7:32 am   Subject: Need help with exploring script
Kiti,

Dharkael's approach was better, but I think there's still some merit to letting the mapper grab the desc and then looking at the extras:

#ALIAS ckRoom {
#loop %numwords(%roomdes ...
  Topic: Room Description matching inside a trigger
Spartacus

Replies: 5
Views: 8162

PostForum: zMUD General Discussion   Posted: Sun Mar 20, 2005 6:58 am   Subject: Room Description matching inside a trigger
You need to add:

#TAG name {%4}

To your trigger action.

But if your map was created with all that other stuff in the room names, you may have to go through and remap it or correct i ...
  Topic: Fishing
Spartacus

Replies: 6
Views: 8672

PostForum: zMUD General Discussion   Posted: Sun Mar 20, 2005 6:51 am   Subject: Fishing
That's cool - as I said, I'm looking forward to seeing some updates - I know zMUD has a lot more power than I'm using and having some more depth in the help files might help me there.

BTW - You sho ...
  Topic: Send Only Door Command
Spartacus

Replies: 3
Views: 7161

PostForum: zMUD General Discussion   Posted: Thu Mar 17, 2005 9:02 pm   Subject: Send Only Door Command
If I understand what you are saying correctly, it sounds like it's working as expected. Checking this option should prevent zmud from sending the direction as part of the open door command. This is ...
  Topic: Is it a bug? Trouble with using DBCS characters in variables
Spartacus

Replies: 4
Views: 6520

PostForum: zMUD General Discussion   Posted: Thu Mar 17, 2005 8:51 pm   Subject: Is it a bug? Trouble with using DBCS characters in variables
Do you have a DBCS capable font selected for your mud output window?
  Topic: why dose this happen ù
Spartacus

Replies: 5
Views: 6606

PostForum: zMUD General Discussion   Posted: Thu Mar 17, 2005 8:23 pm   Subject: why dose this happen ù
I don't know about the professionals on here, but I guess I'd need to see an example or two of when it's happening. Without that, I'd be more inclined to suspect the mud or the connection to the mud ...
  Topic: Need help with exploring script
Spartacus

Replies: 15
Views: 16055

PostForum: zMUD General Discussion   Posted: Thu Mar 17, 2005 8:19 pm   Subject: Need help with exploring script
Assumptions:
The current room has been added to your map, complete with description.
You don't need to wait for any response between sending your look commands.

#ALIAS ckRoom {
#VAR rmDescW ...
  Topic: Isolate triggers
Spartacus

Replies: 8
Views: 13509

PostForum: zMUD General Discussion   Posted: Thu Mar 17, 2005 7:44 pm   Subject: Isolate triggers
No worries with me, Nexela. I thought of that, but o most muds we're talking about hours rather than seconds between eating or drinking, and a parameter value of 10000 miliseconds is going to be 10 s ...
  Topic: Help with a coloured trigger
Spartacus

Replies: 4
Views: 8314

PostForum: zMUD General Discussion   Posted: Thu Mar 17, 2005 5:56 pm   Subject: Help with a coloured trigger
Is the text you're trying to capture the only text that comes to you in all green?

You might need 2-3 triggers to do this:

#TR "lightGreen" {%e~[1~;32m(*){%e*| ...
  Topic: Fishing
Spartacus

Replies: 6
Views: 8672

PostForum: zMUD General Discussion   Posted: Thu Mar 17, 2005 5:29 pm   Subject: Strict Syntax
2. #var jmNum {%ismember( %1, @jerkMsgs)} _nodef Fishing is it so hard to put quotes and brackets in? I know zScript is very forgiving, but strict syntax is sometimes helpful. As a minimum you shoul ...
  Topic: Isolate triggers
Spartacus

Replies: 8
Views: 13509

PostForum: zMUD General Discussion   Posted: Thu Mar 17, 2005 5:19 pm   Subject: Isolate triggers
Bottom line is if the mud allows users to do things that produce output indistinguishable from mud-generated output (ie - emotes in same color as everything else, emotes without the emoter's name, etc ...
  Topic: Are special chars in the pattern the problem?
Spartacus

Replies: 3
Views: 5146

PostForum: zMUD General Discussion   Posted: Thu Mar 17, 2005 4:58 pm   Subject: Are special chars in the pattern the problem?
Why not use %regex instead?

Seems to me like you're wanting to match "(road)" within a room name which would be stored in @tmp_2. This ought to do that for you.

#unvar mLength
#say %regex( ...
  Topic: Fishing
Spartacus

Replies: 6
Views: 8672

PostForum: zMUD General Discussion   Posted: Thu Mar 17, 2005 3:45 am   Subject: Fishing
But... but... but... that's so much EASIER! And slicker... and better...

Thanks!
  Topic: Performace issue...
Spartacus

Replies: 13
Views: 13134

PostForum: zMUD General Discussion   Posted: Thu Mar 17, 2005 12:11 am   Subject: Performace issue...
Ok, but there's a huge difference between 16ms and .5s. I'm looking for 50ms precision (ie, if I say 200 ms, I'll be closer to 200 than to 100 or 300). #WAIT, of course, delivers this with a BIG iss ...
  Topic: Fishing
Spartacus

Replies: 6
Views: 8672

PostForum: zMUD General Discussion   Posted: Thu Mar 17, 2005 12:01 am   Subject: Fishing
Can one of you wizards tell me why this doesn't work?
#TRIGGER "jerkDetector" {({@jerkMsgs})} {
#var jmNum {%ismember( %1, @jerkMsgs) ...
  Topic: Double trouble....
Spartacus

Replies: 6
Views: 9012

PostForum: zMUD General Discussion   Posted: Wed Mar 16, 2005 4:57 pm   Subject: Double trouble....
Alright - it appears that my brain is not quite in full operations yet. This should help:


#TR {Your arm makes a rising motion and a piece of earth} {
#if @SPIRepeat=1 {
...
  Topic: Double trouble....
Spartacus

Replies: 6
Views: 9012

PostForum: zMUD General Discussion   Posted: Wed Mar 16, 2005 4:46 pm   Subject: Double trouble....
Whoops! Somebody (that'd be me) forgot to close the }... try this:


#TR {Your arm makes a rising motion and a piece of earth} {
#if @SPIRepeat=1 {
#var SPIRepeat {0 ...
  Topic: Performace issue...
Spartacus

Replies: 13
Views: 13134

PostForum: zMUD General Discussion   Posted: Wed Mar 16, 2005 4:44 pm   Subject: Performace issue...
Hey - can we get a definitive answer to this? Not long ago I was told by one of you two (Vij or Dhark) that #alarm could handle fractional timing with no issues, but I am seeing signs that the drift ...
  Topic: Accessing items in lists of lists
Spartacus

Replies: 6
Views: 6169

PostForum: zMUD General Discussion   Posted: Wed Mar 16, 2005 4:34 pm   Subject: Accessing items in lists of lists
Well, I tested it through 10 nested loops and it works - though my personal feeling is that more than 3 and there's probably a better, smarter, and faster way to do it.

Thanks for the info! I'm lo ...
  Topic: Moving rooms
Spartacus

Replies: 4
Views: 5835

PostForum: zMUD General Discussion   Posted: Wed Mar 16, 2005 4:28 pm   Subject: Moving rooms
I encounter this on my mud as well, and here's the problem with speed/slowwalking it as I see it:

zMUD relies on the mapper having path to the room you are walking to. A path consists of a series ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net