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


Joined: 20 Aug 2009
Posts: 5

PostPosted: Thu Aug 20, 2009 1:15 am   

No more numerical variable names?
 
As a former zMUD user, I like to use 1, 2, and 3 to define a number of weapons that I can quickly re-define on the fly and equip/unequip as needed. My variables (which work fine in zMUD) are as follows:

1=spear
2=sword
3=dagger

I then make a couple basic macros so that I can quickly shift from wielding a 2-handed weapon and dual wielding:

unwield @2
unwield @3
wield @1

along with

unwield @1
wield @2
wield @3

Is there any way to get this simple functionality back?
Reply with quote
shalimar
GURU


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

PostPosted: Thu Aug 20, 2009 2:05 am   
 
No, this was one of the changes. your best bet is to use diff variables

one=
two=
_________________
Discord: Shalimarwildcat
Reply with quote
morpheus888dream
Newbie


Joined: 20 Aug 2009
Posts: 5

PostPosted: Thu Aug 20, 2009 2:10 am   
 
Shame to have to add extra keystrokes, but thanks for the information.
Reply with quote
shalimar
GURU


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

PostPosted: Thu Aug 20, 2009 2:12 am   
 
there is always a b c if your stuck on wanting to use a single keystroke
or just add a w to them @w1 @w2 will work, it just cant start with a number i believe.
_________________
Discord: Shalimarwildcat
Reply with quote
morpheus888dream
Newbie


Joined: 20 Aug 2009
Posts: 5

PostPosted: Thu Aug 20, 2009 3:10 am   
 
Good to know, I'm not switching weapons so often to make that too tedius. Much obliged.
Reply with quote
Aerious
Wanderer


Joined: 21 Jan 2008
Posts: 62

PostPosted: Thu Aug 20, 2009 1:27 pm   
 
Why not make a Toggle Button (that you can click) or similarly a toggle macro.

that way one-click or one keypress and you have done the job?


Macro >

f2

#if (@dwield=1) {dwield=0;unwield spear;wield dagger;wield sword} {dwield=1;unwield dagger;unwield sword;wield spear}



you could also put the weapons into variables so that you can change those as your needs arise (in one place) instead of going back to the macro..

unwield @weapon1;unwield @weapon2, etc..



I think a macro or button is the way to go here.
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