Jump to content
Sign in to follow this  
UNK3N0W7

Quest Music Player

Recommended Posts

quest music begin
    state start begin
    when 20091.chat."Music Player" with pc.name == "HaveBeen" begin
    say_title(mob_name(npc.get_race()))
    say("")
    ---
    say("Enter the music name")
    say("")
    local name = input()
    if(name == "" or name == nil) then return end
    say_title(mob_name(npc.get_race()))
    say("")
    ---
    local mapindex = {1,21,41} -- Shinsoo,Chunjo,Jinno MapIndex
    i = 0
    repeat
        i = i + 1
        add_bgm_info(mapindex[i],name..".mp3")
    until i == table.getn(mapindex)
    say("Completed thanks.. ")
    say("")
        end
    end
end  

Quest by : Havebeen .

Regards.

  • Love 2

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.