Splak.net

Home of .:Splak|
It is currently Tue Mar 03, 2026 11:23 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Is there a way to---?
PostPosted: Wed Jan 07, 2009 6:28 pm 
Offline
OMFG STEAM ROXORS TEH BIG ONE111
User avatar

Joined: Thu Sep 27, 2007 7:51 pm
Posts: 1021
Is there a way to write a line in console that could execute multiple commands?

I'm trying to figure out a way to make key binds that could do something like this for Left 4 Dead:

bind k +
sv_cheats 1
give_molotov
sv_cheats 0

Something like that, that could turn cheats on, do a cheat, then turn it off right after the cheat is complete. Can anyone help me with this?

_________________
.:Splak|AWOL Soldier
Red tank! Rubber Sled! What the box am I doing? I am a Walrus, thru && thru, gimme my bukket oar I'll eat u.
Awesome X wrote:
It's kinda like fight club. First rule about recruitment, don't talk about recruitment. 2nd rule is do NOT talk about recruitment.

Reaper wrote:
PAIL 2 DA MAX!

Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 07, 2009 6:43 pm 
Offline
Head Cheerleader
User avatar

Joined: Tue Jun 03, 2008 4:30 am
Posts: 582
Location: phoenix az
out of curiosity are cheats allowed on L4D??


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 07, 2009 6:53 pm 
Offline
The British One
The British One
User avatar

Joined: Fri Sep 28, 2007 3:58 am
Posts: 4818
Location: England
As a script? probably, vman would know how.

Im guessing it would be like a .cfg file to exec.

so like,

Code:
sv_cheats 1
give_molotov
sv_cheats 0


then bind it like bind l exec blah.cfg

I wouldn't recommened trying it though, I may be seriously wrong! wait til vman comes along :wink:

_________________
.:Splak|Stormzz
.:Splak|Fusionzz
[Splak Server Administrator]
[Recruitment Moderator and Co-Recruiter]
Image
Image
Got any questions? PM me and i'll try and help.

“You have enemies? Good. That means you've stood up for something, sometime in your life.” - Winston Churchill


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 07, 2009 7:17 pm 
Offline
OMFG STEAM ROXORS TEH BIG ONE111
User avatar

Joined: Thu Sep 27, 2007 7:51 pm
Posts: 1021
the sv_cheats are allowed, yes

The lobby leader can put sv_cheats on or off at will with no real consequences. Sometimes it's used just to help a party out, or to fix a bug. Like getting stuck on nothing...

Hacks are not allowed on any Vac-secured server though.

_________________
.:Splak|AWOL Soldier
Red tank! Rubber Sled! What the box am I doing? I am a Walrus, thru && thru, gimme my bukket oar I'll eat u.
Awesome X wrote:
It's kinda like fight club. First rule about recruitment, don't talk about recruitment. 2nd rule is do NOT talk about recruitment.

Reaper wrote:
PAIL 2 DA MAX!

Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 07, 2009 7:33 pm 
Offline
Some kid.
Some kid.

Joined: Fri Sep 28, 2007 7:56 pm
Posts: 3255
Location: California, US
Make a config file: molotov.cfg in your L4D folder w/ this in it:

Code:
sv_cheats 1
give_molotov
sv_cheats 0



Then open up console and type:

bind "k" "exec molotov.cfg"

_________________
.:Splak|VMAN


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 07, 2009 8:04 pm 
Offline
The British One
The British One
User avatar

Joined: Fri Sep 28, 2007 3:58 am
Posts: 4818
Location: England
Man, I knew I was right

_________________
.:Splak|Stormzz
.:Splak|Fusionzz
[Splak Server Administrator]
[Recruitment Moderator and Co-Recruiter]
Image
Image
Got any questions? PM me and i'll try and help.

“You have enemies? Good. That means you've stood up for something, sometime in your life.” - Winston Churchill


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 07, 2009 10:03 pm 
Offline
Mega Chuck Norris
Mega Chuck Norris
User avatar

Joined: Wed Sep 26, 2007 1:39 pm
Posts: 3651
Location: Madison, MS
AWOL Soldier wrote:
Is there a way to write a line in console that could execute multiple commands?

I'm trying to figure out a way to make key binds that could do something like this for Left 4 Dead:

bind k +
sv_cheats 1
give_molotov
sv_cheats 0

Something like that, that could turn cheats on, do a cheat, then turn it off right after the cheat is complete. Can anyone help me with this?


You can separate commands with semi colons ; and put them all on 1 line

For example my F3 key is bound to "stopsound; amx_execall room_type 0"

Which stops the background sounds (like in blahhh) and also sets the room type to default to get rid of echos (for me and everyone in the server)

_________________
-- .:Splak|StackableNut --
Cornholio wrote:
blah thats nothing, i built houses for pirates, then do pirating myself. Then I shoot my self and perform bullet removal surgery on myself. After that I go to boot camps to train kids to kill. Then i go and fight on the Iraq war for both sides. After all i go later and drink some 7up cause ill be thirsty as shit.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jan 08, 2009 12:55 am 
Offline
OMFG STEAM ROXORS TEH BIG ONE111
User avatar

Joined: Thu Sep 27, 2007 7:51 pm
Posts: 1021
Thanks guys! :D

_________________
.:Splak|AWOL Soldier
Red tank! Rubber Sled! What the box am I doing? I am a Walrus, thru && thru, gimme my bukket oar I'll eat u.
Awesome X wrote:
It's kinda like fight club. First rule about recruitment, don't talk about recruitment. 2nd rule is do NOT talk about recruitment.

Reaper wrote:
PAIL 2 DA MAX!

Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group