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
chris123zugg
Apprentice


Joined: 23 Aug 2013
Posts: 194

PostPosted: Sat Dec 28, 2024 8:52 am   

#add is acting weird
 
HP: (1530/1548) SP: (514/514) NE: (488/885) SO: (660/660) GXP: (LR: 62/TNL: 641.983)
bladesinger.gxplr=%9 <--- which is the LR:62

i have a total GXP earned elsewhere, the variable for it is bladesinger.tgxp

i want to ADD bladesinger.gxplr to bladesinger.tgxp
when i use #add bladesinger.tgxp @bladesinger.gxplr it literally adds the value of 62 at the end instead of adding the numbers together.

spoiler: i feel like ive had this problem in several places and youve already told me... so i apologize ahead of time, i looked in my history and dont see it.

//#math ntgxp (@bladesinger.tgxp+@bladesinger.gxplr)
this is also just adding the number to the beginning of the variable now i KNOW this works.. but it simply is just adding the numbers to gether instead of compiling them together... halp please?
Reply with quote
shalimar
GURU


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

PostPosted: Sat Dec 28, 2024 5:15 pm   
 
#MATH is defunct, as mentioned in the other thread.
All of its associated commands are only retained for backwards compatibility.

For best results, make use of direct declarations with formulae

ntgxp=(@bladesinger.tgxp+@bladesinger.gxplr)
_________________
Discord: Shalimarwildcat
Reply with quote
chris123zugg
Apprentice


Joined: 23 Aug 2013
Posts: 194

PostPosted: Sat Dec 28, 2024 5:27 pm   
 
i did this and it returns the variables concated instead of added together mathamtically.
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