Register to post in forums, or Log in to your existing account
 
:
Search found 136 matches for:
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  Next
Author Message
  Topic: Request for "hissing" script
Acaila

Replies: 2
Views: 4890

PostForum: zMUD General Discussion   Posted: Sat Jun 15, 2002 8:45 pm   Subject: Request for "hissing" script
Greetings everyone,

It's been a long time since I've been to this forum (basically since I quit mudding :( ), but I still see some familiar faces around :).

A friend recently asked me to write a ...
  Topic: Want to have float...
Acaila

Replies: 3
Views: 7323

PostForum: zMUD General Discussion   Posted: Fri Dec 28, 2001 7:16 pm   Subject: Want to have float...
The new beta version of zMUD (v6.24) supports floating point mathematics, earlier versions like 6.16 don't. Some people have created a few ways around this using more complicated calculations, but I c ...
  Topic: input text processing
Acaila

Replies: 3
Views: 6649

PostForum: zMUD General Discussion   Posted: Tue Dec 25, 2001 9:41 pm   Subject: input text processing
Must be the %concat thing. I've never figured that one out, so I never use it.
Maybe someone who does understand that function can help here?

Acaila
  Topic: input text processing
Acaila

Replies: 3
Views: 6649

PostForum: zMUD General Discussion   Posted: Tue Dec 25, 2001 8:47 pm   Subject: input text processing
The first thing that would fix a few problems would be to quote the variable you capture your to encrypt string in.

#LOOP 1,%len( "%2") {TempVa1 = %ismember( %copy( "%2", %i, 1) ...
  Topic: BIG Alias/Hidden Hassle
Acaila

Replies: 2
Views: 5684

PostForum: zMUD General Discussion   Posted: Sun Dec 23, 2001 10:22 am   Subject: BIG Alias/Hidden Hassle
AFAIK there's no way to "freeze" it like you'd want, but if you post the alias here I bet there's someone who can fix it for you.

Acaila
  Topic: trigger states and a problem with em
Acaila

Replies: 2
Views: 4587

PostForum: zMUD General Discussion   Posted: Sat Dec 22, 2001 11:28 pm   Subject: trigger states and a problem with em
You could try something like:

#TRIGGER {a gargoyle attacks you$(*)} {#IF ("%1" = "the attack doesn't seem to have hurt you") {#NOOP} {heal up}}

Acaila
  Topic: pattern matching
Acaila

Replies: 1
Views: 4129

PostForum: zMUD General Discussion   Posted: Sat Dec 22, 2001 12:04 pm   Subject: pattern matching
Put the %1 in quotes

#TRIGGER {(*) {bites|constricts|cleaves|slashes|bashes|pierces|claws|punches|kicks|hits} your} {#var targ "%1"}

Acaila
  Topic: #if statements
Acaila

Replies: 2
Views: 4998

PostForum: zMUD General Discussion   Posted: Sat Dec 22, 2001 12:02 pm   Subject: #if statements
Yes there is a way: just use "AND" or "&"

The format for #IF is: #IF (statement to check) {IfTrue} {IfFalse}

In your case:
#IF (@a AND @b) {commands if both are true} {c ...
  Topic: Mapper is veryu inefficient
Acaila

Replies: 7
Views: 6827

PostForum: zMUD General Discussion   Posted: Fri Dec 21, 2001 9:53 pm   Subject: Mapper is veryu inefficient
You have all those rooms in a single zone? Wow! No wonder it's slowing down. I always split them up according to town/city and outdoors. Creating multiple zones will enable zMUD to load a limited numb ...
  Topic: counting
Acaila

Replies: 3
Views: 6326

PostForum: zMUD General Discussion   Posted: Fri Dec 21, 2001 7:47 pm   Subject: counting
#TRIGGER {text you want to count} {#ADD CountedText 1;#IF (@CountedText = 5) {Execute the commands;CountedText = 0}}

Acaila
  Topic: I want to highlight my enemies
Acaila

Replies: 11
Views: 13456

PostForum: zMUD General Discussion   Posted: Fri Dec 21, 2001 7:21 pm   Subject: I want to highlight my enemies
quote:I used "@names" instead, and it still didn't replace anything in the variable "names" when I typed "highlight *whomever*"

Don't use @Names in the #ADDITEM functi ...
  Topic: I want to highlight my enemies
Acaila

Replies: 11
Views: 13456

PostForum: zMUD General Discussion   Posted: Fri Dec 21, 2001 5:23 pm   Subject: I want to highlight my enemies
To point to the first word input after the alias name you use %1
To point to the second word input after the alias name you use %2, etc

To point to every word following the alias name you use %-1 ...
  Topic: Advanced Triggers
Acaila

Replies: 1
Views: 4182

