Request Random item

taifun

Dedicated Member
Dedicated Member
Jan 7, 2012
461
11
44
Romania
Hello...

Does any one know how can i make from 1item(ItemBox) to drop 1 random item?

Or something like that: go to npc with ItemBox and get 1random item of a item list

Any help with the script? thx
 

Mukai

LOMCN Veteran
Veteran
Feb 15, 2008
383
0
63
Tenerife
[@Make]
#if
checkitem BlameCard 5
#act
take BlameCard 5
goto @givemoney
#elsesay
{FCOLOR/1}[{FCOLOR/12} ~ y las BlameCard? y el dinro? ~ {FCOLOR/1}]{FCOLOR/12} \\


[@givemoney]
#if
random 2
#say
{FCOLOR/1}[{FCOLOR/12} ~ Disfruta el contenido de la carta ~ {FCOLOR/1}]{FCOLOR/12} \\
#act
give BenedictionOil 1
#elseact
goto @gold30W

[@gold30W]
#if
random 2
#say
{FCOLOR/1}[{FCOLOR/12} ~ Disfruta el contenido de la carta ~ {FCOLOR/1}]{FCOLOR/12} \\
#act
give BenedictionOil 2
#elseact
goto @gold50W

[@gold50W]
#if
random 2
#say
{FCOLOR/1}[{FCOLOR/12} ~ Disfruta el contenido de la carta ~ {FCOLOR/1}]{FCOLOR/12} \\
#act
give BenedictionOil 3
#elseact
goto @gold80W

[@gold80W]
#if
random 2
#say
{FCOLOR/1}[{FCOLOR/12} ~ Disfruta el contenido de la carta ~ {FCOLOR/1}]{FCOLOR/12} \\
#act
give BenedictionOil 4
#elseact
goto @gold100W


[@gold100W]
#if
random 2
#say
{FCOLOR/1}[{FCOLOR/12} ~ Disfruta el contenido de la carta ~ {FCOLOR/1}]{FCOLOR/12} \\
#act
give BenedictionOil 5
#elseact
goto @gold100W21


[@gold100W21]
#if
random 2
#say
{FCOLOR/1}[{FCOLOR/12} ~ Disfruta el contenido de la carta ~ {FCOLOR/1}]{FCOLOR/12} \\
#act
give Medicine 6
#elseact
give Timber 1
#say
{FCOLOR/1}[{FCOLOR/12} ~ Es solo para ti! ~ {FCOLOR/1}]{FCOLOR/12} \\
<Salir/@exit>\\
 
Upvote 0