Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Kronas
Wanderer


Joined: 28 Dec 2003
Posts: 62
Location: Australia

PostPosted: Fri Mar 05, 2004 11:37 am   

add items
 
hi I have a target Variable every thing I kill is a target
@target
Now the pattern You have slain a *
wild being say, a medium sized spider
I want it to create a Variable @body and everyhing that I kill goes in body, Using that pattern and @target variable

I've tried #add target @body
" " #additem = @body
etc etc and nothing

tried to find how, But am lost as everything I try won't work

I'm a simple person OK!
Reply with quote
Theragil
Apprentice


Joined: 13 Feb 2004
Posts: 157
Location: USA

PostPosted: Fri Mar 05, 2004 3:50 pm   
 
body = %concat(@body,", ",@target)

That'll make @body eventually say something like this: ", medium sized spider, pixie armsmaster, muscular mountain lion, medium sized spider, fierce badger, baby rat, baby rat, old rat, black rat" and on and on.

Why you'd want this is a good question, but there you have it.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Mar 05, 2004 6:21 pm   
 
#TR {You have slain } {#ADDI body {@target}}
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net