Here are some commands for doing a marriage NPC just mess around with them and if need be reffer to one of the already made NPCs for some help on were things go and that

Hope this helps
@main
CHECK
CHECKOPEN
CHECKUNIT
GENDER = If they need to be a spasific gender then use this
CHECKLEVEL = If they need to be a spasific level use this command
CHECKJOB = If they need to be a spasific class
CHECKITEM = If they need like papers to get married you use this command to check if they have the requirements CHECKITEMW
CHECKGOLD = checks if they have the right ammount of money if they need money to get married
TAKE = this takes the items that the Marriage person needs off the player
GIVE = this will make the NPC give a player items for e.g the rings
CLOSE = i think this closes the box not 100% sure tho
MAPMOVE = if you want the NPC to move players to another map to get married
MAP = i think you put what map you want for this one
BREAK = does a pause i think
TAKECHECKITEM = i think this might take the item you checked up there not sure tho
#SAY = the command you need for your npc to say something
#IF = you need to put what you check in here e.g
#IF
Check Gold 10000
#CALL
#ACT = you need to put what your NPC takes in here so like:
#ACT
Take Gold 10000
#ELSEACT = this is the same as elsesay but for the act i think
#ELSESAY = if they dont have enough money to use the service put what you want to say here

@s_repair = Special Repair
@buy = Buy something
@sell = Sell something (might want this for the papers)
@repair = repairing something
@makedrug
@prices
@storage = storage of course :P
@getback = get back your stored item
@upgradenow = upgrade your weapon
@getbackupgnow = get that weapon back
@exit = Exit the box
~@upgradenow_ing
~@upgradenow_ok
~@upgradenow_fail
~@getbackupgnow_ok
~@getbackupgnow_ing
~@getbackupgnow_fail