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
Belman
Beginner


Joined: 25 Feb 2002
Posts: 14
Location: USA

PostPosted: Mon Feb 25, 2002 11:45 am   

I'm a %w...
 
I must be a moron or something... cause I can't get a "simple" trigger to work for me at all... or at least I think it should be a simple trigger, I'm just backwards with it or something.

here is my problem.

I'm multiplaying and want to use BOTH characters as bots for each other.

I would like to be able to just send a tell and get spells cast upon the tell sender. So far this is what I have

%w tells you '%w'
cast '%2' %1

as far as I know this should work... but I'm totally wrong, and I can't figure out how it works...

Please help the lost and BMUD <> DUMB


~ Belman ~
Reply with quote
Kru
Beginner


Joined: 14 Nov 2001
Posts: 28

PostPosted: Mon Feb 25, 2002 12:20 pm   
 
(%w) tells you '(%w)'
cast '%2' %1

:)
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Feb 25, 2002 9:39 pm   
 
If you want to limit this to your own characters, it's probably best not to use tells. Here's an easy method for two characters named Alpha and Beta.

Go to the Alpha window
#ALIAS ocast {:Beta:cast '%-1' alpha}

Go to the Beta window
#ALIAS ocast {:Alpha:cast '%-1' beta}

Now, typing ocast spell (for other cast) in either window will cause the other character to cast the spell on the current character.

LightBulb
All scripts untested unless otherwise noted
Reply with quote
Belman
Beginner


Joined: 25 Feb 2002
Posts: 14
Location: USA

PostPosted: Tue Feb 26, 2002 6:33 am   
 
Ok, thank you all for the help... and I can't believe it was so simple as to add ()... hehe

Thank you again.

~ Belman ~
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