SRCDS Steam group


Being bored
#1
Is it easy to create custom .cfg.
For example Shutdown.cfg? where it says a message and then shuts down?

Reply
#2
yes, you could do something like..
Code:
alias wait2 "wait; wait"
alias wait4 "wait2; wait2"
alias wait8 "wait4; wait4"
alias wait16 "wait8; wait8"
alias wait32 "wait16; wait16"

say "Server Shut down"

wait32
wait32
wait32
wait32
wait32
wait32
wait32
wait32
wait32
wait32
wait32

exit

that should do about that.. although you may have to adjust the waits.. lol.

edit-you can name that anything.cfg and just put it in the cfg folder, and when you want to execute it just type in exec custom.cfg in console.
Reply
#3
Well, I had made one already, But where can I add the wait part on my .cfg?

jackaL Wrote:Say Server is shutting down!
Say Server is shutting down!!
Say Server is shutting down!!!
Say Server is shutting down!!!!
Say Server is shutting down!!!!!
Say Server is shutting down!!!!!!
Say Server is shutting down!!!!!
Say Server is shutting down!!!!
Say Server is shutting down!!!
Say Server is shutting down!!
Say Server is shutting down!
Say Server is shutting down!!
Say Server is shutting down!!!
Say Server is shutting down!!!!
Say Server is shutting down!!!!!
Say Server is shutting down!!!!!!
Say Server is shutting down!!!!!
Say Server is shutting down!!!!
Say Server is shutting down!!!
Say Server is shutting down!!
Say Server is shutting down!
Say Server is shutting down!!
Say Server is shutting down!!!
Say Server is shutting down!!!!
Say Server is shutting down!!!!!
Say Server is shutting down!!!!!!
Say Server is shutting down!!!!!
Say Server is shutting down!!!!!!
Say Server is shutting down!!!!!
Say Server is shutting down!!!!
Say Server is shutting down!!!
Say Server is shutting down!!

disconnect
exit

Reply
#4
you would have to add the wait alias at the top. that doesn't actually make the server wait, it just alias's the wait, cuz 1 wait, is a fraction of a second. and then once you get the wait alias out to something (i have it to 32) then whereever you want it to "wait" you just add "wait 32" or whatever number you have.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)