Author |
Message |
Topic: Two small inquiries... |
Churlant
Replies: 4
Views: 5984
|
Forum: zMUD General Discussion Posted: Wed Dec 26, 2007 8:43 pm Subject: Two small inquiries... |
Hate yourself? For the regex? ;) |
Topic: Two small inquiries... |
Churlant
Replies: 4
Views: 5984
|
Forum: zMUD General Discussion Posted: Wed Dec 26, 2007 5:41 pm Subject: Two small inquiries... |
Looking for a way (maybe a command?) to list all aliases in a class on-screen... I thought there might be a command, but I haven't been able to find it.
And another dumb question...
...if I want ... |
Topic: Nester #IF triggers |
Churlant
Replies: 8
Views: 9001
|
Forum: zMUD General Discussion Posted: Wed Dec 12, 2007 11:01 pm Subject: Nester #IF triggers |
I don't doubt Vijilante is genius... but I'm not so sure I'll ever need that level of complexity for anything I'll do in-mud. Hell, I don't even know more than half of the functions/commands he listed ... |
Topic: Nester #IF triggers |
Churlant
Replies: 8
Views: 9001
|
Forum: zMUD General Discussion Posted: Wed Dec 12, 2007 8:18 pm Subject: Nester #IF triggers |
Vijilante... I really appreciate the ideas, but they're waaaay over my head. I can more or less follow along with Charneus's example, but yours is way too tech for me.  |
Topic: Nester #IF triggers |
Churlant
Replies: 8
Views: 9001
|
Forum: zMUD General Discussion Posted: Wed Dec 12, 2007 5:59 pm Subject: Nester #IF triggers |
ehhh.. yeah, about the function reference you're right. I'm scripting at work and my 30 day trial on the zmud I dl'd ran out, so I haven't been able to actually test the code until I can get my reg ke ... |
Topic: Nester #IF triggers |
Churlant
Replies: 8
Views: 9001
|
Forum: zMUD General Discussion Posted: Wed Dec 12, 2007 4:49 pm Subject: Nester #IF triggers |
I'm setting up an object listing script that grabs the name of objects taken from a corpse and adds it to a list. The script actually looks at the first four words in the object name, checks them agai ... |
Topic: Triggers and Timers |
Churlant
Replies: 27
Views: 31310
|
Forum: zMUD General Discussion Posted: Tue Dec 11, 2007 8:29 pm Subject: Triggers and Timers |
Command line will work fine. Your ZMud probably has the Trigger Button on the top bar (Says "Triggers" with a little icon of a gun) that you can click on to view any triggers you may have. If they're ... |
Topic: Triggers and Timers |
Churlant
Replies: 27
Views: 31310
|
Forum: zMUD General Discussion Posted: Tue Dec 11, 2007 6:53 pm Subject: Triggers and Timers |
Out of curiosity, what kind of bugging does it do? I actually use wait in more than a few scripts, although usually in regard to a repeating function (repeating a #Beep 3 times in 5 seconds intervals, ... |
Topic: Triggers and Timers |
Churlant
Replies: 27
Views: 31310
|
Forum: zMUD General Discussion Posted: Tue Dec 11, 2007 5:59 pm Subject: Triggers and Timers |
#TR {Who shall enter?} {#WA 5000;say I shall}
That would work, assuming your input function is a "say" command. |
Topic: Triggers and Timers |
Churlant
Replies: 27
Views: 31310
|
Forum: zMUD General Discussion Posted: Tue Dec 11, 2007 3:38 pm Subject: Triggers and Timers |
I'm not sure what the trigger is for, but wouldn't the given suggestions cause a 5 second wait and "yellow" be sent to the mud after literally every instance of the word "green"?
That may or may no ... |
Topic: Another Quickie |
Churlant
Replies: 10
Views: 11055
|
Forum: zMUD General Discussion Posted: Tue Dec 11, 2007 3:26 pm Subject: Another Quickie |
Brilliant again.. it is done. Proving once again there is more than one way to skin a cat. :)
Thanks all for the help!
-JC |
Topic: Another Quickie |
Churlant
Replies: 10
Views: 11055
|
Forum: zMUD General Discussion Posted: Mon Dec 10, 2007 11:25 pm Subject: Another Quickie |
Stupidity on my part.. as always, making things complicated.
Okay, so I have a very simple:
#TR {You catch the scent of *, heading (%w)} {#ADD direction %1}
After the hunt, I just clear the v ... |
Topic: Another Quickie |
Churlant
Replies: 10
Views: 11055
|
Forum: zMUD General Discussion Posted: Mon Dec 10, 2007 4:23 pm Subject: Another Quickie |
Well I fiddled with the directions (re-added them, as suggested they were absent), but the function still doesn't seem to like me...
...SO... can anyone think of another way to get what I'm after? ... |
Topic: Another Quickie |
Churlant
Replies: 10
Views: 11055
|
Forum: zMUD General Discussion Posted: Fri Dec 07, 2007 10:36 pm Subject: Another Quickie |
It has promise, but I think my zmud isn't a big fan of the function. I expect there's some checkbox I need to fix or something... this is what I get
As as an example, I enter:
#SHOW %pathcompres ... |
Topic: Another Quickie |
Churlant
Replies: 10
Views: 11055
|
Forum: zMUD General Discussion Posted: Fri Dec 07, 2007 9:42 pm Subject: Another Quickie |
I'm trying to record runs in the proper format using hunt. Now I can capture directions, but consolidating duplicate movements is tricky (or so it is for me.)
Basically here's what I have at the en ... |
Topic: Function to show Alias Value? |
Churlant
Replies: 2
Views: 3563
|
Forum: zMUD General Discussion Posted: Mon Nov 12, 2007 3:15 pm Subject: Function to show Alias Value? |
Just a fairly simple question I think. I think there's a function for this, but can't seem to find it. Trying to set up a simple trigger that will send the actual value of a current alias to a mud cha ... |
Topic: Variables and Triggers - easy question |
Churlant
Replies: 3
Views: 5049
|
Forum: zMUD General Discussion Posted: Fri Sep 28, 2007 7:13 pm Subject: Variables and Triggers - easy question |
I tried a number of options, I believe %eval was one of them, however I'm just as inclined to go with your simplified version.
Is it possible to add the name using a prompt, or will it have to be a ... |
Topic: Variables and Triggers - easy question |
Churlant
Replies: 3
Views: 5049
|
Forum: zMUD General Discussion Posted: Fri Sep 28, 2007 6:22 pm Subject: Variables and Triggers - easy question |
It's been a while since I've done some major scripting, and I'm running up on what's probably a problem with a simple solution.
Basically I want to capture a specific mobile name with a #PR command ... |
Topic: alias updates not saving? |
Churlant
Replies: 1
Views: 3698
|
Forum: zMUD General Discussion Posted: Sat Jul 14, 2007 1:18 am Subject: alias updates not saving? |
I'm running a Vista laptop and trying to figure out how to correct my scripts to run my old Zmud files on CMud... some triggers just don't work.
In the mean time I'm still playing off Zmud, but I'm ... |
Topic: Number of Characters in a word? |
Churlant
Replies: 2
Views: 4448
|
Forum: zMUD General Discussion Posted: Sun Apr 10, 2005 6:02 pm Subject: Number of Characters in a word? |
%len() is the one you're looking for.
That is indeed it :) Beautiful... and thanks.
-JC |
Topic: Number of Characters in a word? |
Churlant
Replies: 2
Views: 4448
|
Forum: zMUD General Discussion Posted: Sun Apr 10, 2005 4:19 am Subject: Number of Characters in a word? |
I'm trying to find a function or some way of returning the number of characters in a single word that has been captured into a variable.
I know there is a function for number of words in a string.. ... |
Topic: Color Matching... ? |
Churlant
Replies: 7
Views: 10534
|
Forum: zMUD General Discussion Posted: Tue Apr 05, 2005 10:07 pm Subject: Color Matching... ? |
2. I'm unsure how to get the trigger to match the color - but I figured color name wasn't going to work. The code, being 'no color', is good to know... that explains why the trigger fires almost eve ... |
Topic: Color Matching... ? |
Churlant
Replies: 7
Views: 10534
|
Forum: zMUD General Discussion Posted: Tue Apr 05, 2005 3:08 pm Subject: Color Matching... ? |
As a side note, using the spell #'s in aard reduce the bandwidth a lil and makes for a faster spellup. so you should use %4 and not %2. What I mean is that the text sent to aard is smaller, so it go ... |
Topic: Color Matching... ? |
Churlant
Replies: 7
Views: 10534
|
Forum: zMUD General Discussion Posted: Tue Apr 05, 2005 4:31 am Subject: Color Matching... ? |
1)no obligatory MUD output to compare to the trigger pattern. Even if we understood what you want, we'd have no way to test our code against what you're seeing and so we can't help you with problems ... |
Topic: Color Matching... ? |
Churlant
Replies: 7
Views: 10534
|
Forum: zMUD General Discussion Posted: Tue Apr 05, 2005 3:01 am Subject: Color Matching... ? |
I need a bit of help on a trigger I'm trying to refine. What I want to do is cast a spell only when the status line is a certain color... the only real way to know if the spell is already active is by ... |
|