Quest problem need help

10/12/2012 12:48 OldFart#1
hello all

i have been trying to redo a quest i got from here so it will allow lower levels to be able to see what the quest/map is as well as above lvl 75

but they cant access the map till they reach the lvl stated in the quest as atm it will allow players above 75 see the quest

im asking as im not good at doing quests so any help i would be greatful

this is the thread i got it from
[Only registered and activated users can see links. Click Here To Register...]

here is the quest

Quote:
quest event_map begin
state start begin
when login or levelup with pc.level >75 begin
set_state(event_map)
end
end

state event_map begin
when 20083.chat."New Map" begin
say("")
say("Greetings traveler!")
say("You viewing categories so in an New Map?")
say("I can spend happy.")
say("")
say("Where do u want to teleport u?")
say("")
local a= select("New Map","Cancel")
if 1==a then
say("")
say("Let's Go")
say("I wish you will have fun !!")
wait()
pc.warp(333300 , 333300)
elseif 2==a then
say("")
say("Ok")
say("Then stay here first")
end


end


end

end
thanks OldFart
10/12/2012 13:31 He3o Sippel#2
PHP Code:
quest event_map begin
    state start begin
        when 20083.chat
."New Map" with pc.get_level() == 75 begin
            say
("")
            
say("Greetings traveler!")
            
say("You viewing categories so in an New Map?")
            
say("I can spend happy.")
            
say("")
            
say("Where do u want to teleport u?")
            
say("")
            
local aselect("New Map","Cancel")
            if 
== 1 then
                say
("")
                
say("Let's Go")
                
say("I wish you will have fun !!")
                
wait()
                
pc.warp(333300 333300)
            elseif  
a== 2 then
                say
("")
                
say("Ok")
                
say("Then stay here first")
            
end
        end    
    end 
end 
10/13/2012 02:03 OldFart#3
thankyou will give it a shot