viewing paste Unknown #50541 | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
prontera,146,155,3  script  Martin#SBB  102,{
    setarray .@item_ids, 501, 502, 503, 504, 505;
    setarray .@item_qty,  10,  21,  75,  83, 100;
    .@size_ids = getarraysize(.@item_ids);
    .@size_qty = getarraysize(.@item_qty);
    for (.@i = 0; .@i < .@size_ids; .@i++)
        if (countitem(.@item_ids[.@i]) < .@item_qty[.@i])
            .@not_enought = 1;
    
    mes .@npc_name$ = "[Martin]";
    if (.@size_ids != .@size_qty) {
        mes "Item list required isn't matched with amount list";
        mes "tell game staff to fix it.";
        close;
    }
    if (!.@not_enought) {
        mes "Well you were fast!";
        next;
        mes .@npc_name$;
        mes "Talk to Herman, he will tell you what you need to do.";
        SPECIALBLOODYBRANCH = 1;
        close;
    }
    mes callfunc("F_Hi")+" "+strcharinfo(0);
    .@stage = SPECIALBLOODYBRANCH;
    switch (.@stage) {
    case 0: break;
    default: 
        mes (!rand(1) ? "What are you doing here?" : "Long time no see, How are you?");
        close;
    }
    mes "Do you have some bussines with me?";
    select("Regarding Special Bloody Branch");
    clear;
    mes .@npc_name$;
    mes "I see.. you need to bring me some item for an exchange of information.";
    select("Tell me what item you want?");
    clear;
    mes .@npc_name$;
    mes "Bring me item on the list bellow:";
    for (.@i = 0; .@i < .@size_ids; .@i++)
        mes (.@i+1)+" - "+.@item_qty[.@i]+"x "+.@item_ids[.@i];
    close;
}
 
morocc,78,185,5 script  Herman#SBB  102,{
    setarray .@item_ids, 501, 502, 503, 504, 505;
    setarray .@item_qty,  10,  21,  75,  83, 100;
    .@size_ids = getarraysize(.@item_ids);
    .@size_qty = getarraysize(.@item_qty);
    for (.@i = 0; .@i < .@size_ids; .@i++)
        if (countitem(.@item_ids[.@i]) < .@item_qty[.@i])
            .@not_enought = 1;
    
    mes .@npc_name$ = "[Herman]";
    if (.@size_ids != .@size_qty) {
        mes "Item list required isn't matched with amount list";
        mes "tell game staff to fix it.";
        close;
    }
    if (!.@not_enought) {
        mes "Well you were fast!";
        next;
        mes .@npc_name$;
        mes "Talk to Michele, he will tell you what you need to do next.";
        SPECIALBLOODYBRANCH = 2;
        close;
    }
    mes callfunc("F_Hi")+" "+strcharinfo(0);
    .@stage = SPECIALBLOODYBRANCH;
    switch (.@stage) {
    case 1: break;
    default: 
        mes (!rand(1) ? "What are you doing here?" : "Long time no see, How are you?");
        close;
    }
    mes "You have come here because Martin tell you to?";
    select("About Special Bloody Branch");
    clear;
    mes .@npc_name$;
    mes "I see.. you need to bring me some item for an exchange of information.";
    select("Tell me what item you want?");
    clear;
    mes .@npc_name$;
    mes "Bring me item on the list bellow:";
    for (.@i = 0; .@i < .@size_ids; .@i++)
        mes (.@i+1)+" - "+.@item_qty[.@i]+"x "+.@item_ids[.@i];
    close;
}
 
aldebaran,161,46,3  script  Michele#SBB 102,{
    setarray .@item_ids, 501, 502, 503, 504, 505;
    setarray .@item_qty,  10,  21,  75,  83, 100;
    .@size_ids = getarraysize(.@item_ids);
    .@size_qty = getarraysize(.@item_qty);
    for (.@i = 0; .@i < .@size_ids; .@i++)
        if (countitem(.@item_ids[.@i]) < .@item_qty[.@i])
            .@not_enought = 1;
    
    mes .@npc_name$ = "[Michele]";
    if (.@size_ids != .@size_qty) {
        mes "Item list required isn't matched with amount list";
        mes "tell game staff to fix it.";
        close;
    }
    if (!.@not_enought) {
        mes "Well you were fast!";
        next;
        mes .@npc_name$;
        mes "Talk to Artezy, he will tell you what you need to do next.";
        SPECIALBLOODYBRANCH = 3;
        close;
    }
    mes callfunc("F_Hi")+" "+strcharinfo(0);
    .@stage = SPECIALBLOODYBRANCH;
    switch (.@stage) {
    case 2: break;
    default: 
        mes (!rand(1) ? "What are you doing here?" : "Long time no see, How are you?");
        close;
    }
    mes "You have come here because Herman tell you to?";
    select("How to make Special Bloody Branch");
    clear;
    mes .@npc_name$;
    mes "I will tell you, but you need to bring me some item for an exchange of information.";
    select("Tell me what item you want?");
    clear;
    mes .@npc_name$;
    mes "Bring me item on the list bellow:";
    for (.@i = 0; .@i < .@size_ids; .@i++)
        mes (.@i+1)+" - "+.@item_qty[.@i]+"x "+.@item_ids[.@i];
    close;
}
 
alberta,60,173,3    script  Artezy#SBB  102,{
    setarray .@item_ids, 501, 502, 503, 504, 505;
    setarray .@item_qty,  10,  21,  75,  83, 100;
    .@size_ids = getarraysize(.@item_ids);
    .@size_qty = getarraysize(.@item_qty);
    for (.@i = 0; .@i < .@size_ids; .@i++)
        if (countitem(.@item_ids[.@i]) < .@item_qty[.@i])
            .@not_enought = 1;
    
    mes .@npc_name$ = "[Artezy]";
    if (.@size_ids != .@size_qty) {
        mes "Item list required isn't matched with amount list";
        mes "tell game staff to fix it.";
        close;
    }
    if (!.@not_enought) {
        if (SPECIALBLOODYBRANCH == 4) {
            mes "Well you are here again";
            next;
            select("Make Special Bloody Branch");
        } else {
            mes "Well you were fast!";
            next;
            mes .@npc_name$;
            mes "Talk to Artezy, he will tell you what you need to do next.";
            SPECIALBLOODYBRANCH = 4;
        }
        for (.@i = 0; .@i < .@size_ids; .@i++)
            delitem .@item_ids[.@i], .@item_qty[.@i];
        getitem 30005 , 1;
        close;;
    }
    mes callfunc("F_Hi")+" "+strcharinfo(0);
    .@stage = SPECIALBLOODYBRANCH;
    switch (.@stage) {
    case 2: break;
    default: 
        mes (!rand(1) ? "What are you doing here?" : "Long time no see, How are you?");
        close;
    }
    mes "You have come here because Herman tell you to?";
    select("How to make Special Bloody Branch");
    clear;
    mes .@npc_name$;
    mes "I will tell you, but you need to bring me some item for an exchange of information.";
    select("Tell me what item you want?");
    clear;
    mes .@npc_name$;
    mes "Bring me item on the list bellow:";
    for (.@i = 0; .@i < .@size_ids; .@i++)
        mes (.@i+1)+" - "+.@item_qty[.@i]+"x "+.@item_ids[.@i];
    close;
}
Viewed 852 times, submitted by kazeharuku.