Post: [Tutorial] Advanced Toggles (CFG)
08-08-2013, 04:40 AM #1
KadenxC28
Little One
(adsbygoogle = window.adsbygoogle || []).push({}); In this thread I am going to try to explain advanced toggles in cfg coding and how they can be used to make your menus more sexy.

First, I will show a simple example of a super jump toggle.

    set SuperJump "vstr SuperText;set R3 \""toggle SuperToggle \"vstr Jump999\" \"vstr Jump500\" \"vstr Jump39\";vstr SuperToggle"
set SuperText "vstr SJ39"
set SJ39 "\""^2Jump: ^5Default"\""
set SJ500 "\""^2Jump: ^5500"\""
set SJ999 "\""^2Jump: ^5999"\""

//Toggle (what makes it work)
set SuperToggle ""
set Jump999 "jumpheight 999;set SuperText vstr SJ999;vstr SuperJump"
set Jump500 "jumpheight 500;set SuperText vstr SJ500;vstr SuperJump"
set Jump38 "jumpheight 39;set SuperText vstr SJ39;vstr SuperJump"


Now, you can make it much more complicated but I'll save that for later.

Basically, when the "SuperJump" function is called, "Jump: Default" will show up on screen. Every time you push R3, it toggles "SuperToggle" between "Jump999, Jump500, and Jump39 (default)".

For example, the function "Jump999" sets the jump height to 999, sets "SuperText" to "Jump: 999" and calls "SuperJump" to refresh the text.

That's all I'll explain for now. I may update the thread later. If you have any questions about this, quote me and I will answer.

Also, credits to iTrexk as I believe he was the first person to use this.
(adsbygoogle = window.adsbygoogle || []).push({});
08-09-2013, 04:17 AM #11
KadenxC28
Little One
Originally posted by BogeyMods
well thanks might be useful ! Smile


You're welcome! I'll be adding more to this thread so check back periodically Winky Winky
08-09-2013, 04:24 AM #12
Originally posted by KadenxC28 View Post
Yessss! I'm literally building a gaming pc just for BF4 xD


Im ready for the beta Smile premium's get early access Happy im gunna try my ass off
08-09-2013, 04:58 AM #13
KadenxC28
Little One
Originally posted by xFlamableHD
Im ready for the beta Smile premium's get early access Happy im gunna try my ass off


Haha same here xD

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo