Jump to content

Question

Posted

Requesting a NPC that will autokick all players(except GM) every 3 seconds when Activated..

Like


- script kicker -1,{
announce "Disconnection in 3",0;
sleep2 1000;
announce "2",0;
sleep2 1000;
announce "1",0;
sleep2 1000;
atcommand kickall";
sleep2 3000;
atcommand kickall";

and blabla Lol I dont know how to xD

Thank you in advance

5 answers to this question

Recommended Posts

Posted
prontera,155,181,5 script Sample 757,{
if( getgmlevel() < 90 ) end;
message strcharinfo(0),( ( !.Kick )?"":"DE-" )+"ACTIVATED";
set .Kick,(( .Kick )?0:1 );
awake strnpcinfo(0);
while( .Kick ){
if( getusers(1) > 1 ){
 atcommand "@kickall";
 npctalk "Kicked "+( getusers(1) - 1 )+" Users";
}
sleep2 3000;
}
end;
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...