can someone know where to insert this codes for goldroom
case 1:
mes "[ ^C6A518Gold Room Assistant^000000 ]";
mes "Sorry to disturb you,but I need to";
mes "check if you're a bot.";
mes "Please type the correct captcha:";
mes "FEE: ^FF0000"+ F_InsertComma(.zeny) +" Zeny^000000";
for (.@i = 0; .@i < .strLen; ++.@i)
.@str$ += charat(.charSet$, rand(0, getstrlen(.charSet$)));
mes "Captcha: ^C6A518"+ .@str$ +"^000000";
next;
input .@txt$;
if (.@txt$ != .@str$) {
mes "You have not inputted Correct.";
mes "Captcha";
next;
atcommand "@kick "+ strcharinfo(0);
end;
}
if (Zeny < .zeny) {
mes "Sorry, but you can't enter the room.";
close;
}
Zeny -= .zeny;
warp "ordeal_1-2",151,154;
end;
OnInit:
.charSet$ = "0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ";
.strLen = 4; // Sets how many characters for the generated confirmation code.
.zeny = 200000; // Entrance FEE for the room
end;
Question
kalabasa
wassup!
can someone know where to insert this codes for goldroom
case 1: mes "[ ^C6A518Gold Room Assistant^000000 ]"; mes "Sorry to disturb you,but I need to"; mes "check if you're a bot."; mes "Please type the correct captcha:"; mes "FEE: ^FF0000"+ F_InsertComma(.zeny) +" Zeny^000000"; for (.@i = 0; .@i < .strLen; ++.@i) .@str$ += charat(.charSet$, rand(0, getstrlen(.charSet$))); mes "Captcha: ^C6A518"+ .@str$ +"^000000"; next; input .@txt$; if (.@txt$ != .@str$) { mes "You have not inputted Correct."; mes "Captcha"; next; atcommand "@kick "+ strcharinfo(0); end; } if (Zeny < .zeny) { mes "Sorry, but you can't enter the room."; close; } Zeny -= .zeny; warp "ordeal_1-2",151,154; end; OnInit: .charSet$ = "0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ"; .strLen = 4; // Sets how many characters for the generated confirmation code. .zeny = 200000; // Entrance FEE for the room end;
im currently using this goldroom
https://github.com/deadlybrothers/script/blob/master/goldroom.txt
thank you!!
Link to comment
Share on other sites
6 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.