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
sutex
Newbie


Joined: 09 Mar 2004
Posts: 5
Location: Australia

PostPosted: Tue Mar 09, 2004 2:07 pm   

Sending variables to mutli charaters
 
My first post ever!.
Intro: I play Eternal Darkness,which allows you to have three charaters on, at one time.
Question 1: How do u pass a variable that was made by my main charater to the other two mulit (charaters), so they can use that variable in other alias/and or varibles.
IE: #all {follow @leader}, would like the variable "leader" to be pick up by the other mutli. I have a box that opens up so i can type in any leaders name i wish, with the main charater. The other two are AFK, and need to be able to pick up the variable so other triggers can come into play,like resuce and heal kill whatever.
Question 2: Anyone with knowledge of how to get the database working with the above mud, iam i poor coder, and example are the only way i'll figured it out, iam told that the "auction" is the best to capture.. I'll say thanks now, just for reading this HEHE!!Very Happy
Reply with quote
fireangel37
Beginner


Joined: 09 Jan 2004
Posts: 17

PostPosted: Fri Mar 19, 2004 10:36 pm   
 
The "easy" way to do this would be to set the variable in all three windows. Let's say you've named them Window1 Window2 and Window3. All three have an alias called "leaderset" which had the following commands attached.

:Window1:#VA leader %1
:Window2:#VA leader %1
:Window3:#VA leader %1

The variables would be created in all three windows by typing the command in just one. I haven't tested it, but the above should work.
Reply with quote
sutex
Newbie


Joined: 09 Mar 2004
Posts: 5
Location: Australia

PostPosted: Thu Apr 01, 2004 5:32 am   
 
Cheers gave me the A plan[}:)]
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