letstry Posted July 23, 2012 Group: Members Topic Count: 87 Topics Per Day: 0.02 Content Count: 219 Reputation: 0 Joined: 05/03/12 Last Seen: September 15, 2023 Share Posted July 23, 2012 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 Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 24, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 24, 2012 Use an infinite loop, while(1) { <do this>; sleep 3000; } end; Quote Link to comment Share on other sites More sharing options...
letstry Posted July 24, 2012 Group: Members Topic Count: 87 Topics Per Day: 0.02 Content Count: 219 Reputation: 0 Joined: 05/03/12 Last Seen: September 15, 2023 Author Share Posted July 24, 2012 Use an infinite loop, while(1) { <do this>; sleep 3000; } end; Could you please provide me the full script sir Euphy? Thanks Quote Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted July 24, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Share Posted July 24, 2012 UPDATE `login` SET state = 4 where group_id = 0 ; and use gm command @kickall the normal player cant login again until update the sate field to 0 Quote Link to comment Share on other sites More sharing options...
letstry Posted July 27, 2012 Group: Members Topic Count: 87 Topics Per Day: 0.02 Content Count: 219 Reputation: 0 Joined: 05/03/12 Last Seen: September 15, 2023 Author Share Posted July 27, 2012 Bump? Bump Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 30, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted July 30, 2012 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; } Quote Link to comment Share on other sites More sharing options...
Question
letstry
Requesting a NPC that will autokick all players(except GM) every 3 seconds when Activated..
Like
and blabla Lol I dont know how to xD
Thank you in advance
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.