Author Topic: ARSSE Script (training, extra support, optional word filter, etc.)  (Read 5813 times)

0 Members and 1 Guest are viewing this topic.

Offline Timmeh`

  • Major(1)
  • Posts: 48
    • ICONZArena
I got bored so I made this.

Download word filter at bottom of this post

Commands:
!level1 = easy training
!level2 = medium training
!level3 = hard training
!ace = very hard training
!masacre = chainsaw only
!sniper = barrett only
!ownage = adds some bots
!undead = adds 18 zombies
!end = ends training (kicks all bots)

Feel free to change the code to suit your server needs
Code: [Select]
# training commands by Gold - nate.blindspott@msn.com
# this code is safe to be used on any server

if $MESSAGE = Im gonna hack
/say Hackers suck
/kick $PLAYER_NAME
endif

if $MESSAGE = Im using hacks
/say Hackers suck
/kick $PLAYER_NAME

if $MESSAGE = I am hacking
/say Hackers suck
/kick $PLAYER_NAME
endif

if $MESSAGE = !masacre
/say WARNING! Masacre has begun, Run!
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
endif

if $MESSAGE = !snipe
/say Sniper shootout has begun!
/addbot2 Sniper
/addbot2 Sniper
/addbot2 Sniper
/addbot2 Sniper
/addbot1 Terminator
/addbot1 Terminator
/addbot1 Terminator
/addbot1 Terminator
endif

if $MESSAGE = !sniper
/say Sniper shootout has begun!
/addbot2 Sniper
/addbot2 Sniper
/addbot2 Sniper
/addbot2 Sniper
/addbot1 Terminator
/addbot1 Terminator
/addbot1 Terminator
/addbot1 Terminator
endif

if $MESSAGE = I need to train
/say $PLAYER_NAME wants to train? type !levels
endif

if $MESSAGE = I gotta train
/say $PLAYER_NAME wants to train? type !levels
endif

if $MESSAGE = I am a newb
/say If you are a newb, type !levels to train
endif

if $MESSAGE = !ownage
/say $PLAYER_NAME has begun a round of ownage!
/addbot1 boogie man
/addbot1 dutch
/addbot1 poncho
/addbot1 srg mac
/addbot1 sniper
endif

if $MESSAGE = !undead
/say $PLAYER_NAME has unleashes zombies!
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
/addbot4 zombie
endif

if $MESSAGE = !end
/say $PLAYER_NAME has ended training
/kick Boogie Man
/kick Kruger
/kick Sniper
/kick Dutch
/kick Admiral
/kick Terminator
/kick John
/kick Billy
/kick Danko
/kick Poncho
/kick D Dave
/kick Blain
/kick Srg Mac
/kick Stevie
/kick Roach
/kick Commando
/kick Zombie
endif

if $MESSAGE = !level1
/say $PLAYER_NAME Has begun level 1 training
/addbot1 boogie man
endif

if $MESSAGE = !level2
/say $PLAYER_NAME Has begun level 2 training
/addbot1 boogie man
/addbot1 kruger
endif

if $MESSAGE = !level3
/say $PLAYER_NAME Has begun level 3 training
/addbot1 boogie man
/addbot1 kruger
/addbot1 sniper
endif

if $MESSAGE = !ace
/say Warning $PLAYER_NAME Has begun max training!
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 boogie man
/addbot1 sniper
/addbot1 sniper
/addbot1 sniper
/addbot1 sniper
/addbot1 sniper
/addbot1 sniper
endif

if $MESSAGE = !levels
/say !level1 = easy training
/say !level2 = medium training
/say !level3 = hard training
/say !ace = very hard training
/say !masacre = chainsaw only
/say !sniper = barrett only
/say !ownage = adds some bots
/say !end = ends training (kicks all bots)
endif

if $MESSAGE = hacker
/say If somebody is hacking type !admin or vote kick them
endif

if $MESSAGE = hax
/say If somebody is hacking type !admin or vote kick them
endif

if $MESSAGE = hack
/say If somebody is hacking type !admin or vote kick them
endif

if $MESSAGE = hacking
/say If somebody is hacking type !admin or vote kick them
endif

if $MESSAGE = cheater
/say If somebody is cheating type !admin or vote kick them
endif

if $MESSAGE = cheating
/say If somebody is cheating type !admin or vote kick them
endif

if $MESSAGE = Admin?
/say To request admin type !admin
endif

if $MESSAGE = Admin
/say To request admin type !admin
endif

if $MESSAGE = lagger
/say Vote kick players that lag
endif

if $MESSAGE = lag
/say $PLAYER_NAME, leave the server if you lag
endif

if $MESSAGE = !rate
/say $PLAYER_NAME's rate: $PLAYER_RATE P: $PLAYER_SCORE, D: $PLAYER_DEATHS
endif

if $MESSAGE = !version
/say $VERSION
endif

if $MESSAGE = !test
/say I can see you $PLAYER_NAME
endif

if $MESSAGE = !levels
/say !level1 = easy training
/say !level2 = medium training
/say !level3 = hard training
/say !levelmax = very hard training
/say !end = ends training
endif

if $MESSAGE = lag
/say Your ping is $PLAYER_PING go back to Poland
endif

if $MESSAGE = !admin
/say An admin was requested
IRCmsg $PLAYER_NAME requested an admin on $SERVER_IP:$SERVER_PORT!
ADMINMSG $PLAYER_NAME requested an admin on $SERVER_NAME!!
endif

if $MESSAGE = !request
/say What do you want?
IRCmsg $PLAYER_NAME requested an admin on $SERVER_IP:$SERVER_PORT!
ADMINMSG $PLAYER_NAME requested an admin on $SERVER_NAME!!
endif


if $MESSAGE = !time
/say Current server time is $CLOCK
endif

# Team-change commands for players - written by Leo

if $MESSAGE = !spectator
/setteam5 $PLAYER_NUM
endif

if $MESSAGE = !spec
/setteam5 $PLAYER_NUM
endif
         
if $MESSAGE = !red
/setteam1 $PLAYER_NUM
endif
           
if $MESSAGE = !blue
/setteam2 $PLAYER_NUM
endif

# New commands supporting private server needs by RiA|KeFear, idea by Kaimelar
# remove comments if you need them

if $MESSAGE = !myip
/say $PLAYER_NAME, your IP is $PLAYER_IP
endif

if $MESSAGE = !ping
/say $PLAYER_NAME, your ping is $PLAYER_PING
endif



#if $MESSAGE = !voland
#/map ctf_Voland
#endif

#if $MESSAGE = !laos
#/map ctf_Laos
#endif

#if $MESSAGE = !b2b
#/map ctf_B2b
#endif

#if $MESSAGE = !nuubia
#/map ctf_Nuubia
#endif

#if $MESSAGE = !viet
#/map ctf_Viet
#endif

#if $MESSAGE = !run
#/map ctf_Run
#endif

#if $MESSAGE = !kampf
#/map ctf_Kampf
#endif

#if $MESSAGE = !death
#/map ctf_Death
#endif

#if $MESSAGE = !maya
#/map ctf_Maya
#endif

#if $MESSAGE = !lanubya
#/map ctf_Lanubya
#endif

#if $MESSAGE = !equinox
#/map ctf_equinox
#endif

#if $MESSAGE = !p
#/pause
#endif

#if $MESSAGE = !restart
#/restart
#endif

# These are written by Kaimelar

#if $MESSAGE = !tnl
#/respawntime 3
#/maxrespawntime 4
#/limit 10
#/timelimit 10
#/bonus 0
#/map ctf_Laos
#endif

#if $MESSAGE = !srl
#/respawntime 3
#/maxrespawntime 4
#/limit 6
#/timelimit 10
#/bonus 0
#/friendlyfire 1
#/realistic 1
#endif

Not all of this is code by me, some of it is default
« Last Edit: January 15, 2007, 06:25:57 pm by Timmeh` »
In the last two decades, political and civil rights have improved substantially throughout the world: since 1980, 81 countries have taken significant steps in democratization, with 33 military regimes replaced by civilian governments. But of these fledgling democracies, only 47 are considered full democracies today.

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: ARSSE Script (training, extra support, optional word filter, etc.)
« Reply #1 on: January 15, 2007, 04:14:21 am »
Pretty nice and good idea. :)
I'm gonna try it now

