- script Checker -1,{
OnNPCKillEvent:
set @name$,strcharinfo(0);
set @mobskilled, @mobskilled + 1;
if((@mobskilled >= 100) || (#check == 1)){
set #check,1;
atcommand "@option 2";
sc_start SC_BERSERK,10000000,1;
mes "[Checker]";
mes "Please Input the ^FF0000RED NUMBERS ^0000FFinside the Input Box...";
next;
set .Code,rand(1000,99999);
mes "^0000FF"+rand(1,9999)+"^FF0000"+.Code+"^0000FF"+rand(1,9999)+"^000000";
input @Code;
if( @Code != .Code ){
mes "Wrong";
sc_end sc_berserk;
atcommand "@option 0";
atcommand "@load";
atcommand "@alootid";
atcommand "@autoloot 0";
atcommand "@mute 1 "+strcharinfo(0);
} else {
atcommand "@option 0";
sc_end SC_BERSERK;
set @mobskilled, 0;
set #check,0;
percentheal 100,100;
}
close;
}
end;
}
ask :
1. how to set in certain map only?
2. why if wrong answer , and backto savepoint the police ask about red code ( number ) again?
3. how to make a case example :
- 1x wrong = mute only 1 minutes
- 2x wrong = mute 30minutes
- 3x= wrong = mute 1 hours~
and back to first case again if already get the final case...
this case always count everytime...so after wrong at first time..get case 1 , and if wrong again at next time get case 2 and same think at case 3~ after case tree go back to case 1 again..
Question
RyokoMVP
ask :
1. how to set in certain map only?
2. why if wrong answer , and backto savepoint the police ask about red code ( number ) again?
3. how to make a case example :
- 1x wrong = mute only 1 minutes
- 2x wrong = mute 30minutes
- 3x= wrong = mute 1 hours~
and back to first case again if already get the final case...
this case always count everytime...so after wrong at first time..get case 1 , and if wrong again at next time get case 2 and same think at case 3~ after case tree go back to case 1 again..
sorry for bad english ~_~
Edited by RyokoMVP4 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.