Jump to content

Home

Multiple sayings


GunShark

Recommended Posts

I put this into the the editing forum to begin with but got no replies so i'll post again here and hopefully have better luck.

 

I was wondering if anyone knows how to set up a script so you can have multiple sayings bound to one key

E.G. bind x say good fight then hit the x key again to get next saying. I had something similar for Q3 about 2 years ago or so (long time) but forgot how to do and also don't know if the commands are the same. I think it may have been some sort of vstr listing?

thanks for any help

 

:lsduel:

Link to comment
Share on other sites

set change1 "say good fight;bind F vstr change2"

set change2 "say hello;bind F vstr change3"

set change3 "say your mamma;bind F vstr change1"

bind F "vstr change1"

 

 

 

basic "cycle script" ^^

 

just replace my "F key" with your key (you have to replace it in all of the script lines, *not just the bottom one) and change the messages.

 

you can also add more lines just remember to keep the # order correct.

 

just copy and paste all of that stuff at the top in a text file, edit the key you want and changes the messages.

 

then save it as autoexec.cfg

 

(you must save w/ the .cfg extension)

 

 

drop it in your base folder and it's ready to go.

Link to comment
Share on other sites

Originally posted by FK | unnamed

 

set change1 "set name ^7[^3SUBWAY^7]^2Jared;bind F vstr change2"

set change2 "set model luke/default;bind F vstr change3"

set change3 "set color1 3;bind F vstr change1"

bind F "vstr change1"

 

sets model/name/saber 1 color all on one key. [/b]

 

Why not just use bind <key> "set name ^7[^3SUBWAY^7]^2Jared;model luke/default;color1 3"?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...