For those of you who wanna save CFG space for binds.. | |
Jacen Aratan - Student |
Thought some of you might like this.... it should save you quite some space in your cfgs, as you basically only need 3 keys for this (of course I'm assuming you have lots of binds right now). EDIT: It seems some of you have no idea what this is, so FYI: it's a bindcycle. Insert set loc_01 "set set_locate say YourBindGoesHere; set prv_locate vstr loc_05; set nxt_locate vstr loc_02; echo HereYouSeeWhatYourBindIsWhenSelected" set loc_02 "set set_locate YourBind; set prv_locate vstr loc_01; set nxt_locate vstr loc_03; echo bind" set loc_03 "set set_locate YourBind; set prv_locate vstr loc_02; set nxt_locate vstr loc_04; echo bind" set loc_04 "set set_locate set name NameBind; set prv_locate vstr loc_03; set nxt_locate vstr loc_05; echo bind" set loc_05 "set set_locate say bind; set prv_locate vstr loc_04; set nxt_locate vstr loc_01; echo Here's My Last Bind" set set_locate "vstr loc_01" set prv_locate "vstr loc_05" set nxt_locate "vstr loc_02" //binds bind KeyYouWantToUse "vstr prv_locate" // Previous bind bind AnotherKey "vstr nxt_locate" // Next bind bind ActivateBind "vstr set_locate" // Use bind //cfg binds bind f1 exec YourDefault.cfg //return to default cfg In your cfg. Now, this may seem very confusing, but let's break it down: set loc_01 "set set_locate say YourBindGoesHere; set prv_locate vstr loc_05; set nxt_locate vstr loc_02; echo HereYouSeeWhatYourBindIsWhenSelected" The first part with 'say YourBindGoesHere' would make you say 'YourBindGoesHere'. Just replace that part with whatever you want as command, e.g. a good fight bind. Now, for the echo part, 'echo HereYouSeeWhatYourBindIsWhenSelected', that will make your bind appear on the screen, so you can see what you're about to select. So if you wrote 'say gf' in the above mentioned command, it would be a good idea to write 'echo gf' here. That's about it. You can make as many bind-scripts as you want, just remeber to edit the 'set prv_locate vstr loc_#; set nxt_locate vstr loc_#;' to the correct numbers. Hope it helped some of you. If you have any questions, ask away. Or if you want to get some advise on other scripts. Whatever. *shrugs* PS: Here's the script, for all you IE users, who can't highlight on the site. This post was edited by Jacen Aratan on Apr 08 2004 06:31pm. |
Poll | ||
Did that make sense?
|
Login and add your comment! |
Comments |
Lego[DEAD] - Ex-Student |
thanks hood gg _______________ AHH YOU ARE ALL NICE LADS |
Login and add your comment! |