My first LAZY script!

Share your custom configs, homemade binds, ET related programs, etc.
Official Member
User avatar
Posts: 2497
Joined: Tue May 23, 2006 0:00
Location: In my pants (hopefully)

My first LAZY script!

Postby Ammz » Thu Mar 01, 2007 22:48

YAY i got linux! So now i have to learn how to use shell and making scripts!

And now ladies and girls my first lazy script!!

Code: Select all
#!/bin/bash
# My first script

echo "Ok Ammz. Gonna launch tha server!!"

cd Desktop/hlds

./hlds_run -game cstrike -autoupdate -port 27016 +maxplayers 12 +map surf_ski


This is what it does.

When i launch it by writing ./server it executes 3 command.

1. Says "Ok Ammz. Gonne launch tha server!!"

2. Goes to the location where my server is.

3. Executes my server with all the options such as port maxplayers and which map :D


God i LOVE linux. :D :D
You say: "Great Shot!"
I say: "aimbot"
-|PS|-Ammz

Veteran
User avatar
Posts: 1086
Joined: Sun Nov 12, 2006 1:00

Postby X-avier » Fri Mar 02, 2007 0:14

whaha sounds nice :P


Join the clan : Lazy guys 4 ever :P haha lazyguys rulesz:P


God said once :
Code: Select all
If youre lazy .. make lazy scripts

Veteran
User avatar
Posts: 990
Joined: Mon Nov 13, 2006 1:00
Location: World -> Europe -> Germany -> Swabia

Postby Stormcrow » Fri Mar 02, 2007 1:55

Sweet :-P

If i am lazy i wrote those scripts:

http://www.prime-squadron.com/modules.p ... pic&t=1528

Opps, suddenly it smells smanky here :-P
Image
Pls Foxxy, teach me how to "master-bait" :-P

Official Member
User avatar
Posts: 2497
Joined: Tue May 23, 2006 0:00
Location: In my pants (hopefully)

Postby Ammz » Fri Mar 02, 2007 16:51

Bah! Don't brag Stormy i just started on shell scripts!
You say: "Great Shot!"
I say: "aimbot"
-|PS|-Ammz

Veteran
User avatar
Posts: 990
Joined: Mon Nov 13, 2006 1:00
Location: World -> Europe -> Germany -> Swabia

Postby Stormcrow » Fri Mar 02, 2007 16:54

:-P

Keep going, and start your Game-Server within a screened terminal
Image
Pls Foxxy, teach me how to "master-bait" :-P

Official Member
User avatar
Posts: 2497
Joined: Tue May 23, 2006 0:00
Location: In my pants (hopefully)

Postby Ammz » Fri Mar 02, 2007 17:19

That is what i always do :S hehe ;-)
You say: "Great Shot!"
I say: "aimbot"
-|PS|-Ammz

Return to PS Techz0ne

Who is online

Users browsing this forum: No registered users and 1 guest