Jump to content

Erba

Members
  • Posts

    550
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Erba

  1. Sorry for sending you a private message sir!:|

    ill post my script by tomorrow i forgot to bring my laptop with me^^! sorry for the inconvenience..

    i tried to make a script with it..
    then post it here and we can help you with it

    //===== rAthena Script =======================================
    //= GuildBaseWarper
    //===== By ===================================================
    //= kvin
    //===== Version ==============================================
    //= 0.1
    //===== Compatible With ======================================
    //= rAthena
    //===== Description ==========================================
    //= guildbase warper with password
    //===== Comments =============================================
    //=
    //============================================================
    
    new_1-4,130,178,6 script GuildBaseWarper 777,{
    
    set .@name$,"[GuildBase Warper]";
    
    mes .@name$;
    mes "Hi "+strcharinfo(0)+",";
    mes "Do you want to go in your Guild Base?";
    next;
    menu "Blueprint's Base",P_insert,"Yakuza's Base",P_insert1,"No",-;
    close;
    
    P_insert:
    sc_start sc_berserk, 1000000000, 1;
    mes "[GuildBase warper]";
    mes "Please enter your guild password";
    next;
    input #insertgpw$;
    if (blueprint == blueprint) goto P_pass;
    mes "[GuildBase warper]";
    mes "Invalid password. Try again.";
    next;
    input #insertgpw$;
    if (blueprint == blueprint) goto P_pass;
    mes "[GuildBase warper]";
    mes "Invalid password. Try again.";
    next;
    input #insertgpw$;
    if (blueprint == blueprint) goto P_pass;
    mes "[GuildBase warper]";
    mes "Invalid password. Try again.";
    next;
    input #insertgpw$;
    if (blueprint == blueprint) goto P_pass;
    mes "[GuildBase warper]";
    atcommand "@kick "+strcharinfo(0);
    close;
    
    P_insert1:
    sc_start sc_berserk, 1000000000, 1;
    mes "[GuildBase warper]";
    mes "Please enter your guild password";
    next;
    input .@guild_password$;
    if (password == yakuza) goto P_passyakuza;
    mes "[GuildBase warper]";
    mes "Invalid password. Try again.";
    next;
    input .@guild_password$;
    if (password == yakuza) goto P_passyakuza;
    mes "[GuildBase warper]";
    mes "Invalid password. Try again.";
    next;
    input .@guild_password$;
    if (password == yakuza) goto P_passyakuza;
    mes "[GuildBase warper]";
    mes "Invalid password. Try again.";
    next;
    input password;
    if (password == yakuza) goto P_passyakuza;
    mes "[GuildBase warper]";
    atcommand "@broadcast "+strcharinfo(0);
    end;
    
    P_pass:
    sc_end sc_berserk;
    next;
    warp "lou_fild01",180,180;
    close;
    
    P_passyakuza:
    sc_end sc_berserk;
    next;
    warp "prt_fild08",50,50;
    close;
    }
    

    its kinda funny but this is the first npc that i created.. ^^

  2. can anyone help me to fix my warper..

    i make an NPC wherein the Guild's member will'be able to warp in their guildbase map with a password..

    i tried to make a script with it.. it is working but the problem is that , it doesnt check if it is a correct password or incorrect one, it just autowarp the member in the desired map whenever i enter the password correctly and even uncorrectly!..

    ty for the help..

    sorry for my bad english

×
×
  • Create New...