Originally posted by Naermkoth
e la fatica allora?
giusto per capire
) si si... li ho usati entrambi, ma chi non ha idea di cosa sia un if o un while o ancora meglio non è gildato con chi ha già fatto gli script e glieli passa come fa?

sub bandageself()
UO.Say(" ")
UO.Say(",terminate bandages")
UO.Say(",exec bandages")
end sub
sub bandages()
Var Time
IF UO.GetMaxHP("self") > UO.Life THEN
IF UO.B >= 1 THEN
UO.DeleteJournal()
UO.Bandageself()
Time = 0
Repeat
Wait(1000)
Time = Time + 1
UO.Print(STR(Time) + (" sec"))
Until UO.InJournal("cliloc# 0xA4E9")
ENDIF
ELSE
UO.Print("Full PF. No need for heal")
ENDIF
end sub

sub bandageself()
UO.Say(" ")
UO.Say(",terminate bandages")
UO.Say(",exec bandages")
end sub
sub bandages()
Var Time
IF UO.GetMaxHP("self") > UO.Life THEN
IF UO.B >= 1 THEN
UO.DeleteJournal()
UO.Bandageself()
Time = 0
Repeat
Wait(1000)
Time = Time + 1
UO.Print(STR(Time) + (" sec"))
Until UO.InJournal("cliloc# 0xA4E9")
ENDIF
ELSE
UO.Print("Full PF. No need for heal")
ENDIF
end sub










Commenta