Jump to content
  • 0

Lotti announcement (specific item)


Question

Posted

Hi guys im here again :))

I have tried and tried but still i can't make it correctly as what i need,.

 

I have here a working LOTTI SCRIPT, can you help me that it ONLY ANNOUNCES the rare item that obtain by a player. not all items. just the RARE ONES.

Thanks in advance :) :)

cokz_Lotti_Girl.txt

2 answers to this question

Recommended Posts

Posted

Hi guys im here again :))

I have tried and tried but still i can't make it correctly as what i need,.

 

I have here a working LOTTI SCRIPT, can you help me that it ONLY ANNOUNCES the rare item that obtain by a player. not all items. just the RARE ONES.

Thanks in advance :) :)

 

Hi. Download the Lotti Gurl Script by Anakid here:

http://rathena.org/board/topic/83017-pro-lotti-girl-refine-master/

 

Make sure you edited the .@Total variable and the required array of course.

    set .@Total,12;
    
    //<%>,<ItemID>,<Amount>
    setarray .@P1[0],        5,    6234,1;            //+7 Armor Refine Ticket
    setarray .@P2[0],        5,    6230,1;            //+7 Weapon Refine Ticket
    setarray .@P3[0],        10,    6235,1;            //+6 Armor Refine Ticket
    setarray .@P4[0],        10,    6231,1;            //+6 Weapon Refine Ticket
    setarray .@P5[0],        20,    12202,10;        //Steamed Tongue
    setarray .@P6[0],        20,    12203,10;       //Steamed Scorpion
    setarray .@P7[0],        20,    12204,10;       //Dragon Breath Cocktail
    setarray .@P8[0],        20,    12205,10;       //Hwergelmir's Tonic
    setarray .@P9[0],        20,    12206,10;       //Cooked Nine Tail's Tails
    setarray .@P10[0],        20,    12207,10;          //Stew Of Immortality
    setarray .@P11[0],        70,    663,150;          //Korean Rice Cake x 150
    setarray .@P12[0],        90,    663,100;          //Korean Rice Cake x 100
    setarray .@Default[0],    663,50;              //Korean Rice Cake x 50

 

This line of code here states that only items at .@P1[0] ~ .@P4[0] will be broadcasted if the player luckily gets the reward.

    if(1<=.@gz&&.@gz<=4)
    announce "Congratulations! "+strcharinfo(0)+" just received "+getitemname(.@k[0])+" x "+.@k[1]+" from Lotti Girl (prontera 139 173)!",0;
    specialeffect2 248;
    close;
Posted

Currently testing it, well just wait if it announces

 

Anyway thanks for the quick reply sir Boom :) :)


 

Hi guys im here again :))

I have tried and tried but still i can't make it correctly as what i need,.

 

I have here a working LOTTI SCRIPT, can you help me that it ONLY ANNOUNCES the rare item that obtain by a player. not all items. just the RARE ONES.

Thanks in advance :) :)

 

Hi. Download the Lotti Gurl Script by Anakid here:

http://rathena.org/board/topic/83017-pro-lotti-girl-refine-master/

 

Make sure you edited the .@Total variable and the required array of course.

    set .@Total,12;
    
    //<%>,<ItemID>,<Amount>
    setarray .@P1[0],        5,    6234,1;            //+7 Armor Refine Ticket
    setarray .@P2[0],        5,    6230,1;            //+7 Weapon Refine Ticket
    setarray .@P3[0],        10,    6235,1;            //+6 Armor Refine Ticket
    setarray .@P4[0],        10,    6231,1;            //+6 Weapon Refine Ticket
    setarray .@P5[0],        20,    12202,10;        //Steamed Tongue
    setarray .@P6[0],        20,    12203,10;       //Steamed Scorpion
    setarray .@P7[0],        20,    12204,10;       //Dragon Breath Cocktail
    setarray .@P8[0],        20,    12205,10;       //Hwergelmir's Tonic
    setarray .@P9[0],        20,    12206,10;       //Cooked Nine Tail's Tails
    setarray .@P10[0],        20,    12207,10;          //Stew Of Immortality
    setarray .@P11[0],        70,    663,150;          //Korean Rice Cake x 150
    setarray .@P12[0],        90,    663,100;          //Korean Rice Cake x 100
    setarray .@Default[0],    663,50;              //Korean Rice Cake x 50

This line of code here states that only items at .@P1[0] ~ .@P4[0] will be broadcasted if the player luckily gets the reward.

    if(1<=.@gz&&.@gz<=4)
    announce "Congratulations! "+strcharinfo(0)+" just received "+getitemname(.@k[0])+" x "+.@k[1]+" from Lotti Girl (prontera 139 173)!",0;
    specialeffect2 248;
    close;

Its working sir. Thanks a lot ! /no1 /no1 /no1

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