Main Menu

LfS Server-side scripts

Started by OldBloke, December 10, 2006, 03:33:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

OldBloke

Gents

I've been experimenting with the server-side scripting that recently made its way into LfS. I've setup some common scripts on the server and listed them below. When Scawen gets round to implementing a timer command then we can really go to town.

There are two on-screen message types within Lfs:

1. RCM - Big letters in the middle of the screen

2. MSG - Small letters amongst the usual messages.

The msg type is displayed immediately but the RCM message works in a different way. The RCM message is stored with one command and then displayed with another and can then be cleared with yet another.

To run the scripts either press T and type the command or, as I've done, bind it to a key using a profiler.

Here are the simpler MSG scripts

/hrun novoting

Displays ....

Stop voting please.
Race will start when admins are ready.
Stop voting please.
Race will start when admins are ready.

/hrun gla

Displays ....

10 Laps - 1 PIT - Good Luck All
10 Laps - 1 PIT - Good Luck All
10 Laps - 1 PIT - Good Luck All

/hrun blueflag

Displays ...

BLUE FLAGS mean GIVE WAY.
BLUE FLAGS mean GIVE WAY.
BLUE FLAGS mean GIVE WAY.

/hrun midrace

When you join mid-race you are not racing.
Please defer to those who are.
When you join mid-race you are not racing.
Please defer to those who are.

Here are the RCM scripts

/hrun sbrs

Displays ....

Short Break - Race Soon

/hrun race

Displays ....

Race Is About To Start

/hrun wrongway

Displays ....

Do *NOT* drive the wrong way - EVER.

/hrun clear

Clear the track for practice please!


Remember: enter /rcc_all to remove any RCM message

That's it so far. Please use them wisely.
"War without end. Well, what was history if not that? And how would having the stars change anything?" - James S. A. Corey

Sn00ks

I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Doorman

Keyboard updated. Luvly  jubbly.










     

Lameduck

Nice one! I will commence key assignment forthwith, if not sooner and with the alacrity of a herd of startled antelopes.:)