Author |
Message |
Topic: trouble with %i |
Dansig
Replies: 6
Views: 4934
|
Forum: zMUD General Discussion Posted: Sun Jan 11, 2004 8:24 pm Subject: trouble with %i |
Oooh! Thank you, LightBult. That works great. And thanks again, Danlo, for helping me out too :) |
Topic: trouble with %i |
Dansig
Replies: 6
Views: 4934
|
Forum: zMUD General Discussion Posted: Sun Jan 11, 2004 3:04 am Subject: trouble with %i |
Thanks for helping me out :). I'm a pretty good coder when dealing with C/C++, C#, Java, etc.
EDIT: It isn't working because of the puntuation in the first word. |
Topic: trouble with %i |
Dansig
Replies: 6
Views: 4934
|
Forum: zMUD General Discussion Posted: Sun Jan 11, 2004 3:01 am Subject: trouble with %i |
Oh yeah, forgot about concat. Since zMUD treats string, ints, etc. as a general variable, I assumed #add would work to concatenate strings.
Unfortuantely, the answer you supplied doesn't work for ... |
Topic: trouble with %i |
Dansig
Replies: 6
Views: 4934
|
Forum: zMUD General Discussion Posted: Wed Jan 07, 2004 12:08 am Subject: trouble with %i |
[code]
#alias {csa} {
#if (%1) {
clanTell=""
#loop 99 {#add clanTell %{%i}
#add clanTell " "}
clan 1 tell %i
} {clan 1 who}
[/code]
What I'm trying to do is add %[1-99] to clanTel ... |
|