Jump to content

Recommended Posts

Posted (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 by Heretic121
  • Clan Friend
Posted

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

  • Like 1
Posted

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.

Posted (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 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"; set putspec vstr s1
set putspec "vstr s1"
bind F1 "vstr putspec"


hmm its weird :P 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 :P

Edited by Reallity
Posted

hmm its weird :P 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 :P

 

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 :)
Posted

 

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 :D

 

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"

  • Like 1
Posted

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

  • Like 1
Posted

`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

Posted (edited)

Works prolly but somehow overkill :P 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 by S3ti
Posted

Works prolly but somehow overkill :P 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 :P 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 :P

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.