Author Topic: New script.  (Read 1634 times)

0 Members and 1 Guest are viewing this topic.

Offline j0ltflame

  • Major(1)
  • Posts: 23
  • Banned - hacker
New script.
« on: February 16, 2007, 08:22:50 am »
Ok, my old topic was locked so i will explain as good i can.

When you say: Command, noob ''Noob kill'' or something will not help me i wan't better waydirections about where i should be going.

Now i have been thought to know how you do a script to a own server. If you don't wan't to explain it just give me a link about scriptinghelps and stuff.
I would know about how to make many script but for now, i just need this:

I say who name is GuyGay, says 'noob' in my server for ex. and then i want that Server auto kills him or says: GuyGay is a Noob. Too say go in in Networkpas.exe will not help be, so explain good or give me a link about scripting.

//

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: New script.
« Reply #1 on: February 16, 2007, 09:06:51 am »
... Open NetworkCore.pas and replace:
Code: [Select]
procedure OnPlayerSpeak(Name, Text: string);
begin
end;
with:
Code: [Select]
procedure OnPlayerSpeak(Name, Text: string);
begin
  if uppercase(Text) = 'NOOB' then begin
    Command('/kill '+NameToID(Name));
    Command('/say '+Name+' is a noob.');
  end;
end;

Offline j0ltflame

  • Major(1)
  • Posts: 23
  • Banned - hacker
Re: New script.
« Reply #2 on: February 16, 2007, 11:01:36 am »
Thank you, now explain if i don't anyone to name Major in my server, tehn how?

And wheres the networkcore map in ARSSE?

Do i need arsse to make scripts? I mean, whats the different if u are admin with pass and if ur admin with pass and arsse?
« Last Edit: February 16, 2007, 11:16:25 am by j0ltflame »

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: New script.
« Reply #3 on: February 16, 2007, 08:31:35 pm »
This section is for Soldat Server scripts, not ARSSE scripts. NetworkCore.pas is in the /scripts/ folder in wherever you put the soldatserver folder.

Offline j0ltflame

  • Major(1)
  • Posts: 23
  • Banned - hacker
Re: New script.
« Reply #4 on: February 17, 2007, 05:08:51 am »
What can u do with arsses script then?

And i dont have a scriptfolder :(