I got it, but i have problems with writing full code from begin to end. :-[
import sys
from com.l2scoria.gameserver.model.quest import State
from com.l2scoria.gameserver.model.quest import QuestState
from com.l2scoria.gameserver.model.quest.jython import QuestJython as JQuest
qn = "166_DarkMass"
class Quest (JQuest) :
def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)
if st.getPlayer().getLevel() < 61 :
htmltext = "<html><head><body>Text<br></body></html>"
else:
QUEST = Quest(166,qn,"Dark Mass")
CREATED = State('Start', QUEST)
STARTING = State('Starting', QUEST)
STARTED = State('Started', QUEST)
COMPLETED = State('Completed', QUEST)
QUEST.setInitialState(CREATED)
QUEST.addStartNpc(30130)
QUEST.addTalkId(30130)
I missed sotmething? Btw It's Interlude.