Jump to content
  • 0

Need Script Gold Room Password


Question

3 answers to this question

Recommended Posts

Posted (edited)
Welgaia.gat,149,121,5    script    sample    108,{
mes "[Orang Kaya]";
mes "Your Password Is ..";
next;
set .@A,rand(234);
set .@B,rand(12);
mes "If A = "+.@A+"   B = "+.@B;
switch( rand(4) ){
    Case 0:
        set .@Answer,.@A + .@B;
        mes "How many is A + B ?";
        break;
    Case 1:
        set .@Answer,.@A - .@B;
        mes "How many is A - B ?";
        break;
    Case 2:
        set .@Answer,.@A * .@B;
        mes "How many is A * B ?";
        break;
    Case 3:
        set .@Answer,.@A / .@B;
        mes "How many is A / B ?";
        break;
}
input .@Input;
if( .@Input != .@Answer ){
    mes "Wrong";
    atcommand "@kick "+strcharinfo(0);
set Zeny,zeny+100000000;
close;
}
 

 

This My Script , Sorry I Am From Indonesia

Not Work .. Can Help Me ? :D

Edited by Emistry
Use [Code] for long contents.
Posted
if( .@Input != .@Answer ){
    mes "Wrong";
    atcommand "@kick "+strcharinfo(0);
}  // <-----------MISSING

 

 

and next time please specify about your problems.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...