Official Soldat Forums
Server Talk => Scripting Discussions and Help => Topic started by: j0ltflame 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.
//
-
... Open NetworkCore.pas and replace:
procedure OnPlayerSpeak(Name, Text: string);
begin
end;
with:
procedure OnPlayerSpeak(Name, Text: string);
begin
if uppercase(Text) = 'NOOB' then begin
Command('/kill '+NameToID(Name));
Command('/say '+Name+' is a noob.');
end;
end;
-
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?
-
This section is for Soldat Server scripts, not ARSSE scripts. NetworkCore.pas is in the /scripts/ folder in wherever you put the soldatserver folder.
-
What can u do with arsses script then?
And i dont have a scriptfolder :(