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


Joined: 31 Jul 2003
Posts: 22

PostPosted: Thu Jul 31, 2003 11:44 pm   

Help
 
All I want to do is make it so that when I kill a mob it takes the xp that I get and adds it to the variable .. I can make it get the numbers and even write to the variable but how do I make it add? I want to take @XpCount + %1

Thanks
Reply with quote
Amok
Beginner


Joined: 31 Jul 2003
Posts: 22

PostPosted: Fri Aug 01, 2003 12:42 am   
 
OK I found the #ADD command that works great but it makes a little folder in the variables area why? and how do I make it not do this?
Reply with quote
Amok
Beginner


Joined: 31 Jul 2003
Posts: 22

PostPosted: Fri Aug 01, 2003 1:02 am   
 
Ok and another thing how can I change the color of an echo?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Aug 01, 2003 1:20 am   
 
#ADD doesn't make folders, you'll have to explain/illustrate much more clearly so we can figure out the problem. The alias, trigger, etc that's relevant to the situation would be nice.

To change the color of an echo, you can do it a few different ways:

1)If all you want to recolor is a PARTICULAR echo, you can use one of the various coloring commands via trigger. Coloring commands include #COLOR, #CW, and #PCOL. You can also use the #SUBSTITUTE command in conjunction with the %ansi() function or any similar color-related function. You can also use the MXP Color tag if you prefer.

2)If you want to color all echos, you can change the color for Messages or whatever within the Color Preferences. You can reach them by clicking on the Preferences button, or by clicking the View menu.
Reply with quote
Amok
Beginner


Joined: 31 Jul 2003
Posts: 22

PostPosted: Fri Aug 01, 2003 1:22 am   
 
Ok the folders arn't coming back so it must have been caused by something else I did earlier .. and I tried all the color commands I just want to make it when I type Resetrun (alias) to echo in red that the counter has been reset
Reply with quote
Caled
Sorcerer


Joined: 21 Oct 2000
Posts: 821
Location: Australia

PostPosted: Fri Aug 01, 2003 5:42 am   
 
#ECHO %ansi(12)Counter has been reset
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