PostForum: zMUD General Discussion   Posted: Fri Dec 21, 2001 9:08 am   Subject: Advanced Triggers
#TR {~(Exits:*~)$(*)} {kill %word("%1", %numwords("%1"))}

This will look at the first line after the exits line and uses the last word of the mob as keyword

To attack all of ...
  Topic: Mapping trouble again:(
Acaila

Replies: 7
Views: 8950

PostForum: zMUD General Discussion   Posted: Thu Dec 20, 2001 8:14 pm   Subject: Mapping trouble again:(
On second thought, that output seems pretty normal to me.

I took some time to check your mud out and it showed no problems with me. Everything mapped perfectly once you run the autoconfigure. The o ...
  Topic: My string to array problem
Acaila

Replies: 4
Views: 8203

PostForum: zMUD General Discussion   Posted: Thu Dec 20, 2001 7:54 pm   Subject: My string to array problem
#VAR String1 {SG~d@WEwuS]{z}lRD@ZXB_fr[ICWctJ}
#VAR String2 {S=1|G=2|~=3, or whatever}

#LOOP %len(@String1) {Put the formulas here}
The value from the character corresponding to the first string ...
  Topic: Yet another alias
Acaila

Replies: 2
Views: 4784

PostForum: zMUD General Discussion   Posted: Thu Dec 20, 2001 1:50 pm   Subject: Yet another alias
Well, what do you know, my previous post actually came through. Did the forum go down between then and now or was that just me?

Acaila
  Topic: Yet another alias
Acaila

Replies: 2
Views: 4784

PostForum: zMUD General Discussion   Posted: Thu Dec 20, 2001 10:22 am   Subject: Yet another alias
#CLASS {CorpseLooting}
#ALIAS gcc {#VAR Item %replace(%replace("%-1", ",", ""), " ", "|");#FORALL @Item {#IF (%i =~ %d) {CorpseNumber = %db(@Number,% ...
  Topic: My string to array problem
Acaila

Replies: 4
Views: 8203

PostForum: zMUD General Discussion   Posted: Thu Dec 20, 2001 9:27 am   Subject: My string to array problem
As long as it's a randomly generated string, then what's the point in translating it into another string (which would be randomly messed up to then)?

If you just want to substitute each character i ...
  Topic: Mapping trouble again:(
Acaila

Replies: 7
Views: 8950

PostForum: zMUD General Discussion   Posted: Thu Dec 20, 2001 9:15 am   Subject: Mapping trouble again:(
Sounds like an inability to recognize the room name and description properly...

Could you post an example room output, since I don't have zMUD here.

Acaila
  Topic: Breaking from a trigger (or other option)
Acaila

Replies: 9
Views: 10146

PostForum: zMUD General Discussion   Posted: Thu Dec 20, 2001 9:12 am   Subject: Breaking from a trigger (or other option)
quote:HP: ~ //trigger
#VAR curhp %1 // This is all reading my HP and CP
#VAR maxhp %2
#VAR curcp %3
#VAR maxcp %4
...
  Topic: Filtering triggers
Acaila

Replies: 13
Views: 12457

PostForum: zMUD General Discussion   Posted: Wed Dec 19, 2001 10:23 pm   Subject: Filtering triggers
If you're sure there's always gonna be a period, then just use:

#TRIGGER {^(%w) nods at * (%w)~.} {bs %replace(%2, ".", "")}

Wasn't sure if you need a tilde in front of the p ...
  Topic: Problem with scrolling
Acaila

Replies: 3
Views: 6127

PostForum: zMUD General Discussion   Posted: Wed Dec 19, 2001 6:54 pm   Subject: Problem with scrolling
Lol!
Maybe if we all did that this forum didn't have to exist?

Acaila
  Topic: Problem with scrolling
Acaila

Replies: 3
Views: 6127

PostForum: zMUD General Discussion   Posted: Wed Dec 19, 2001 8:42 am   Subject: Problem with scrolling
Did you try to disable scrolling back (an option in preferences) and try to reset the window positions (you can find that somewhere in the menu)?

Acaila
  Topic: 'open XXXX' being inserted when i type commands!
Acaila

Replies: 4
Views: 8472

PostForum: zMUD General Discussion   Posted: Wed Dec 19, 2001 8:40 am   Subject: 'open XXXX' being inserted when i type commands!
This has only happened to me when I had the automap open and it showed my current position as a room with a door in it. Then every command you give will be proceded by open coz zMUD think you're tryin ...
  Topic: trouble with tell window (Raincloud's TellWindow)
Acaila

Replies: 2
Views: 4827

PostForum: zMUD General Discussion   Posted: Tue Dec 18, 2001 3:57 pm   Subject: trouble with tell window (Raincloud's TellWindow)
the %w: *$} {#CAP 1 Tells} {Windoze} 517

Acaila
 
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net