Heretic121 Posted September 5, 2013 Posted September 5, 2013 (edited) You'll need to escape the double quotes inside the first double quotes. Example: set ex "say \"This is a message\"; say \"and another message\""EDIT: Upon checking my vsays config, Sunlight's comment is probably the one you'll want Edited September 5, 2013 by Heretic121 Quote
Clan Friend SunLight Posted September 5, 2013 Clan Friend Posted September 5, 2013 Yeah got that out but still dont work probably the double quotes, I have no time to check it now. Try without quotes after set, and keep them only in "!put by the way, I think if the server has private slots and you connect to it, your client number won't be 0 because the numbers from 0 to #privateslots are reserved 1 Quote
Reallity Posted September 5, 2013 Author Posted September 5, 2013 no it just shows !put vokur s and thats it if i click it again same thing.. (this was respons to chuckun) ima try without quotes. Quote
Reallity Posted September 5, 2013 Author Posted September 5, 2013 (edited) This works set s1 say_buddy "!put vokur s"; wait 400; say_buddy "!put sean s"; wait 400; say_buddy "!put mungri s"; wait 400; say_buddy "!put walter s"; wait 400; say_buddy "!put vera s"; wait 400; say_buddy "!put flint s"; wait 400; set putspec vstr s2set s2 say_buddy "!put oysterhead s"; wait 400; say_buddy "!put kaolin s"; wait 400; say_buddy "!put noammo s"; wait 400; say_buddy "!put beelz s"; wait 400; say_buddy "!put royen s"; wait 400; set putspec vstr s3set s3 say_buddy "!put monty s"; wait 400; say_buddy "!put fullmonty s"; wait 400; say_buddy "!put nandet s"; wait 400; say_buddy "!put nohope s"; wait 400; say_buddy "!put hitnrun s"; wait 400; say_buddy "!put halfwit s"; wait 400; set putspec vstr s4set s4 say_buddy "!put amadi s"; wait 400; say_buddy "!put grog s"; set putspec vstr s1set putspec "vstr s1"bind F1 "vstr putspec" hmm its weird when i exec my cfg with this in there it starts putting them spec but when i click the button again it goes :!put vokur s Edited September 5, 2013 by Reallity Quote
Heretic121 Posted September 5, 2013 Posted September 5, 2013 hmm its weird when i exec my cfg with this in there it starts putting them spec but when i click the button again it goes :!put vokur s That's because you're not grouping the commands with double quotes. What I was thinking was for the say commands don't use double quotes, and group all the commands using double quotes An example from my vsays config: set bindfun2ab "vsay fearless1 ^7**^8S^elaps ^5[k] ^1U^epside ^2T^ehe ^3H^eead^7**;vstr unbindkeys;vstr bindfun;" So long as you don't return line (semi-colon) inside of the (v)say, it'll work as intended Quote
Reallity Posted September 5, 2013 Author Posted September 5, 2013 That's because you're not grouping the commands with double quotes. What I was thinking was for the say commands don't use double quotes, and group all the commands using double quotes An example from my vsays config: set bindfun2ab "vsay fearless1 ^7**^8S^elaps ^5[k] ^1U^epside ^2T^ehe ^3H^eead^7**;vstr unbindkeys;vstr bindfun;" So long as you don't return line (semi-colon) inside of the (v)say, it'll work as intended Yeah this works set s1 "say ^2 Reallity will put those bawts to spec; set putspec vstr s2" set s2 "say_buddy !put oysterhead s; wait 400; say_buddy !put kaolin s; wait 400; say_buddy !put noammo s; wait 400; say_buddy !put beelz s; wait 400; say_buddy !put royen s; wait 400; set putspec vstr s3" set s3 "say_buddy !put monty s; wait 400; say_buddy !put fullmonty s; wait 400; say_buddy !put nandet s; wait 400; say_buddy !put nohope s; wait 400; say_buddy !put hitnrun s; wait 400; say_buddy !put halfwit s; wait 400; set putspec vstr s4" set s4 "say_buddy !put amadi s; wait 400; say_buddy !put grog s; wait 400; say_buddy !put tarnen s; wait 400; say_buddy !put Bortack s; wait 400; say_buddy !put george s; wait 400; say_buddy !put ryver s; set putspec vstr s5" set s5 "say_buddy !put vic s; wait 400; say_buddy !put missn s; wait 400; say_buddy !put brohn s; wait 400; say_buddy !put listerfriend s; wait 400; say_buddy !put aimless s; wait 400; say_buddy !put tanz s; wait 400; set putspec vstr s`6" set s6 "say_buddy !put chan s; wait 400; say_buddy !put argo s; wait 400; say_buddy !put anton s; wait 400; say_buddy !put gordac s; wait 400; say_buddy !put gali s; set putspec vstr s7" set s7 "say_buddy !put vokur s; wait 400; say_buddy !put sean s; wait 400; say_buddy !put mungri s; wait 400; say_buddy !put walter s; wait 400; say_buddy !put vera s; wait 400; say_buddy !put flint s; wait 400; set putspec vstr s1" set putspec "vstr s1" bind F1 "vstr putspec" 1 Quote
GoldenWings Posted September 5, 2013 Posted September 5, 2013 fine fine and thx for this work it make it a little bit easyer on server:) Quote
Reallity Posted September 5, 2013 Author Posted September 5, 2013 oh wait, in fireteam there is no spamprotection so the wait limit could go down! i gotta go now but ill look at it later 1 Quote
Reallity Posted September 9, 2013 Author Posted September 9, 2013 `Turns out 200 is lowest u can go so the final product: set s1 "say Reallity will put those bawts to spec; set putspec vstr s2"set s2 "say_buddy !put oysterhead s; wait 200; say_buddy !put kaolin s; wait 200; say_buddy !put noammo s; wait 200; say_buddy !put beelz s; wait 200; say_buddy !put royen s; wait 200; set putspec vstr s3"set s3 "say_buddy !put monty s; wait 200; say_buddy !put fullmonty s; wait 200; say_buddy !put nandet s; wait 200; say_buddy !put nohope s; wait 200; say_buddy !put hitnrun s; wait 200; say_buddy !put halfwit s; wait 200; set putspec vstr s4"set s4 "say_buddy !put amadi s; wait 200; say_buddy !put grog s; wait 200; say_buddy !put tarnen s; wait 200; say_buddy !put Bortack s; wait 200; say_buddy !put george s; wait 200; say_buddy !put ryver s; set putspec vstr s5"set s5 "say_buddy !put vic s; wait 200; say_buddy !put missn s; wait 200; say_buddy !put brohn s; wait 200; say_buddy !put listerfriend s; wait 200; say_buddy !put aimless s; wait 200; say_buddy !put tanz s; wait 200; set putspec vstr s6"set s6 "say_buddy !put chan s; wait 200; say_buddy !put argo s; wait 200; say_buddy !put Morg s; wait 200; say_buddy !put richard s; wait 200; say_buddy !put anton s; set putspec vstr s7"set s7 "say_buddy !put milius s; wait 200; say_buddy !put gali s; wait 200; say_buddy !put ilikechoc s; wait 200; say_buddy !put morgriff s; wait 200; say_buddy !put bullsey s; wait 200; say_buddy !put gordac s; wait 200; set putspec vstr s8"set s8 "say_buddy !put vokur s; wait 200; say_buddy !put sean s; wait 200; say_buddy !put mungri s; wait 200; say_buddy !put walter s; wait 200; say_buddy !put vera s; wait 200; say_buddy !put flint s; wait 200; set putspec vstr s1"set putspec "vstr s1"bind F3 "vstr putspec" paste this in ur cfg and press F3 to put the bots spec U have to click f3 every 5 putspecs. One downside u cant walk while execing this command Quote
S3ti Posted September 9, 2013 Posted September 9, 2013 (edited) Works prolly but somehow overkill In the omnibot's name file are about 70 names, don't know if there is some system or they are randomly chosen when a bot gets connected. This means to cover them all (assumed 200ms are always enough) would take ~15 seconds to run the script where you can't do anything else, not that long but still...Usually when enough players are on, there are just a few bots to spec, from what I see on the servers it's fine with the slotnumbers. If afterwards one or two are left just put them by names the usual way. Edited September 9, 2013 by S3ti Quote
Reallity Posted September 9, 2013 Author Posted September 9, 2013 Works prolly but somehow overkill In the omnibot's name file are about 70 names, don't know if there is some system or they are randomly chosen when a bot gets connected. This means to cover them all (assumed 200ms are always enough) would take ~15 seconds to run the script where you can't do anything else, not that long but still...Usually when enough players are on, there are just a few bots to spec, from what I see on the servers it's fine with the slotnumbers. If afterwards one or two are left just put them by names the usual way. 70 the fk cant we reduce that number nehow it worked pretty gud today when there is like 10 bots to be put spec its way faster to use the script. but probably when there are that many bots on most will be low slotnumbers aswell so ur probably right. But i had fun with my 101 coding 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.