TutorialQuestsAssignment: type: assignment interact scripts: - 10 TutorialQuests TutorialQuests: type: interact steps: 1: click trigger: script: - if = "Trainer Fabian" { - narrate format:NpcChatFormat 'Welcome ,' - wait 1 - narrate format:NpcChatFormat 'This Universe Is Known As Yuri Isles,' - wait 1 - narrate format:NpcChatFormat 'And Consists Of 3 Dimensions.' - wait 1 - narrate format:NpcChatFormat 'We Are Currently Standing In The First' - wait 1 - narrate format:NpcChatFormat 'Dimension Valhalla.' - wait 1 - narrate format:NpcChatFormat 'But You Must Be Tired From Your Journey,' - wait 1 - narrate format:NpcChatFormat 'So Rest And Talk To Me Once You<&sq>re Ready To' - wait 1 - narrate format:NpcChatFormat 'Move On.' - wait 1 - narrate 'Help<&co> You Can Say "Ready" Or "Not Ready"' } else if = "Staff Leon" { - narrate format:NpcChatFormat 'I<&sq>m Sorry, I<&sq>m Busy Please Talk To Trainer Fabian.' } chat trigger: 1: trigger: I Am /Ready/! script: - if = "Trainer Fabian" { - wait 2 - narrate format:NpcChatFormat 'okay,' - wait 2 - narrate format:NpcChatFormat 'Well As You Are New To This Universe,' - wait 1 - narrate format:NpcChatFormat 'You must First Register To Become A Citizen.' - wait 1 - narrate format:NpcChatFormat 'Take This To Staff Leon To Begin The' - wait 1 - narrate format:NpcChatFormat 'Process.' - give i@RegistrationPapers qty:1 - narrate 'You Recieved "Registration Papers."' - narrate 'Quest Accepted<&co> Become A Citizen!' - flag player BecomeACitizen:2 - zap step:2 } else if = "Staff Leon" { - narrate format:NpcChatFormat 'Ready For What, Go Talk To Trainer Fabian.' } 2: trigger: I Am /Not Ready/! script: - if = "Trainer Fabian" { - wait 1 - narrate format:NpcChatFormat 'Well Rest As Long As You Want' } else if = "Staff Leon" { - narrate format:NpcChatFormat 'Not Ready For What, Go Talk To Trainer Fabian.' } 2: click trigger: script: - if = "Staff Leon" { - narrate format:NpcChatFormat 'Do You Have Somthing For Me?' - wait 1 - if { - ^take i@RegistrationPapers qty:10000 - narrate ' You hand Over "Registration Papers."' - wait 1 - narrate format:NpcChatFormat 'Oh More PaperWork...' - wait 1 - narrate format:NpcChatFormat 'Well Everything looks Fine,' - wait 1 - narrate format:NpcChatFormat 'But Before We Move On You' - narrate format:NpcChatFormat 'Must Agree To The Terms Of Service.' - wait 1 - narrate format:NpcChatFormat 'Read This, Then come Back To Me.' - give i@TheTermsOfService qty:1 - zap step:3 } else if ! { - narrate format:NpcChatFormat 'Oh, You Lost It,' - narrate format:NpcChatFormat 'Well Maybe Trainer Fabian Has A Spare.' } } else if = "Trainer Fabian" { - if { - narrate format:NpcChatFormat 'You Don<&sq>t need To Talk To Me Anymore.' } else if ! { - narrate format:NpcChatFormat 'Huh... How Could You Lose Your Papers?' - give i@RegistrationPapers qty:1 - narrate format:NpcChatFormat 'Well Acidents Happen. Don<&sq>t Lose Them Again.' } } 3: click trigger: script: - if = "Staff Leon" { - if = 1 { - narrate format:NpcChatFormat 'I See You Have Read The Terms,' - wait 1 - narrate format:NpcChatFormat 'So Do You Accept Our Terms Of Service?' - narrate 'Help<&co> You Can Say "Agree" Or "Disagree"' } else if ! = 1 { - narrate format:NpcChatFormat 'Make sure You Read Those Terms Of Service.' - wait 1 - narrate format:NpcChatFormat 'Come Back to Me Once You Have.' } - if ! = 1 { - if ! { - narrate format:NpcChatFormat 'Oh You Need Another Copy?' - give i@TheTermsOfService qty:1 - narrate format:NpcChatFormat 'Try to Take Better Care Of This One.' } } } else if = "Trainer Fabian" { - if { - narrate format:NpcChatFormat 'Oh, Staff Leon Asked You To Read That?' - wait 1 - narrate format:NpcChatFormat 'Well Get On With It.' } else if ! { - narrate format:NpcChatFormat 'You Don<&sq>t Need Me Anymore,' - narrate format:NpcChatFormat 'Talk To Staff Fabian.' } } chat trigger: 1: trigger: I /REGEX:^Agree/ To The Terms Of Service script: - if = 1 { - if = "Trainer Fabian" { - wait 1 - narrate format:NpcChatFormat 'Sorry but That Sound Like somthing' - wait 1 - narrate format:NpcChatFormat 'You Should Be Telling Staff Leon.' } else if = "Staff Leon" { - narrate format:NpcChatFormat 'Oh, Thats Great.' - wait 1 - narrate format:NpcChatFormat 'Well Now That<&sq>s Taken Care Of,' - wait 1 - narrate format:NpcChatFormat 'Lets Get You Registered.' - wait 1 - narrate format:NpcChatFormat 'So Are You A Boy Or A Girl?' - narrate 'Help<&co> You Can Say "Boy" Or "Girl" Or "Hideyoshi"' - zap step:4 } } 2: trigger: I /Disagree/ With The Terms Of Service! script: - if = 1 { - if = "Trainer Fabian" { - wait 1 - narrate format:NpcChatFormat 'Sorry but That Sound Like somthing' - wait 1 - narrate format:NpcChatFormat 'You Should Be Telling Staff Leon.' } else if = "Staff Leon" { - narrate format:NpcChatFormat 'Oh, Well I Am Sorry To Hear That.' - wait 1 - narrate format:NpcChatFormat 'Sorry, But We Don<&sq>t Allow People Who' - wait 1 - narrate format:NpcChatFormat 'Don<&sq>t Agree To The Terms Of Service' - wait 1 - narrate format:NpcChatFormat 'Play Here, Please Come Back If' - wait 1 - narrate format:NpcChatFormat 'You Change Your Mind.' - wait 5 - execute as_op "kick You Must Agree To Play" } } 4: click trigger: script: - if = "Staff Leon" { - narrate format:NpcChatFormat 'So, Are You A Boy Or A Girl?' - narrate 'Help<&co> You Can Say "Boy" Or "Girl" Or "Hideyoshi"' } else if = "Trainer Fabian" { - narrate format:NpcChatFormat 'You Don<&sq>t Need Me Anymore,' } chat trigger: 1: trigger: I Am A /Boy/! script: - if = "Staff Leon" { - flag player Gender:1 - wait 1 - narrate format:NpcChatFormat 'Another Boy Ay,' - wait 1 - narrate format:NpcChatFormat 'I<&sq>m Sure You Will Make A Fine King Someday.' - wait 1 - narrate format:NpcChatFormat 'Anyway, Next Question.' - wait 1 - narrate format:NpcChatFormat 'How Old Are You?' - narrate 'Help<&co> You Can Say "Under 8" Or "Under 15" Or "under 18" or "Over 18"' - zap step:5 } else if = "Trainer Fabian" { - narrate format:NpcChatFormat 'You Don<&sq>t Need Me Anymore,' } 2: trigger: I Am A /Girl/! script: - if = "Staff Leon" { - flag player Gender:2 - wait 1 - narrate format:NpcChatFormat 'Ohhhh, I Don<&sq>t Get To Meet Many Girls.' - wait 1 - narrate format:NpcChatFormat 'In Time I Am Sure You Will Make A Lovely Queen.' - wait 1 - narrate format:NpcChatFormat 'Anyway, Next Question.' - wait 1 - narrate format:NpcChatFormat 'How Old Are You?' - narrate 'Help<&co> You Can Say "Under 8" Or "Under 15" Or "under 18" or "Over 18"' - zap step:5 } else if = "Trainer Fabian" { - narrate format:NpcChatFormat 'You Don<&sq>t Need Me Anymore,' } 3: trigger: I Am A /Hideyoshi/! script: - if = "Staff Leon" { - flag player Gender:3 - wait 1 - narrate format:NpcChatFormat 'I Thought So,' - wait 1 - narrate format:NpcChatFormat 'We Actually Get That Response A Lot Around Here.' - wait 1 - narrate format:NpcChatFormat 'Anyway, Next Question.' - wait 1 - narrate format:NpcChatFormat 'How Old Are You?' - narrate 'Help<&co> You Can Say "Under 8" Or "Under 15" Or "under 18" or "Over 18"' - zap step:5 } else if = "Trainer Fabian" { - narrate format:NpcChatFormat 'You Don<&sq>t Need Me Anymore,' } 5: click trigger: script: - if = "Staff Leon" { - narrate format:NpcChatFormat 'So, How Old Are You?' - narrate 'Help<&co> You Can Say "Under 8" Or "Under 15" Or "under 18" or "18 And Over"' } else if = "Trainer Fabian" { - narrate format:NpcChatFormat 'You Don<&sq>t Need Me Anymore,' } chat trigger: 1: trigger: I Am /Under 8/! script: - if = "Staff Leon" { - flag player Age:1 - wait 1 - narrate format:NpcChatFormat 'Oh, Your Still Quite Young!' - wait 1 - narrate format:NpcChatFormat 'But Don<&sq>t Worry, This Server' - wait 1 - narrate format:NpcChatFormat 'Is For All Ages' - wait 1 - narrate format:NpcChatFormat 'Well That<&sq>s Everything, Now Away With You.' - narrate format:NpcChatFormat 'I Have Some Other Appointments.' - zap step:6 } else if = "Trainer Fabian" { - narrate format:NpcChatFormat 'You Don<&sq>t Need Me Anymore,' } 2: trigger: I Am /Under 15/! script: - if = "Staff Leon" { - flag player Age:2 - wait 1 - narrate format:NpcChatFormat 'Oh, Those Rebelion Years.' - wait 1 - narrate format:NpcChatFormat 'But Don<&sq>t Worry, This Server' - wait 1 - narrate format:NpcChatFormat 'Is For All Ages' - wait 1 - narrate format:NpcChatFormat 'Well That<&sq>s Everything, Now Away With You.' - narrate format:NpcChatFormat 'I Have Some Other Appointments.' - zap step:6 } else if = "Trainer Fabian" { - narrate format:NpcChatFormat 'You Don<&sq>t Need Me Anymore,' } 3: trigger: I Am /Under 18/! script: - if = "Staff Leon" { - flag player Age:3 - wait 1 - narrate format:NpcChatFormat 'Oh, How Time Flys' - wait 1 - narrate format:NpcChatFormat 'But Don<&sq>t Worry, This Server' - wait 1 - narrate format:NpcChatFormat 'Is For All Ages' - wait 1 - narrate format:NpcChatFormat 'Well That<&sq>s Everything, Now Away With You.' - narrate format:NpcChatFormat 'I Have Some Other Appointments.' - zap step:6 } else if = "Trainer Fabian" { - narrate format:NpcChatFormat 'You Don<&sq>t Need Me Anymore,' } 4: trigger: I Am /18 And Over/! script: - if = "Staff Leon" { - flag player Age:4 - wait 1 - narrate format:NpcChatFormat 'Oh, Your Quite Mature' - wait 1 - narrate format:NpcChatFormat 'But Don<&sq>t Worry, This Server' - wait 1 - narrate format:NpcChatFormat 'Is For All Ages' - wait 1 - narrate format:NpcChatFormat 'Well That<&sq>s Everything, Now Away With You.' - narrate format:NpcChatFormat 'I Have Some Other Appointments.' - zap step:6 } else if = "Trainer Fabian" { - narrate format:NpcChatFormat 'You Don<&sq>t Need Me Anymore,' } TestScript: type: world events: on player right clicks: - if == "" { - narrate 'you have read the terms of service.' - flag player ReadTerms:1 } NpcChatFormat: type: format format: "<&co> " RegistrationPapers: type: item material: i@339 display name: Registration Papers lore: - Show This To Staff Leon - To Start The Registration Process. # enchantments: # recipe: # furnace_recipe: # no_id: bound: true # color: # book: TheTermsOfService: type: book title: Terms Of Service author: Yuri Isles text: - This is my book. There are many like it, but this one is mine! - Many new lines! -

Paragraphs,

too! QuestCommand: type: world events: on questlog command: - narrate '---------------------------------------------' - narrate 'This Is The QuestLog,' - narrate 'Quests Are Colour Coded Acording To Your Progress.' - narrate 'Can<&sq>t Accept Can Accept Active Quest Completed Quest' - narrate 'Repeatable Quest.' - narrate '---------------------------------------------' # Quest Become A Citizen - if = 0 { - narrate 'Become A Citizen.' } - if = 1 { - narrate 'Become A Citizen.' } - if = 2 { - narrate 'Become A Citizen.' } - if = 3 { - narrate 'Become A Citizen.' } - if = 4 { - narrate 'Become A Citizen.' } # Quest Get Gear - if = 0 { - narrate 'Get Gear.' } - narrate '---------------------------------------------' - determine fulfilled on quest command: - narrate 'Commands<&co> /questlog' - determine fulfilled on cleartutorial command: - zap <1> JoinEvent: type: world events: on player joins: - flag player Joined:1 - if = 1 { - teleport -151,214,134,Valhalla - execute as_op "ci" - flag player BecomeACitizen:0 - flag player GetGear:0 } # NOTE. Use !script (websitetoscript) to check script for errors.