Author Topic: Aliases  (Read 1400 times)

bug

  • 68 Carbine
  • Posts: 335
Aliases
« 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

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: Aliases
« Reply #1 on: May 02, 2006, 09:58:41 AM »
set c_smile "***"
say $c_smile HELLO WORLD $c_smile

bug

  • 68 Carbine
  • Posts: 335
Re: Aliases
« Reply #2 on: May 02, 2006, 10:22:26 AM »

lekky

  • Autococker
  • Posts: 2449
Re: Aliases
« Reply #3 on: May 02, 2006, 10:24:44 AM »
what has jesse released :/

bug

  • 68 Carbine
  • Posts: 335
Re: Aliases
« Reply #4 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.