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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Ignatius
Newbie


Joined: 15 Nov 2009
Posts: 2

PostPosted: Sun Nov 15, 2009 8:30 pm   

targetting trigger issues
 
I have used zmud for years, recently got a new computer and needed change to cmud. I am not the best at triggers/scripting but had a zmud file I could modify in any mud and for me it worked great.

I had a targetting system that worked like this...

When I see a mob and it is set as my @target that trigger also sets what attacks to use, so here...

@atk=bs (bs is my alias for backstab)
@target=slave
@atk3=vt (vt is my alias for vampiric touch)

` symbol as a macro is set to do...
@atk @target
@atk3 @target

I set it to echo scripts and get...

bsslave
vtslave

not bs slave then vt slave

Any ideas of what I am doing wrong?
Reply with quote
hadar
Apprentice


Joined: 30 Aug 2009
Posts: 198
Location: my apt, in california

PostPosted: Sun Nov 15, 2009 9:12 pm   
 
first to set a var(assuming thats what you are doing) is

varname=var

so it would be atk=bs
target=slave
atk3=vt

zmud was more forgiving for bad text then cmud is. fixing that *should* make it work if now change your macro to do #send @atk @target
_________________
if you build it they will come, assuming that they have not already come to build it
Aardwolf Bootcamp
My youtube channel
Reply with quote
Ignatius
Newbie


Joined: 15 Nov 2009
Posts: 2

PostPosted: Sun Nov 15, 2009 9:16 pm   
 
Yes I was setting variables properly, and yes the #send worked, many thanks!!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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