Author |
Message |
Topic: removing lines from a variable |
Aldur
Replies: 2
Views: 5118
|
Forum: zMUD General Discussion Posted: Sun Apr 11, 2004 7:41 pm Subject: removing lines from a variable |
Ah, thanks :) |
Topic: New versions of Zmud suck |
Aldur
Replies: 22
Views: 31442
|
Forum: zMUD General Discussion Posted: Sun Apr 11, 2004 6:23 pm Subject: New versions of Zmud suck |
To me it sounds like you have a memory problem. Try running a program called memtest (ftp://ftp.sweclockers.com/pub/Fels%F6kning/Minnen/memtest86p_111_iso.zip). |
Topic: removing lines from a variable |
Aldur
Replies: 2
Views: 5118
|
Forum: zMUD General Discussion Posted: Sun Apr 11, 2004 6:13 pm Subject: removing lines from a variable |
I have a peekscript where I store what I see as several lines in a variable, and then report it to my leader with
#forall @peekinfo {tell @tank %i}
the grabbing trigger is:
~(*)
#var peekinfo ... |
Topic: Split large numbers. |
Aldur
Replies: 1
Views: 3967
|
Forum: zMUD General Discussion Posted: Thu Apr 01, 2004 8:30 pm Subject: Split large numbers. |
The mud I play uses very large numbers for experience and gold etc.
Needed experience for companion: 58,994,882
for example.
To remove the "," is easy, just %replace("%1",",")
but is ther ... |
Topic: capturing data to send to other players |
Aldur
Replies: 8
Views: 9154
|
Forum: zMUD General Discussion Posted: Fri Nov 28, 2003 7:09 am Subject: capturing data to send to other players |
^(%w) is in (*).$In the room: (*).
say Person %1 is in %2. Room: %3.
or something like that. |
Topic: Help with some subs |
Aldur
Replies: 5
Views: 8952
|
Forum: zMUD General Discussion Posted: Thu Nov 27, 2003 5:01 pm Subject: Help with some subs |
Then it looks very very ugly, cause the #show appears a few lines down. |
Topic: Help with some subs |
Aldur
Replies: 5
Views: 8952
|
Forum: zMUD General Discussion Posted: Thu Nov 27, 2003 8:57 am Subject: Help with some subs |
I can appriciate that, but (*) is the only way I know to match it to all the mobs in the database (By comparing them to a stringlist i've made, but maybe Its just as good with #if(%find( "%1", LDesc)) ... |
Topic: Help with some subs |
Aldur
Replies: 5
Views: 8952
|
Forum: zMUD General Discussion Posted: Wed Nov 26, 2003 10:47 pm Subject: Help with some subs |
Thats how it looks like.
Forgot to mention that the pattern is a simple (*)
Edit:
I Think I've isolated it to the #sub command, as it works perfectly with #show... except for the obvious ... |
Topic: Help with some subs |
Aldur
Replies: 5
Views: 8952
|
Forum: zMUD General Discussion Posted: Wed Nov 26, 2003 4:22 pm Subject: Help with some subs |
When I use a script I've made I get a funny result.
The script looks like this:
The result looks like this:
This is quite spammy, since all these lines fill up the mud window quite fast. I' ... |
Topic: Mapper buggs out |
Aldur
Replies: 0
Views: 3162
|
Forum: zMUD General Discussion Posted: Tue Sep 16, 2003 6:46 am Subject: Mapper buggs out |
I accidentally opened the mapper once, since I don't use it.
When it opens I get the error "Field 'DefSizeY' already defined in field 'ZoneTbl'". If i press Ok here, the mapper only says Converting ... |
|