PHP Code:
quest servervideos begin
state start begin
when Item.use begin
say("Du willst also unsere neusten Videos sehen?")
local s = select("Ja","Nein")
if s == 1 then
say("OK dan wähle aus welche Art du von Videos sehen möchtest!")
local art = select("Servervideos","Events","Sonstiges","Neue Maps","Abbrechen")
if art == 1 then
say("Wähle ein Video aus!")
local video = select("Vortellung","Reittiere","Neue Items","Abbrechen")
if video == 1 then
cmdchat("showtrailer http://www.youtube.com/swf/cps.swf?video_id=VideoID&autoplay=1")
setskin(NOWINDOW)
elseif video == 2 then
cmdchat("showtrailer http://www.youtube.com/swf/cps.swf?video_id=VideoID&autoplay=1")
setskin(NOWINDOW)
elseif video == 3 then
cmdchat("showtrailer http://www.youtube.com/swf/cps.swf?video_id=VideoID&autoplay=1")
setskin(NOWINDOW)
end
elseif art == 2 then
say("Wähle ein Video aus!")
local video = select("Schmied Event","Eifersucht Event","OX Event","Abbrechen")
if video == 1 then
cmdchat("showtrailer http://www.youtube.com/swf/cps.swf?video_id=VideoID&autoplay=1")
setskin(NOWINDOW)
elseif video == 2 then
cmdchat("showtrailer http://www.youtube.com/swf/cps.swf?video_id=VideoID&autoplay=1")
setskin(NOWINDOW)
elseif video == 3 then
cmdchat("showtrailer http://www.youtube.com/swf/cps.swf?video_id=VideoID&autoplay=1")
setskin(NOWINDOW)
end
elseif art == 3 then
cmdchat("showtrailer http://www.youtube.com/swf/cps.swf?video_id=VideoID&autoplay=1")
setskin(NOWINDOW)
elseif art == 4 then
say("Wähle ein Video aus!")
local video = select("Feuerland","Blumen Land","Verkauf Land","Map 4","Startermap","Abbrechen")
if video == 1 then
cmdchat("showtrailer http://www.youtube.com/swf/cps.swf?video_id=VideoID&autoplay=1")
setskin(NOWINDOW)
elseif video == 2 then
cmdchat("showtrailer http://www.youtube.com/swf/cps.swf?video_id=VideoID&autoplay=1")
setskin(NOWINDOW)
elseif video == 3 then
cmdchat("showtrailer http://www.youtube.com/swf/cps.swf?video_id=VideoID&autoplay=1")
setskin(NOWINDOW)
elseif video == 4 then
cmdchat("showtrailer http://www.youtube.com/swf/cps.swf?video_id=VideoID&autoplay=1")
setskin(NOWINDOW)
elseif video == 5 then
cmdchat("showtrailer http://www.youtube.com/swf/cps.swf?video_id=VideoID&autoplay=1")
setskin(NOWINDOW)
end
end
else
say("Dann eben nicht")
end
end
end
end
From .Howan