sub alchemy(type,Qreag,MY_NUMBER)
if (uo.count(type) >= Qreag) then
if (uo.count(emptyB) >=1) then
if (not uo.waiting()) then
uo.waitmenu("Pozioni","(MY_NUMBER)")
end if
uo.usetype(type)
uo.deletejournal()
while (not uo.injournal("You put the") and not uo.injournal(uo.getname('self')+": *You toss the failed mixture from the mortar*"))
wait(500)
wend
else
uo.print("no bottle")
end if
else
uo.print("no reag")
end if
end sub
sub alchemy(type,Qreag,MY_NUMBER)
if (uo.count(type) >= Qreag) then
if (uo.count(emptyB) >=1) then
if (not uo.waiting()) then
uo.waitmenu("Pozioni",(MY_NUMBER))
end if
uo.usetype(type)
uo.deletejournal()
while (not uo.injournal("You put the") and not uo.injournal(uo.getname('self')+": *You toss the failed mixture from the mortar*"))
wait(500)
wend
else
uo.print("no bottle")
end if
else
uo.print("no reag")
end if
end sub
Last edited by Scripts Writer on 2008-08-30 19:47:55, edited 1 time in total.
sub alchemy(type,Qreag,MY_NUMBER)
if (uo.count(type) >= Qreag) then
if (uo.count(emptyB) >=1) then
if (not uo.waiting()) then
uo.waitmenu("Pozioni",MY_NUMBER)
end if
uo.usetype(type)
uo.deletejournal()
while (not uo.injournal("You put the") and not uo.injournal(uo.getname('self')+": *You toss the failed mixture from the mortar*"))
wait(500)
wend
else
uo.print("no bottle")
end if
else
uo.print("no reag")
end if
end sub
sub crafta_gh()
alchemy(0x0F85,6,"6")
end sub
?
I think it'd craft potion, which has "6" in text string.
Something like this:
YokoInjection CodeSweeper Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom