Author Topic: Random Commands  (Read 3948 times)

0 Members and 1 Guest are viewing this topic.

Offline corl45

  • Major
  • *
  • Posts: 51
  • PWNED!
    • www.freewebs.com/tylersmod
Random Commands
« on: December 09, 2007, 10:17:46 pm »
Script Name:  Random_commands
Script Description:  some random commands i put together
Original Author(s):  me
Core Version:  2.6.3 (Version of the Dedicated Server you made this script with)
Code:
Code: [Select]
if GetPiece(LowerCase(Text), ' ', 0) = '/green' then
  begin
    WriteConsole(0, '[' + pname + '] ' + Copy(Text, 8, Length(Text)), RGB(0,255,0));
  end;


UPDATED!  AGAIN


Random_commands BY: Tyler Wight (AKA Corl45)  i got bored so i started making a
a script that just did some stuff for my own use, then i added some more..
this script isn't very sofisticated, so its not like /spawn <object> its more like
a different command for each spawn. if you dont like it, well to bad, don't use it.
i haven't gotten used to the soldat functions and commands, so i don't extaly no too much,
but i DO know pascal very well.

i know, i could have made it better, and easyer... but i didn't want to take the time, but i might make it easyer later and add new fuctions

CHANGES COMING SOON:
1.  gona make it spawn the weapons as forcewep  (i need to figure out how to force only one gun and keep the other.)

2.  mabey clean the code a bit IDK

3. ANY SUGGESTIONS ARE WELCOME!



will be adding more and updating
  ideas and suggestions are welcome!


ALL YOU NEED TO KNOW IS THESE COMMANDS:
/text (list of text commands
/spawns (start of list of spawn commands)




these commands can only be executed by an Admin


COMMAND LIST:

/inv      preditor mode
/med    med-kit
/nade   normal nade box
/flame  flame-god mode
/vest   armor vest
/serk   berseker mode
/clust  cluster nades
/power  all powerups and nades
/stat   stationary gun (turret)
/eagle  eagles
/mp5    HK MP5
/ak47   ak47
/aug    streyr AUG
/spas   spas 12
/ruge   ruger77
/m79    M79
/barr   barreta
/minim  minimi
/minig  minigun
/usso   USSOCOM
/knife  Comabat knife
/chain  chainsaw
/law    LAW
/guns   ALL guns except stationary
/boom   EVERYTHING except stationary








unzip to *soldatserver*\Scripts
« Last Edit: December 19, 2007, 05:37:15 pm by corl45 »
BE AWESOME!


Offline corl45

  • Major
  • *
  • Posts: 51
  • PWNED!
    • www.freewebs.com/tylersmod
Re: Random Commands
« Reply #2 on: December 10, 2007, 10:58:24 pm »
ok, im sure you all hate me and think im a noob... but i fixed it, ive been here a couple of days i know pascal pretty well, but i dont know the functions and commands of the soldat, i learned forcewep after i made this script. 
BE AWESOME!

Offline Londonbrig0

  • Major(1)
  • Posts: 38
  • despite my experience, I'm a noob, deal with it
Re: Random Commands
« Reply #3 on: December 15, 2007, 12:19:01 am »
wow, seems pretty cool to be able to spawn a stat gun, I can see a lot of good uses for that :D
I could have sworn I had something witty to put here...

Offline BombSki

  • Flagrunner
  • ****
  • Posts: 927
    • Climbing-soldiers.net
Re: Random Commands
« Reply #4 on: December 15, 2007, 08:12:05 am »
^someone been living underneath a rock?

go play on fistbox or TTW..

Offline Londonbrig0

  • Major(1)
  • Posts: 38
  • despite my experience, I'm a noob, deal with it
Re: Random Commands
« Reply #5 on: December 15, 2007, 11:39:36 am »
^someone been living underneath a rock?

go play on fistbox or TTW..

living under a rock? maybe... O_O
I could have sworn I had something witty to put here...

Offline corl45

  • Major
  • *
  • Posts: 51
  • PWNED!
    • www.freewebs.com/tylersmod
Re: Random Commands
« Reply #6 on: December 16, 2007, 07:46:29 pm »
wow, first replys in like, a long time.  i just put this together for my own use, and decided to publish it. im open for ideas.
BE AWESOME!

Offline Flippeh

  • Major
  • *
  • Posts: 58
  • Fish go moo :>
    • My Homepage
Re: Random Commands
« Reply #7 on: December 19, 2007, 10:08:15 am »
It looks like if you use /commands, every command will be fired at once...

Offline corl45

  • Major
  • *
  • Posts: 51
  • PWNED!
    • www.freewebs.com/tylersmod
Re: Random Commands
« Reply #8 on: December 19, 2007, 05:16:42 pm »
ohh, crap... i just copied to set all of them, ill work on groups.  srry,
BE AWESOME!

Offline frosty

  • Flagrunner
  • ****
  • Posts: 601
  • Uber Desert Eagle ^^
Re: Random Commands
« Reply #9 on: May 08, 2008, 03:23:23 am »
^someone been living underneath a rock?

go play on fistbox or TTW..
give him a break :(

nice script, im gonna use it lol
check out my server! click here

If at first you don't succeed, Improvise! :D

Offline BRADEN

  • Camper
  • ***
  • Posts: 319
Re: Random Commands
« Reply #10 on: May 18, 2008, 01:44:55 am »

Death is the solution to all problems. No man; no problem.
-Joseph Stalin

Offline Boblekonvolutt

  • Soldier
  • **
  • Posts: 222
  • "YOU are a CAR."
Re: Random Commands
« Reply #11 on: May 18, 2008, 03:37:48 am »
Random Commands « on: December 10, 2007, 03:17:46 am »
Spawner v1.5 « on: March 12, 2008, 07:30:01 pm »

Offline Rellik

  • Major(1)
  • Posts: 23
Re: Random Commands
« Reply #12 on: August 10, 2008, 02:33:04 pm »
Could you alter the script so it the weapons can only be spawned/forced onto people by Admins.

It's a bitch when you have a server full of people who know how to perform this command and abuse it without care.

Offline Norbo

  • Camper
  • ***
  • Posts: 338
Re: Random Commands
« Reply #13 on: August 10, 2008, 02:49:28 pm »
http://enesce.com/help/

all you need to look at when you are scripting in soldat.