Author |
Message |
Topic: heh, another question |
Virus
Replies: 13
Views: 11062
|
Forum: zMUD General Discussion Posted: Wed May 28, 2003 10:35 pm Subject: heh, another question |
Try this. Ive noticed that you can have multiple variables when you use the #VAR command. IE if you do #VAR 5 15, 5 times in a row you now have 5 variables named 5 all holding the value 15. Instead ... |
Topic: Trigger Help |
Virus
Replies: 1
Views: 3066
|
Forum: zMUD General Discussion Posted: Wed May 28, 2003 10:27 pm Subject: Trigger Help |
Ok, so I have a multiline trigger in which i am using the #COND. Anyhow, It works cept for one part. The text output from the mud has 1 blank line in the text. IE
Name
(blank line)
Information ... |
Topic: Multi Line Triggers |
Virus
Replies: 4
Views: 5094
|
Forum: zMUD General Discussion Posted: Fri Feb 21, 2003 8:40 pm Subject: Multi Line Triggers |
Didnt work
Richard Powell
Mux Alias: Virus
2796 Wizard Staff
64.89.10.1 port 2796
Rich@gigdev.com |
Topic: Multi Line Triggers |
Virus
Replies: 4
Views: 5094
|
Forum: zMUD General Discussion Posted: Fri Feb 21, 2003 6:41 pm Subject: Multi Line Triggers |
Ok, if the mud outputs:
You fire LargeLaser at Alpha Lynx - BTH: 2 Roll: 11
You hit for 8 points of damage in the Left Leg
I want a var (di_ra_ll) to equal 8
Now the problem I am having ... |
Topic: #var with () |
Virus
Replies: 10
Views: 12560
|
Forum: zMUD General Discussion Posted: Fri Feb 21, 2003 6:30 pm Subject: #var with () |
Why dont you just use %eval()?
Richard Powell
Mux Alias: Virus
2796 Wizard Staff
64.89.10.1 port 2796
Rich@gigdev.com |
Topic: Button Timer Displays... |
Virus
Replies: 1
Views: 2884
|
Forum: zMUD General Discussion Posted: Sat Feb 15, 2003 5:07 am Subject: Button Timer Displays... |
Ok, I know we have guages. I also know if we create a button type 'separatore' we can put text in it. Well I want to make a timer. Say timer starts at 0. When I swing my axe it shows 25, then 24, ... |
Topic: Stumped on how to do this.... |
Virus
Replies: 2
Views: 3334
|
Forum: zMUD General Discussion Posted: Fri Feb 14, 2003 9:35 pm Subject: Stumped on how to do this.... |
I need a way to put the following code into the 'value' section on a guage:
%if(a < 0 and b < 0,$c plus a plus b)
%if(a < 0 and b >= 0,$c plus a)
%if(a >= 0 and b < 0,$c plus b) ... |
Topic: Trigger Help |
Virus
Replies: 1
Views: 3349
|
Forum: zMUD General Discussion Posted: Fri Feb 14, 2003 8:32 pm Subject: Trigger Help |
Ok, the problem I was having is I was writing to then claling the same variable 3 times in that script. I fixed it by simply typing %replace(%replace(%replace(%2,"(",""),")&q ... |
Topic: Trigger Help |
Virus
Replies: 1
Views: 3349
|
Forum: zMUD General Discussion Posted: Fri Feb 14, 2003 5:22 pm Subject: Trigger Help |
Ok, I have a trigger:
^You have been hit for (%d) points of damage in the ({Head|Center Torso|Center Torso ~(rear~)|Left Torso|Left Torso ~(rear~)|Right Torso|Right Torso ~(rear~)|Right Arm|Left Arm| ... |
Topic: Functions |
Virus
Replies: 4
Views: 6376
|
Forum: zMUD General Discussion Posted: Thu Feb 13, 2003 5:15 pm Subject: Functions |
Ok, emit found what I was looking for. Now what I need to do is store functions there if its possible. The onyl way I know to make a function is with the #FU command in either the command line or th ... |
Topic: Functions |
Virus
Replies: 4
Views: 6376
|
Forum: zMUD General Discussion Posted: Thu Feb 13, 2003 2:01 pm Subject: Functions |
Is it possible to make GLOBAL functions? Ones that work for ALL site and not just 1?
Richard Powell
Mux Alias: Virus
2796 Wizard Staff
64.89.10.1 port 2796
Rich@gigdev.com |
Topic: iter() |
Virus
Replies: 7
Views: 6990
|
Forum: zMUD General Discussion Posted: Thu Feb 13, 2003 1:53 pm Subject: iter() |
Ohhh....I was under the impression that you couldnt use COmmands in a function. Now that i know I can that makes it a lot easier. I can just make a function and use #LOOP. Thx
Richard Powell
Mu ... |
Topic: iter() |
Virus
Replies: 7
Views: 6990
|
Forum: zMUD General Discussion Posted: Thu Feb 13, 2003 6:56 am Subject: iter() |
Function: iter(list, eval..[money(##)])
You say "test..1 t1..1 radio..1 The Wizard's Pointy Hat..1"
> say iter(Was it a cat I saw,[words(##)] #@,s)
You say "1 1 4 2 1 ... |
Topic: iter() |
Virus
Replies: 7
Views: 6990
|
Forum: zMUD General Discussion Posted: Thu Feb 13, 2003 5:08 am Subject: iter() |
Ok, we all know that muxes and mushs have commands similar to #LOOP called @dolist. Now what I want to know is there a ZMUD function similar to iter()? If there it it would be awesome.
Richard Po ... |
Topic: Auto Carrige Return |
Virus
Replies: 6
Views: 8579
|
Forum: zMUD General Discussion Posted: Wed Feb 12, 2003 3:48 pm Subject: Auto Carrige Return |
Hmm....doesnt really work for what I am trying to do. Ill try and get something out of it, but I need a function, not an alias for hte simple fact I will be calling on this function inside some code ... |
Topic: Auto Carrige Return |
Virus
Replies: 6
Views: 8579
|
Forum: zMUD General Discussion Posted: Wed Feb 12, 2003 1:54 pm Subject: Auto Carrige Return |
Ok, here, I can draw it out I think here rather well. Heres what I want to do.
/--------------------|.......Hello........|
+--------------------+
|.Ok, I am wanting...|
|.Some code that.....|
... |
Topic: Auto Carrige Return |
Virus
Replies: 6
Views: 8579
|
Forum: zMUD General Discussion Posted: Wed Feb 12, 2003 1:46 pm Subject: Auto Carrige Return |
Er after reading what I wrote it seems pretty....um unreadable. Basically I want a wordwrap function.
Richard Powell
Mux Alias: Virus
2796 Wizard Staff
64.89.10.1 port 2796
Rich@gigdev.com |
Topic: Auto Carrige Return |
Virus
Replies: 6
Views: 8579
|
Forum: zMUD General Discussion Posted: Wed Feb 12, 2003 1:28 pm Subject: Auto Carrige Return |
Ok, Im not totally sure how to explain this. I have created a nice help systems from within zmud so that my scripts I write can be easily used. I am finding it rather difficult to reparse all teh in ... |
Topic: Re-Liscensing? |
Virus
Replies: 2
Views: 5198
|
Forum: zMUD General Discussion Posted: Tue Oct 01, 2002 7:21 am Subject: Re-Liscensing? |
Was kinda weird. Ive been using ZMud now Id say a good solid 4 years, and today when I turned on my machine I was asked to re-register my ZMud. Weirdest thing was that when I went to the liscence sc ... |
Topic: auto connect |
Virus
Replies: 1
Views: 3122
|
Forum: zMUD General Discussion Posted: Mon Sep 23, 2002 9:45 pm Subject: auto connect |
I forget how to do it. I know the commands are #CHAR and #PASS, but whats the trigger?
Richard Powell
Mux Alias: Virus
2796 Wizard Staff
64.89.10.1 port 2796
Rich@gigdev.com |
Topic: Idle Out? |
Virus
Replies: 5
Views: 8671
|
Forum: zMUD General Discussion Posted: Mon Sep 23, 2002 7:25 pm Subject: Idle Out? |
Ok, for some reason when I am idle zmud kills my connection and attemps to reconnect me. How can I stop this? The mud doesnt boot me, I know this because I have idle power. Any suggestions?
Rich ... |
Topic: #IF |
Virus
Replies: 2
Views: 3761
|
Forum: zMUD General Discussion Posted: Tue Jul 30, 2002 2:17 am Subject: #IF |
I just realized what I did. In the examples I added a space. May have something to do with it. Also, I used code similar to:
#IF (%1=%upper(%1)&@{CON%1}) {#SH Yes} {#SH No}
Well the problem w ... |
Topic: #IF |
Virus
Replies: 2
Views: 3761
|
Forum: zMUD General Discussion Posted: Tue Jul 30, 2002 2:02 am Subject: #IF |
I am having a problem with the following.
If I do a:
#IF (T=%upper(t)) {#Sh Yes} {#SH No}
I get: Yes
If I do a:
#IF (@CONT) {#SH Yes} {#SH No} - And the variable @CONT exists and is 1, I get: Ye ... |
Topic: float |
Virus
Replies: 1
Views: 2866
|
Forum: zMUD General Discussion Posted: Mon Jul 29, 2002 9:07 pm Subject: float |
Ok, say I get a number by going #SH %eval(%float(100)/3). The number I get is 33.3333320617676. How do i limit it to just 33.33?
Richard Powell
Mux Alias: Virus
2796 Wizard Staff
64.89.10.1 po ... |
Topic: Justify?? |
Virus
Replies: 7
Views: 5606
|
Forum: zMUD General Discussion Posted: Sun Jul 28, 2002 5:45 am Subject: Justify?? |
I actually coded one if anyone wants it. Here thet are....
#FU ljust {%1%repeat( %if( %3, %3, " "), %eval( %2-%len( %1)))}
#FU rjust {%repeat( %if( %3, %3, " "), %eval( %2-% ... |
|