Jump to content
  • 0

Request Script


PewN

Question


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

i want to request a script that. onpclogin he will atach the player after 20mins there is a message will pop up . then he need to answer that if he is wrong he will go to jail. then after 1 hour the message will pop up again. and so on and so on!. like a anti bot :D thx!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

try this

- script Sample -1,{
OnPCLoginEvent:
addtimer ( 20 * 60000 ),strnpcinfo(0)+"::OnTimeUp";
end;

OnTimerUp:
mes "What is your Name ?";
input .@Input$;
if( .@Input$ == strcharinfo(0) ){
mes "Correct.";
addtimer ( 60 * 60000 ),strnpcinfo(0)+"::OnTimeUp";
close;
}else{
mes "Wrong.";
close2;
atcommand "@jail "+strcharinfo(0);
}
end;
}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

try this

- script Sample -1,{
OnPCLoginEvent:
addtimer ( 20 * 60000 ),strnpcinfo(0)+"::OnTimeUp";
end;

OnTimerUp:
mes "What is your Name ?";
input .@Input$;
if( .@Input$ == strcharinfo(0) ){
mes "Correct.";
addtimer ( 60 * 60000 ),strnpcinfo(0)+"::OnTimeUp";
close;
}else{
mes "Wrong.";
close2;
atcommand "@jail "+strcharinfo(0);
}
end;
}

thx gonna try it :D

Link to comment
Share on other sites

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.

×
×
  • Create New...