Digital Paint Discussion Board

Development => Bugs, Feature Requests, and Feedback => Topic started by: bug on May 02, 2006, 08:21:57 AM

Title: Aliases
Post by: bug on May 02, 2006, 08:21:57 AM
Is there a way\will there be a way to make aliases inside strings replace the alias tag with the alias content? If you don't understand, look at this alias I have in my config:

alias c_smile "“"

This is an alias that will make it so I can use "c_smile" to print out a funname smiley. However, if I go to console and type "c_smile", this will work, but if I attempt something such as "say c_smile HELLO WORLD c_smile" it will print out the string literally. What I would like to happen is to have the alias tag (c_smile) inside the string be replaced with the alias content (“) and be able to use aliases inside strings and binds.

Any help would be appreciated.
-ROCK
Title: Re: Aliases
Post by: XtremeBain on May 02, 2006, 09:58:41 AM
set c_smile "***"
say $c_smile HELLO WORLD $c_smile
Title: Re: Aliases
Post by: bug on May 02, 2006, 10:22:26 AM
>>>>>>>>>>>>CLICK HERE<<<<<<<<<<<<<<<< (http://img305.imageshack.us/my.php?image=sshot0109fy.jpg)
Title: Re: Aliases
Post by: lekky on May 02, 2006, 10:24:44 AM
what has jesse released :/
Title: Re: Aliases
Post by: bug on May 02, 2006, 10:59:53 AM
I better post my config file so 31337 n00b13z k1dd13s k3n 00wn fr|_|m 1T!!!1!11!!one!one!!!

$c_red1$You are $c_yel1$ALONE$c_yel2$ in your bedroom. No one can hear you $c_red5$SCREAM.