Yasunari Ishibashi Posted June 19, 2012 Share Posted June 19, 2012 if you could give examples of security npc script? function so the script provides code that must be answered before entering a particular room. Quote Link to comment Share on other sites More sharing options...
DarkIrata Posted June 19, 2012 Share Posted June 19, 2012 a npc with a input or a npc with a question like a captcha? Quote Link to comment Share on other sites More sharing options...
Euphy Posted June 19, 2012 Share Posted June 19, 2012 In the simplest form, you could write something like this: set [email protected]$,""; for(set [email protected],0; [email protected]<5; set [email protected],[email protected]+1) // Increase "5" for more digits set [email protected]$, [email protected]$+rand(10); mes "Code: "[email protected]$; input [email protected]; if ([email protected] != atoi([email protected]$)) close; // script resumes Of course, people have gone way above and beyond with ASCII images and such, but that requires a lot more work~ Quote Link to comment Share on other sites More sharing options...
Yasunari Ishibashi Posted June 20, 2012 Author Share Posted June 20, 2012 whether the security code can be made random letters & numbers? and given a color to be answered is red instead of blue. whether it could help me make this script? Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 20, 2012 Share Posted June 20, 2012 (edited) try this http://upaste.me/052d5070412a9c6 refer post#9 Edited November 8, 2012 by Emistry Quote Link to comment Share on other sites More sharing options...
Famous Posted August 2, 2012 Share Posted August 2, 2012 how to make this script in a certain map? example prontera map can u make one? set .@code$,""; for(set .@i,0; .@i<5; set .@i,.@i+1) // Increase "5" for more digits set .@code$, .@code$+rand(10); mes "Code: "+.@code$; input .@input; if (.@input != atoi(.@code$)) close; // script resumes Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 2, 2012 Share Posted August 2, 2012 OnPCLoadMapEvent: if( strcharinfo(3) == "prontera" ){ .........blablablablabl................. } end; prontera mapflag loadevent Quote Link to comment Share on other sites More sharing options...
Shogun Posted November 8, 2012 Share Posted November 8, 2012 try this http://upaste.me/052d5070412a9c6 Whats the code to access? >.< Quote Link to comment Share on other sites More sharing options...
Emistry Posted November 8, 2012 Share Posted November 8, 2012 try this http://upaste.me/052d5070412a9c6 Whats the code to access? >.< there is a mistake in the return statement.. >.< try this.. http://pastebin.com/raw.php?i=5itqsMvp Quote Link to comment Share on other sites More sharing options...
Shogun Posted November 8, 2012 Share Posted November 8, 2012 Working! Script completed. Tq,Emistry. Quote Link to comment Share on other sites More sharing options...
amol00700 Posted February 16, 2013 Share Posted February 16, 2013 how to insert this script ??? Quote Link to comment Share on other sites More sharing options...
Capuche Posted February 17, 2013 Share Posted February 17, 2013 Basic_Scripting Quote Link to comment Share on other sites More sharing options...
if you could give examples of security npc script? function so the script provides code that must be answered before entering a particular room.
Link to comment
Share on other sites