Incremented list, a list that works like for/next |
Incremented list, a list that works like for/next |
Guest_kostia_* |
Jan 31 2004, 09:06 PM
Post
#1
|
Guests |
I'd like to be able to tell the client to perform an action (like an input trigger) "x" times, where I specify "x".
Like if I make an input trigger for "lc" to mean "look in x.corpse" I'd like to be able to type "lc 4" and have the client send this text to the game: look in 1.corpse look in 2.corpse look in 3.corpse look in 4.corpse Mudmaster does this with a List function, where it knows to "count" from 1 to the specified number as the upper limit of the list and then to increment a variable with the current value of the list entry, adding 1 each time it's called. hope I explained that sensibly. |
|
|
Lo-Fi Version | Time is now: 26th November 2024 - 12:18 PM |