beggerEldamarA: type: assignment default constants: cN1: 1|2 cN11: 1|2|3|4|5|6|7|8 cN117: 1|2|3|4|5|6|7|8|9 interact scripts: - 1 begger_Eldamar actions: - trigger name:chat to ggle:true - trigger name:click toggle:true - trigger name:proximity statue:true radius: 5 begger_Eldamar: type: interact steps: 1: proximity trigger: entry: script: - random { - chat " Coins for a poor old man? " - chat " Coins for an old war machine? " - chat " Hello there young man! " - chat " New around here eh? " - chat " Hello just doing your daily things i suppose " - chat " My favourite drinking buddy " } - flag player "chatSelect:1" exit: script: click trigger: script: - flag player "repeatLast:true" - inject begger_Eldamar-S chat trigger: 1: trigger: // script: - inject begger_Eldamar-S begger_Eldamar-S: type: task script: - if > contains && == false { - flag player "chatSelect:" } else if == true { - flag player "repeatLast:false" } else if == 0 { - flag player "chatSelect:2" } else { - chat "What? Options; >" } } -if == 1 { - look - chat "Care to spare a coin to a poor old man?" - ^narrate " You feel uncertain as to if you should spare a coin..." - ^narrate "Tip: Type the number of your option in the chat to talk with it" - ^narrate "1. Yes" - ^narrate "2. No" } else { - chat " Error " } if == 11 { - wait 2 - random { - chat "Ah thank you kind sir!" - chat "Oooo Thank you! Thank YOU!" } - random { - chat "You do not look like you are from around here... i could tell you more about the city... for a fair price that is." - wait 3 - ^narrate "You feel uncertain... but inclined to give one more gold to the poor man" - wait 4 - ^narrate "1. Give another coin" - ^narrate "2. Maybe not" } } else if == 12 { - chat "Oh well. See you around... if you are still alive by then. Get out of this town as soon as possible. Do not linger... unspeakable things are happening." } else { - chat "Error! Unknown chat path... contact admin / technician" - announce to_ops "Error! Unknown chat path; guardInteract, + + " } if == 111 { - wait 2 - random { - chat "The town of Eldamar was believed to have tunnels below it, concealing the towns dark past..." - chat "There has been murders lately, occuring near the sewers." - chat "The town is bound to be gone... the dark secrets are unveiling. The dark energy is bound to emerge... it is just a matter of time" - chat "If you thought the town is prospering... it was. Things are never the same. Vampires and the undead were sighted near the sewers..." } - chat " Do you want to know more...?" - ^narrate "1. Yea... heres another coin" - ^narrate "2. Maybe next time" } else if == 112 { - chat "Oh well. See you around... if you are still alive by then. Get out of the town as fast as you can. Do not linger around." } else { - chat "Error. Unknown chat path" } if == 1111 { - wait 2 - random { - chat "The town of Eldamar was believed to have tunnels below it, concealing the towns dark past..." - chat "There has been murders lately, occuring near the sewers." - chat "The town is bound to be gone... the dark secrets are unveiling. The dark energy is bound to emerge... it is just a matter of time" - chat "If you thought the town is prospering... it was. Things are never the same. Vampires and the undead were sighted near the sewers..." } - chat " Do you want to know more...?" - ^narrate "1. Yea... heres another coin" - ^narrate "2. Maybe next time" } else if == 1112 { - chat "Oh well. See you around... if you are still alive by then. Get out of the town as fast as you can. Do not linger around." } else { - chat "Error. Unknown chat path" } if == 11111 { - wait 2 - random { - chat "The town of Eldamar was believed to have tunnels below it, concealing the towns dark past..." - chat "There has been murders lately, occuring near the sewers." - chat "The town is bound to be gone... the dark secrets are unveiling. The dark energy is bound to emerge... it is just a matter of time" - chat "If you thought the town is prospering... it was. Things are never the same. Vampires and the undead were sighted near the sewers..." } - chat " Well... see you around my man. I have no more. Get out of the town as fast as you can... trust me." } else if == 11112 { - chat "Oh well. See you around... if you are still alive by then. Get out of the town as fast as you can. Do not linger around." } else { - chat "Error. Unknown chat path" } - ^narrate "Exit" }