Kann dir da leider nicht helfen, aber das wäre ja fast das gleiche Prinzip:
Code:
if get_time ( ) > pc . getqf ( "duration" ) then
say ( "Stallbursche:" )
say ( "Wenn du ein Kaumpfgaul haben wilst" )
say ( "bring mir einfach 10 Pferdemedaillen" )
say ( "und du bekommst dein Kampfgaul sofort" )
say ("")
say ("")
say ( "Du hast 10 Pferdemedaillen dabei" )
say ( "und willst jetzt dein Kampfgaul?" )
local s = select ( "Ja." , "Nein." )
if 2 = s then
return
end
target . delete ( "__TARGET__" )
local horse medal = pc . count_item ( 50050 )
if horse medal < 10
say ( "Stallbursche:" )
say ( "Du hast nicht 10 Pferdemedaillen" )
say ( "" )
return
end
if horse medal > 10
say ( "Stallbursche:" )
say ( "Danke." )
say ( "Hier ist dein" )
say ( "Kampfgaul!" )
pc . remove_item ( 50050 , 10 )
elseif horse.get_level()>=11 then
end
Desweiteren bitte diesen Thread nutzen