Edit: Lol you uploaded wordfilter.txt and the bottom command
Code: [Select]
if $MESSAGE = This server sucks
/say $PLAYER_NAME Your ping is $PLAYER_PING go back to China
Lol ahhahaahah

B.O.T. You should see if you could make a server script (So ARSSE is not neede to be running)
« Last Edit: January 15, 2007, 04:17:10 am by Frenchie »
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline cooz

  • Soldier
  • **
  • Posts: 187
  • BANNED
Re: ARSSE Script (training, extra support, optional word filter, etc.)
« Reply #2 on: January 15, 2007, 04:28:21 am »
i think this section if for dedicated server scripts, not for arsse's

also did you even try to test this script as i see some "endif" missing here and there (if it should be like that, sorry)
Dead man! Dead man walking! We got a dead man walking here! Banned man crawling more like

Offline khoacalacan

  • Major(1)
  • Posts: 37
    • XDreamer
Re: ARSSE Script (training, extra support, optional word filter, etc.)
« Reply #3 on: January 15, 2007, 01:22:41 pm »
Pretty nice and good idea. :)
I'm gonna try it now

Edit: Lol you uploaded wordfilter.txt and the bottom command
Code: [Select]
if $MESSAGE = This server sucks
/say $PLAYER_NAME Your ping is $PLAYER_PING go back to China
Lol ahhahaahah

