Jump to content

Question

Posted (edited)

Hello, there when I enter the gold room my zeny will not reduce and even without my zeny I can get inside the gold room thanks

         if (.@txt$ != .@str$) {
            mes "[ ^C6A518Bot Checker^000000 ]";
            mes "You have not inputted Correct.";
            mes "Captcha";
            next;
            atcommand "@kick "+ strcharinfo(0);
            close2;
            cutin "",255;
            end;
        }
        if (gettimetick(0) < #GOLDROOM_CD) {
            mes "[ ^C6A518Gold Room Assistant^000000 ]";
            mes "You can only re-enter after "+(#GOLDROOM_CD - gettimetick(0))+" seconds.";
            close2;
            cutin "",255;
            end;
        }
        else if ( Zeny < .zeny_cost ) {
            mes "[ ^C6A518Gold Room Assistant^000000 ]";
            mes "Sorry, but you can't enter the room.";
            close2;
            cutin "",255;
            end;
        }
        else {
            #GOLDROOM_CD = gettimetick(0) + (12 * 60 * 60); // 12 hours cooldown.
            Zeny -= .zeny_cost;
            deltimer strnpcinfo(3)+"::OnKick";
            addtimer (300 * 60 * 1000), strnpcinfo(3)+"::OnKick";
            warp "ordeal_1-2",151,154;
        }
        close;

 

Edited by Mael
Use a codebox

2 answers to this question

Recommended Posts

  • 0
Posted
  if (.@txt$ != .@str$) {
            mes "[ ^C6A518Bot Checker^000000 ]";
            mes "You have not inputted Correct.";
            mes "Captcha";
            next;
            atcommand "@kick "+ strcharinfo(0);
            close2;
            cutin "",255;
            end;
        }
        if (gettimetick(0) < #GOLDROOM_CD) {
            mes "[ ^C6A518Gold Room Assistant^000000 ]";
            mes "You can only re-enter after "+(#GOLDROOM_CD - gettimetick(0))+" seconds.";
            close2;
            cutin "",255;
            end;
        }else {
            #GOLDROOM_CD = gettimetick(0) + (12 * 60 * 60); // 12 hours cooldown.
            deltimer strnpcinfo(3)+"::OnKick";
            addtimer (300 * 60 * 1000), strnpcinfo(3)+"::OnKick";
            warp "ordeal_1-2",151,154;
        }
        close;

Here

  • 0
Posted
11 minutes ago, Cookie-rae said:

  if (.@txt$ != .@str$) {
            mes "[ ^C6A518Bot Checker^000000 ]";
            mes "You have not inputted Correct.";
            mes "Captcha";
            next;
            atcommand "@kick "+ strcharinfo(0);
            close2;
            cutin "",255;
            end;
        }
        if (gettimetick(0) < #GOLDROOM_CD) {
            mes "[ ^C6A518Gold Room Assistant^000000 ]";
            mes "You can only re-enter after "+(#GOLDROOM_CD - gettimetick(0))+" seconds.";
            close2;
            cutin "",255;
            end;
        }else {
            #GOLDROOM_CD = gettimetick(0) + (12 * 60 * 60); // 12 hours cooldown.
            deltimer strnpcinfo(3)+"::OnKick";
            addtimer (300 * 60 * 1000), strnpcinfo(3)+"::OnKick";
            warp "ordeal_1-2",151,154;
        }
        close;

Here

Thanks bro solved

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...