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


Joined: 05 Feb 2020
Posts: 2

PostPosted: Wed Feb 05, 2020 12:28 pm   

coding in Zmud
 
i hope someone here can help. i am trying to do something simple but i dont know know how the code works with zmud. here is what i want:

i want to beable to have a button that executes commands on the thing im attacking

eg. chant curse (variable) chant damage (variable)

the (variable) is whatever i am focused on at the moment. can anyone help?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Wed Feb 05, 2020 2:35 pm   
 
@target would be referencing the target variable.

You would still need to define it of course.
Take a read of #HELP #VARIABLE
_________________
Discord: Shalimarwildcat
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