Forums.Counter-Strike.com | Counter-Strike Community Forums

Go Back   Forums.Counter-Strike.com | Counter-Strike Community Forums > Counter Strike > Versions > CS: Source
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Counter-Strike Source Servers, Teamspeak Servers, Ventrilo Servers
Reply
 
LinkBack Thread Tools Search this Thread
Old 03-02-2007, 03:25 AM   #1 (permalink)
Stormrider
Member
Hostage
 
Join Date: Feb 2007
Posts: 23
Default Random or cycle commands for the autoexec or console

Do you know if it is posible to have a random command in the autoexec for instance or at least a cycle of commands? I mean, imagine you have command1, command2, and command3 in your autoexec, but you want that sometimes the executed command is command1, other times command2, or command3, etc, not the 3 lines at the same time. Or maybe that when the game loads, command1 is run, next time the game loads command2 is run, etc. Any idea if this can be done?
Stormrider is offline   Reply With Quote
Old 03-02-2007, 01:47 PM   #2 (permalink)
Watdaflip
Moderator
Da Bomb
 
Join Date: Nov 2006
Location: Ohio, USA
Posts: 818
Default Re: Random or cycle commands for the autoexec or console

not directly in the autoexec file. But you can add a line to the autoexec to run a eventscript that will execute one of the three commands at random. You will need some script that will decide which one to run.
Watdaflip is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Console problem Wuduzort Counter Strike 1.6 4 07-22-2007 01:27 AM
Admin commands GunZilla Mani Admin Plugin 7 04-21-2007 02:06 PM
low fps and lag in console MatCauthon Counter Strike 1.6 3 02-21-2007 09:22 PM
using the commands random5991 AdminMod 2 02-01-2007 01:19 PM
How can i make a console??? kongood CS: Source 3 01-24-2007 09:51 PM


All times are GMT -5. The time now is 04:20 PM.



Powered by vBulletin Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC5
Free Clan Websites and Template Hosting