Modern Algebra Quest log help needed

Im so freakin lost, ok so I know how to set up the quest and its description, but.... Im fairly new to scripting, so I dont even know how to

set up the quest in the event giver. My Dialogue is set to after they finish talking he gives this quest. After experimenting multiple times I get these results. I get the sword and it still says Adamantite sword 0/1. or I get the quest and I accidentally talk to him without completion and I get stuck on the quest complete or cancel. It would be greatly appreciated if someone could help me set up this quest in a event with the king sprite. Thanks So much!!!!

Short story short: I have no clue how to set up the quest in event, Like using control branch script:

#        quest(quest_id)

#          quest_id : the integer ID of the quest you want to access

P.s This is my second day ever making an Rpg and I already have scripted in Moghunter Attelier Combat system.

Side note: this is the setup for my quest 

  when 1 #2 Quest 2 

      q[:name]              = "Adamantite Sword"

      q[:level]             = 1

      q[:icon_index]        = 7

      q[:description]       = "Find the Kings lost sword."

      q[😮bjectives][0]     = "Kill 12 Evil Soldiers"

      q[😮bjectives][1]     = "Retrieve The Adamant sword from Killing Evil soldiers"

      q[😮bjectives][2]     = "When Finished Return to the King"

      q[😮bjectives][3]     = ""

      q[😛rime_objectives]  = [1, 2]

      q[:custom_categories] = []

      q[:banner]            = ""

      q[:banner_hue]        = 0

      q[:client]            = "Boris"

      q[:location]          = "The Haunted Woods"

      q[:common_event_id]   = 0

      q[:rewards]           = [

        [:item, 1, 3],

        [:gold,1000],

      ]

      q[:layout]            = false

 
post a link to the script please.


Edit: Um ... didn't you post the same question yesterday?


http://forums.rpgmakerweb.com/index.php?/topic/38042-modern-algebra-quest-log-help-needed/


Please don't start multiple threads asking the same thing. If you can't find a thread you posted, if it's been approved by a moderator you can find it by going to your profile and clicking the Find Content button in the top left. If you can't see the thread, and it was posted less than 24 hours ago, it could be in a forum that requires moderator approval, so just sit back and wait for a moderator who looks after that forum to come by.

Original thread: https://forums.rpgmakerweb.com/threads/modern-algebra-quest-log-help-needed.38042/