Author |
Message |
Topic: Newbie coloring question |
heidi
Replies: 1
Views: 3889
|
Forum: zMUD General Discussion Posted: Sat May 04, 2002 7:05 pm Subject: Newbie coloring question |
Hi!
I'd like to see group members mana, health and edurance points colored and maybe players whose health is getting low. But I'm really not good programmer and don't know how I could do that. Nothin ... |
Topic: script priority |
heidi
Replies: 3
Views: 5627
|
Forum: zMUD General Discussion Posted: Sat Apr 06, 2002 10:57 pm Subject: script priority |
How about instead of this approach you do something a bit different. Create a moblist that is in the order that you want to fight things. e.g.:
#Var Mobs {Guards|Lords|Knights|Commoners|Peasants} ... |
Topic: Speedwalking prob + MXP usage + Reverse trigs |
heidi
Replies: 6
Views: 3885
|
Forum: zMUD General Discussion Posted: Sat Apr 06, 2002 10:13 pm Subject: Speedwalking prob + MXP usage + Reverse trigs |
I'll take a shot at this:
1) This seems like a bit of a bother. Generally you set shortnames for important rooms only because you will usually speedwalk to them. For the others you can double-cl ... |
Topic: Possible Difficult Script - Please Read Need Help |
heidi
Replies: 7
Views: 9476
|
Forum: zMUD General Discussion Posted: Sat Apr 06, 2002 9:55 pm Subject: Possible Difficult Script - Please Read Need Help |
Well, this isn't much of a task in a programming language that has allowances for recursive procedure calls. But, for zMud scripts this will be difficult. It's not impossible, but it makes far more ... |
Topic: warzone help |
heidi
Replies: 10
Views: 10979
|
Forum: zMUD General Discussion Posted: Thu Apr 04, 2002 11:10 pm Subject: warzone help |
Sounds like we are pretty close here. If your target is unique and can't show up in the list multiple times then the code I wrote should do a pretty good job.
To start hunting you would enter the ... |
Topic: warzone help |
heidi
Replies: 10
Views: 10979
|
Forum: zMUD General Discussion Posted: Thu Apr 04, 2002 9:57 pm Subject: warzone help |
I'm a bit confused what you want to do. Does the following get close?
#var Directions {n|north|s|south|e|east|w|west|u|up|d|down}
#alias {AutoHunt} {#Class AutoHunt 1;#Var Target %1;#Var Action % ... |
Topic: Replacing text |
heidi
Replies: 5
Views: 8603
|
Forum: zMUD General Discussion Posted: Thu Apr 04, 2002 6:20 pm Subject: Replacing text |
Try something like this:
#var LongName {large, green blob of jelly|large, blue troll}
#var CommonName {GreenGoo|BlueTroll}
#trigger {(@LongName)} {#sub {%1 ~(%item( @CommonName, %ismember( " ... |
Topic: Where to put code that is refered back to often? |
heidi
Replies: 3
Views: 5669
|
Forum: zMUD General Discussion Posted: Thu Apr 04, 2002 6:06 pm Subject: Where to put code that is refered back to often? |
I'll take a stab at this since I think I have my head around what you are trying to accomplish. I assume you are doing something like:
#var Test {#show 1;#show 2}
#alias {a} {#Exec @test}
The ... |
Topic: #sub help |
heidi
Replies: 5
Views: 6626
|
Forum: zMUD General Discussion Posted: Wed Apr 03, 2002 7:30 pm Subject: #sub help |
First, I'd avoid using the #Sub command for this, this task seems to be built for #Gag. Following is an example I tested that seems to work:
#trigger {^%*$} {#if (%trigger = @Lasttrigger) {#gag}}
... |
Topic: Optional match in triggers |
heidi
Replies: 7
Views: 18274
|
Forum: zMUD General Discussion Posted: Wed Apr 03, 2002 7:19 pm Subject: Optional match in triggers |
The RegEx expression you included in the post above didn't work on my version of zMud (6.16) so I assume you are using the new beta version. This is what I could get working on my version:
#trigge ... |
Topic: Problem using #Sub with a blank line |
heidi
Replies: 5
Views: 7059
|
Forum: zMUD General Discussion Posted: Wed Apr 03, 2002 6:57 pm Subject: Problem using #Sub with a blank line |
Thanks Tarn, Vijilante and LightBulb. None of the suggestions worked in my tests. After extensive testing of the #Sub command I believe that it is flakey and I'll avoid it wherever possible.
In t ... |
Topic: Please help, this SHOULD work, right? |
heidi
Replies: 14
Views: 18686
|
Forum: zMUD General Discussion Posted: Wed Apr 03, 2002 6:42 pm Subject: Please help, this SHOULD work, right? |
Good job, LightBulb. I worked a bit on this last night and couldn't find anything until I reviewed how your script worked and uncovered a different way that might be a little faster:
#TR {You also ... |
Topic: Problem using #Sub with a blank line |
heidi
Replies: 5
Views: 7059
|
Forum: zMUD General Discussion Posted: Tue Apr 02, 2002 11:44 pm Subject: Problem using #Sub with a blank line |
Oops! My bad. The last example of a failed trigger should have said #Show instead of #Send. #Echo won't work for me since I want the text to go to the window it originated in.
The problem with # ... |
Topic: Problem using #Sub with a blank line |
heidi
Replies: 5
Views: 7059
|
Forum: zMUD General Discussion Posted: Tue Apr 02, 2002 8:42 pm Subject: Problem using #Sub with a blank line |
Hello:
Coming back to MUDs (been playing EverCrack for awhile) so I'm a bit rusty. I've been having a hell of a time trying to get #Sub to work with blank lines and was hoping for some help.
Ba ... |
Topic: Prompts in the way of triggers. |
heidi
Replies: 6
Views: 7913
|
Forum: zMUD General Discussion Posted: Tue Apr 02, 2002 8:14 pm Subject: Prompts in the way of triggers. |
Hi:
I made a post to another thread that addressed this topic directly. It might help in this case also:
e.g.
#Trigger {^~<%d/%dhp %d/%dm %d/%dmv %da~>{#nomap;#sub {%1%2>%{cr}}} ... |
Topic: capture problem |
heidi
Replies: 3
Views: 4821
|
Forum: zMUD General Discussion Posted: Tue Apr 02, 2002 7:52 pm Subject: capture problem |
I ran across this problem in my mud also, but came up with a slightly different approach. The first trigger I have is:
#Trigger {^({o|*})%2>} {#nomap;#sub {%1%2>%cr}} "" {nocr|prom ... |
|