Tremulous Forum

Community => Mod Ideas and Desires => Topic started by: lavacano201014 on March 04, 2009, 03:43:12 am

Title: Replaceable Variables in Chat
Post by: lavacano201014 on March 04, 2009, 03:43:12 am
Yes, I know, "DUDE YOU VANISHED OFF THE FACE OF THE PLANET ASSHOLE!!!"

Whatever. I thought of something good.

You know how sometimes, you want to type stuff that's really long, but you don't want to bind it, you want to be able to insert it into sentences?

For example, I like using:

^1r^2a^3i^4n^5b^6o^7w (rainbow)

once in a while. But just by itself in a bind, doesn't work so well. Works better in sentences.

So. Here's my proposal. Chat variables. At this point, you're like "wtf mate?" methinks. But here's the idea. If you type something like this in console:

Code: [Select]
/setchatvar whatever Something obnoxiously ^1long ^2and ^3tedious ^1 that ^2you don't wanna type
Then, typing "This is $whatever" in chat would give you

Quote
This is Something obnoxiously long and tedious that you don't wanna type

(started it with green to be more Tremlike)

You get what I'm drivin' at here? It'd have to be in a backport (based off MG client perhaps?)
Title: Re: Replaceable Variables in Chat
Post by: Archangel on March 04, 2009, 05:27:17 am
we already have this
Title: Re: Replaceable Variables in Chat
Post by: Amanieu on March 04, 2009, 12:09:26 pm
In tremfusion, you can set a cvar to something, then insert the contents of that cvar by using \$cvarname\
Title: Re: Replaceable Variables in Chat
Post by: infestor1 on March 05, 2009, 03:12:13 am
In tremfusion, you can set a cvar to something, then insert the contents of that cvar by using \$cvarname\

wait, how do you do that?
Title: Re: Replaceable Variables in Chat
Post by: Archangel on March 05, 2009, 04:42:50 am
wait, how do you do that?
In tremfusion, you can set a cvar to something, then insert the contents of that cvar by using \$cvarname\

TRULY SORRY YOU WERE BORN WITHOUT EYES.

if you breed i'm killing myself
Title: Re: Replaceable Variables in Chat
Post by: Demolution on March 05, 2009, 05:30:50 am
Redundancy department of redundancy.