This system is not working and am wondering why.
Code:
[@main]
Welcome Hero <$USERNAME>. I am the Vicar of this\
Sanctuary. Uniting two heroes as one is my job.\
To get married you obviously need a weddingring.\
These can be found around <Camalot>.\ \
<Propose/@marry> to my partner.\
<Divorce/@unmarry> my partner.\
[@marry]
It's a man's job to propose to the female hero.\
Do you want to continue? \ \
<I do/@agree>\
<Leave the alter/@exit>\
[@agree]
#if
checkmarry
#act
break
#say
You can not have an affair here, <Camalot> is a great\
supporter of marriage!.\
#if
checkposemarry
#say
You can not have an affair here, <Camalot> is a great\
supporter of marriage!.\
#act
break
#if
gender man
#elsesay
It's a man's job to propose to the female hero.\
#elseact
break
#if
checkposegender Male
#say
No gay marriages allowed!\
#act
break
#if
checkposedir 2
#elsesay
You or your partner doesn't want to get married.\
#elseact
break
#if
checklevel 40
#elsesay
<Back/@main>
#elseact
break
#if
checkposelevel > 40
#elsesay
<Back/@main>
#elseact
break
#if
checkitem WeddingRing 1
#elsesay
You don't have a Engagement Ring what type of man are you!\ \
<Back/@main>
#elseact
break
#if
#act
take Weddingring 1
marry
[@StartMarry]
#if
checkmarry
#say
You can not have an affair here, <Camalot> is a great\
supporter of marriage!.\
#act
break
#if
gender man
#act
break
#say
Do you <$USERNAME> take this woman to be your wife?\ \
<I Do!/@RequestMarry>\
#if
gender
#act
break
#say
Wait patiently for your partner to propose.\
[@RequestMarry]
#if
checkmarry
#act
break
#say
You can not have an affair here, <Camalot> is a great\
supporter of marriage!.\
#if
#act
marry requestmarry
[@WateMarry]
wait patiently for his answer.
[@RevMarry]
#if
checkmarry
#act
break
#say
You can not have an affair here, <Camalot> is a great\
supporter of marriage!.\
#if
#say
So do you wont to marry him? \ \
<Yes I do/@ResposeMarry> \
<No thank you!/@ResposeMarryFail>
[@ResposeMarry]
#if
checkmarry
#act
break
#say
You are already Married!\ \
<Back/@main>
#if
#act
marry responsemarry ok
#if
#act
marry responsemarry ok
[@ResposeMarryFail]
#if
checkmarry
#act
break
#say
You can not have an affair here, <Camalot> is a great\
supporter of marriage!.\
#if
#act
marry responsemarry Fail
[@EndMarry]
I now pronounce you husband and wife. DING DONG.\
[@EndMarryFail]
Your partner left the alter.\
[@MarryDirErr]
You are not facing your partner.\
[@MarryCheckDir]
Face your partner\
[@HumanTypeErr]
Your carn't Marry somthink un-human!
[@MarrySexErr]
Wrong gender Sorry!
Divorce start
[@unmarry]
#if
checkmarry
#act
unmarry
#elsesay
Your arn't married you loser!\ \
<Returns/@main>
[@UnMarryCheckDir]
You arn't Facing your partner which only leaves\
two options..\ \
1: <Forcefull Divorce Please/@fUnMarry> \
2: <Speak With My Partner/@main>
[@UnMarryTypeErr]
Your Partner Doesn't wont a Divorce.\ \
<Back/@main>
[@StartUnMarry]
#if
gender man
#act
BREAK
#say
You realy should think about what your gonna do?\
Are you sure you wont a <Divorce/@RequestUnMarry>
#if
gender
#say
Your husband now requests a divorce. DO you agree? \ \
<Yes/@RequestUnMarry> or <No/@Exit>
#act
break
[@RequestUnMarry]
#if
checkmarry
#act
unmarry requestunmarry
[@ResposeUnMarry]
#if
checkmarry
#act
unmarry Responseunmarry
[@WateUnMarry]
You have sent out the divorce request to opposite party\
you will have to wait for opposite party answer.\
[@RevUnMarry]
Forceing a divorces comes with a price. The fee is 1000000! \ \
<Continue/@RequestUnMarry> <Back/@main>
[@ExeMarryFail]
Arn't you all married? \ \
<Back/@main>
[@fUnMarry]
#if
checkGold 1000000
checkmarry
#act
take Gold 1000000
unmarry requestunmarry Force
#elsesay
It will cost you 1000000 in gold in fee's for this\
Divorce, which you don't have so go away <Sorry/@exit>\
[@UnMarryEnd]
Marriage ended.\
