polong Posted August 6, 2021 Posted August 6, 2021 I use this Lotti Girl script but this script don't have announcement when get item with low chance (such as < 5%) and i want to have the announcement so other player can read it anyone can help me? thank you in advance lotti.txt Quote
0 Emistry Posted August 24, 2021 Posted August 24, 2021 for ( .@i = 0; .@i < .itemsize[.@r]; ++.@i ) { getitem .@itemid[.@i], .@itemamount[.@i]; if (getd( ".p"+ .@r +"[0]" ) < 10) announce "<Lotti> "+strcharinfo(0)+" obtained "+.@itemamount[.@i]+"x "+getitemname(.@itemid[.@i]), bc_all; // <----- THIS LINE } only announce 10% or below. for ( .@i = 0; .@i < .itemsize[.@r]; ++.@i ) { getitem .@itemid[.@i], .@itemamount[.@i]; announce "<Lotti> "+strcharinfo(0)+" obtained "+.@itemamount[.@i]+"x "+getitemname(.@itemid[.@i]), bc_all; // <----- THIS LINE } announce all items 1 Quote
0 Ronald Posted August 17, 2021 Posted August 17, 2021 On 8/7/2021 at 12:57 AM, polong said: I use this Lotti Girl script but this script don't have announcement when get item with low chance (such as < 5%) and i want to have the announcement so other player can read it anyone can help me? thank you in advance lotti.txt 6.24 kB · 8 downloads You can just put announce after or before the getitem part. Quote
0 polong Posted August 18, 2021 Author Posted August 18, 2021 yes, i know to put it near getitem part but i don't know how to make it announce with the item name the player get because the items in the array and if I want to make item with chance 10% and below get an announcement how do i put the script? thanks thank you, it is work Quote
Question
polong
I use this Lotti Girl script
but this script don't have announcement when get item with low chance (such as < 5%)
and i want to have the announcement so other player can read it
anyone can help me?
thank you in advance
lotti.txt
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.