polong Posted August 6, 2021 Group: Members Topic Count: 16 Topics Per Day: 0.01 Content Count: 32 Reputation: 0 Joined: 03/14/19 Last Seen: May 7 Share 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 Link to comment Share on other sites More sharing options...
0 Emistry Posted August 24, 2021 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2372 Joined: 10/28/11 Last Seen: 18 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 Ronald Posted August 17, 2021 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 250 Reputation: 21 Joined: 06/04/14 Last Seen: November 17, 2024 Share 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 Link to comment Share on other sites More sharing options...
0 polong Posted August 18, 2021 Group: Members Topic Count: 16 Topics Per Day: 0.01 Content Count: 32 Reputation: 0 Joined: 03/14/19 Last Seen: May 7 Author Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.