Script Name: Concurrent password
Script Description: if server has password use /passinfo to get information about password - simple script
Original Author(s): Vyka (Wykalaczka)
Core Version: 2.6.3
var
password: string;
function OnCommand(ID: Byte; Text: string): boolean;
begin
if MaskCheck(lowercase(Text),'/password*')=true then begin
password:=getpiece(text,' ',1);
end;
if MaskCheck(lowercase(Text),'/password')=true then begin
password:='There is no password!';
end;
if MaskCheck(lowercase(Text),'/passinfo')=true then begin
Writeln('Password: '+(password));
if ID<>255 then Writeconsole(ID,'Password: '+(password),$ff0000);
end;
end;