Jump to content
  • 0

Help with my NPC Costume Headgear


Hideki

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   1
  • Joined:  10/06/12
  • Last Seen:  

Hello, who can help me with this script?
I need to ask 200 Valor Bagde Item ID#7829
Please

 

prontera,144,193,4    script    CostumeIT#1    864,{
    mes "[Costume-IT]";
    mes "Hola y bienvenido al servicio de Costume-IT.";
    mes "Aqui puede convertir su Hat comun y corriente en Costume Item.";
    next;
    mes "[Costume-IT]";
    mes "Por favor, Indique el Hat que quiere convertir.";
    mes "^FF0000Recuerde, que toda carta y refine seran retiradas^000000.";
    next;

    setarray .@Position$[1],"Top","Mid","Low";
    setarray .@Position[1],     1,    9,   10;

    set .@Menu$,"";
    for( set .@i, 1; .@i < 4; set .@i, .@i + 1 )
    {
        if( getequipisequiped(.@Position[.@i]) )
            set .@Menu$, .@Menu$ + .@Position$[.@i] + "-" + "[" + getequipname(.@Position[.@i]) + "]";

        set .@Menu$, .@Menu$ + ":";
    }

    set .@Part, .@Position[ select(.@Menu$) ];
    if( !getequipisequiped(.@Part) )
    {
        mes "[Costume-IT]";
        mes "No llevas nada ahí ....";
        close;
    }

    mes "[Costume-IT]";
    mes "Quieres tu Costume " + getitemname(getequipid(.@Part)) + "?";
    next;
    if( select("Si, continue:No, lo siento.") == 2 )
    {
        mes "[Costume-IT]";
        mes "¿Necesitas algo de tiempo para pensar en ello, ¿eh?";
        mes "Está bien, lo entiendo.";
        close;
    }
    
    costume .@Part; // Convert the Headgear

    mes "[Costume-IT]";
    mes "Hecho, disfrute de su Costume Headgear.";
    close;
} 

 

 

Edited by Hideki
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.

×
×
  • Create New...