B.O.T. You should see if you could make a server script (So ARSSE is not neede to be running)

Not funny, I consider that racist. Hope you die early in hell =/

Offline Timmeh`

  • Major(1)
  • Posts: 48
    • ICONZArena
Re: ARSSE Script (training, extra support, optional word filter, etc.)
« Reply #4 on: January 15, 2007, 06:23:48 pm »
I'm not racist. I just hate unholy ping.

cooz, ARSSE is awesome, it deserves some fan scripts.

I fixed the script, should be ok now.
« Last Edit: January 15, 2007, 06:28:18 pm by Timmeh` »
In the last two decades, political and civil rights have improved substantially throughout the world: since 1980, 81 countries have taken significant steps in democratization, with 33 military regimes replaced by civilian governments. But of these fledgling democracies, only 47 are considered full democracies today.

Offline cooz

  • Soldier
  • **
  • Posts: 187
  • BANNED
Re: ARSSE Script (training, extra support, optional word filter, etc.)
« Reply #5 on: January 16, 2007, 12:55:40 am »
I'm not racist. I just hate unholy ping.

cooz, ARSSE is awesome, it deserves some fan scripts.

I fixed the script, should be ok now.

i didn't say it's not, i agree that's very good remote admin application!
i just point out that you posted in wrong section...

peace
Dead man! Dead man walking! We got a dead man walking here! Banned man crawling more like

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: ARSSE Script (training, extra support, optional word filter, etc.)
« Reply #6 on: January 16, 2007, 02:53:03 am »
I haven't been able to try it yet. (Cause my specific comp is not here)

But after reading the updated script, I still see an endif missing.

Code: [Select]

if $MESSAGE = Im using hacks
/say Hackers suck
/kick $PLAYER_NAME


Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline rumpel

  • Camper
  • ***
  • Posts: 410
Re: ARSSE Script (training, extra support, optional word filter, etc.)
« Reply #7 on: February 26, 2007, 11:28:23 am »
how i can use this? :(
banned.

Offline Iq Unlimited

  • Flagrunner
  • ****
  • Posts: 863
  • mr. foobar2000
Re: ARSSE Script (training, extra support, optional word filter, etc.)
« Reply #8 on: March 04, 2007, 02:51:44 pm »
lol fun xD.

how i can use this? :(

You have arsse right? go to your arsse folder and go to scripts. There is a notepad named "OnPlayerSpeak". Copy the code and paste it there, then load arsse onto a server.

Offline Zeus^

  • Major(1)
  • Posts: 6
Re: ARSSE Script (training, extra support, optional word filter, etc.)
« Reply #9 on: March 15, 2007, 06:33:19 am »
I have a question, when I wrote a script in a .txt file, do i have to insert the file in options in " Events " ?? or do Arsse use it automatical ?

I hope I get an reply soon :)

Greetz

Zeus^

Offline KeFear

  • Soldier
  • **
  • Posts: 181
  • ARSSE Creator
Re: ARSSE Script (training, extra support, optional word filter, etc.)
« Reply #10 on: March 16, 2007, 10:25:41 am »
You have to set it under Events. If you modified a script file, that was "loaded in" before, ARSSE will use it automatically.

Offline Jackoty

  • Major(1)
  • Posts: 1
Re: ARSSE Script (training, extra support, optional word filter, etc.)
« Reply #11 on: May 11, 2007, 02:24:14 pm »
nice script
installed it on my ARSSE
but at least for me the Bot File names were wrong (wrong case, and for sgt. mac wrong name)
but it could be that this is a linux issue, windows will recognize without case sensitivity
thanks
jackoty

Offline addict

  • Major(1)
  • Posts: 19
Re: ARSSE Script (training, extra support, optional word filter, etc.)
« Reply #12 on: October 12, 2007, 01:44:25 pm »
  • Compiling ARSSE -> ARSSE.pas...
  • ARSSE -> [Error] (2:1): 'BEGIN' expected

Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: ARSSE Script (training, extra support, optional word filter, etc.)
« Reply #13 on: October 12, 2007, 01:49:54 pm »
It's a script for the ARSSE server admin, not a .pas file for the server scripting engine.