Hey all,
Let me tell you about Echo's now.
An Echo is a text on the left side of your screen.
Where you also see those "girl got killed by boy's thompson" messages.
You can put your own text there to give yourself info about what a script you made is doing at that moment.
Let's give you an example to make it clear.
You made a toggle cfg which changes your gamma.
You can press the button and see the gamma change.
It is easy to see what gamma you are using if you only selected two diffirent ones in your cfg.
But what if you made 5 or 6 diffirent gammas in your cfg, it will become hard to see which one you use at that moment.
Thats where Echo comes along.
Now, lets give you an example of how a cfg with Echo can look like Wink
- Code:
-
set num1 "set r_gamma 1.2; set gamma vstr num2; echo ^1Current Gamma: 1.2 ^4(Next: 1.5)"
set num2 "set r_gamma 1.5; set gamma vstr num3; echo ^1Current Gamma: 1.5 ^4(Next: 1.9)"
set num3 "set r_gamma 1.9; set gamma vstr num4; echo ^1Current Gamma: 1.9 ^4(Next: 2.3)"
set num4 "set r_gamma 2.3; set gamma vstr num1; echo ^1Current Gamma: 2.3 ^4(Next: 1.2)"
set gamma "vstr num1"
vstr gamma
Do not be afraid and just try this one and you can see with your own eye's what Echo looks like ingame Wink
Oh another thing, if you exec a cfg it's nice to know you executed the right one, so maybe you'd like to add the following to each of your cfgs.
- Code:
-
echo ^1Config name Executed
Ofcourse you can also use:
- Code:
-
say ^1Config name Executed
But sometimes you do not want others to know you executed your cfg.
Using Say(or Vsay) will tell others, using Echo will only tell you Wink
Well, I am afraid that was about all you need to know about echo's...
Hope you liked it,
Greetings,
Chef
PS: I made multiple GUIDES for cfg making, to follow them in the correct order check the (number) in the topic title Wink
- Spoiler:
This GUIDE was made by Chef.
Please do not claim to be the one who made this GUIDE.
Always refer to the true maker of the file when posting it somewhere else.
Thanks,
Chef