DarkRP issues - Entitys, Shipments and Door Groups are not wroking???

Hey, everyone. I’ve searched around the forums to see if anyone else has had this issue where there is nothing wrong with their entitys, shipments etc, (So I believe theres nothing wrong.) however I could not find anything that could help me.

I’ve coded numerous servers, including Darkrp. However when I’m trying to work on this PrisonRP server I get almost no errors that relate to the entitys, etc.

This is my only error :


 	1. addons/darkrpmodification/lua/darkrp_customthings/jobs.lua on line 381

	2. gamemodes/darkrp/gamemode/libraries/fn.lua on line 80

	3. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 131

	4. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 142

	5. gamemodes/darkrp/gamemode/init.lua on line 81 

Entitys File:


 --[[---------------------------------------------------------------------------
DarkRP custom entities
---------------------------------------------------------------------------

This file contains your custom entities.
This file should also contain entities from DarkRP that you edited.

Note: If you want to edit a default DarkRP entity, first disable it in darkrp_config/disabled_defaults.lua
	Once you've done that, copy and paste the entity to this file and edit it.

The default entities can be found here:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/addentities.lua#L111

For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomEntityFields

Add entities under the following line:
---------------------------------------------------------------------------]]

DarkRP.createEntity("Alcohol", {
	ent = "durgz_alcohol",
	model = "models/drug_mod/alcohol_can.mdl",
	price = 500,
	max = 4,
	cmd = "buyalchohol"

})

DarkRP.createEntity("Ciagrettes", {
	ent = "durgz_cigarette",
	model = "models/boxopencigshib.mdl",
	price = 500,
	max = 4,
	cmd = "buycig",
	allowed = {TEAM_DRUG}

})
DarkRP.createEntity("Aspirin", {
	ent = "durgz_aspirin",
	model = "models/jaanus/aspbtl.mdl",
	price = 720,
	max = 4,
	cmd = "buyas",
	allowed = {TEAM_DRUG}

})
DarkRP.createEntity("Cocaine", {
	ent = "durgz_cocaine",
	model = "models/cocn.mdl",
	price = 5000,
	max = 4,
	cmd = "buycocoaine",
	allowed = {TEAM_DRUG}

})
DarkRP.createEntity("Heroine", {
	ent = "durgz_heroine",
	model = "models/katharsmodels/syringe_out/syringe_out.mdl",
	price = 5000,
	max = 4,
	cmd = "buyheroine",
	allowed = {TEAM_DRUG},

})
DarkRP.createEntity("LSD", {
	ent = "durgz_lsd",
	model = "models/drug_mod/alcohol_can.mdl",
	price = 1000,
	max = 4,
	cmd = "buylsd",
	allowed = {TEAM_DRUG},

})
DarkRP.createEntity("Weed", {
	ent = "durgz_weed",
	model = "models/katharsmodels/contraband/zak_wiet/zak_wiet.mdl",
	price = 1000,
	max = 4,
	cmd = "buyweed",
	allowed = {TEAM_DRUG},

})
DarkRP.createEntity("Meth", {
	ent = "durgz_meth",
	model = "models/katharsmodels/contraband/metasync/blue_sky.mdl",
	price = 1000,
	max = 4,
	cmd = "buymeth",
	allowed = {TEAM_DRUG},

})
DarkRP.createEntity("Shrooms", {
	ent = "durgz_mushroom",
	model = "models/ipha/mushroom_small.mdl",
	price = 5000,
	max = 4,
	cmd = "buyshroom",
	allowed = {TEAM_DRUG},

})

DarkRP.createEntity("Water", {
	ent = "durgz_water",
	model = "models/drug_mod/the_bottle_of_water.mdl",
	price = 100,
	max = 4,
	cmd = "buywater",
	allowed = {TEAM_DRUG},

})

DarkRP.createEntity("PCP", {
	ent = "durgz_pcp",
	model = "models/marioragdoll/super mario galaxy/star/star.mdl",
	price = 1000,
	max = 4,
	cmd = "buypcp",
	allowed = {TEAM_DRUG},

})


DoorGroups:



--[[---------------------------------------------------------------------------
Door groups
---------------------------------------------------------------------------
The server owner can set certain doors as owned by a group of people, identified by their jobs.


HOW TO MAKE A DOOR GROUP:
AddDoorGroup("NAME", Team1, Team2, team3, team4, etc.)
---------------------------------------------------------------------------]]


AddDoorGroup("Prison Staff",TEAM_GUARDMK1,TEAM_WARDEN,TEAM_TOWERGUARD,TEAM_GUARDMK2,TEAM_GUARDMK3,TEAM_GUARDMK4,TEAM_GUARDBUTTON,TEAM_GATE) 


Shipments:



--[[---------------------------------------------------------------------------
DarkRP custom shipments and guns
---------------------------------------------------------------------------

This file contains your custom shipments and guns.
This file should also contain shipments and guns from DarkRP that you edited.

Note: If you want to edit a default DarkRP shipment, first disable it in darkrp_config/disabled_defaults.lua
	Once you've done that, copy and paste the shipment to this file and edit it.

The default shipments and guns can be found here:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/addentities.lua

For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomShipmentFields


Add shipments and guns under the following line:
---------------------------------------------------------------------------]]
AddCustomShipment("Axe", "models/props/cs_militia/axe.mdl", "weapon_sillyaxe", 1250, 1, false, 200, false, {TEAM_PRISONSMUGGLER})
AddCustomShipment("Bat", "models/weapons/melee/w_bat.mdl", "weapon_baseballbat", 1250, 1, false, 200, false, {TEAM_PRISONSMUGGLER})
AddCustomShipment("Bowe Knife", "models/weapons/w_knife_ct.mdl", "weapon_sillybowieknife", 2050, 1, false, 200, false, {TEAM_PRISONSMUGGLER})
AddCustomShipment("Combat Knife", "models/weapons/w_knife_ct.mdl", "weapon_combatknife", 1650, 1, false, 200, false, {TEAM_PRISONSMUGGLER})
AddCustomShipment("Frying Pan", "models/weapons/c_models/c_frying_pan/c_frying_pan.mdl", "weapon_sillyfryingpan", 1250, 1, false, 200, false, {TEAM_PRISONSMUGGLER})
AddCustomShipment("Semi Auto Pisto", "models/weapons/w_pist_usp.mdl", "weapon_ssap", 2550, 1, false, 200, false, {TEAM_PRISONSMUGGLER})
AddCustomShipment("Dual Auto Pistols", "models/weapons/w_pist_elite_dropped.mdl", "weapon_daps", 4250, 1, false, 200, false, {TEAM_PRISONSMUGGLER})
AddCustomShipment("Desert eagle", "models/weapons/w_pist_deagle.mdl", "weapon_deagle2", 215, 10, true, 215, true, {TEAM_PRISONER})


Jobs



--[[---------------------------------------------------------------------------
DarkRP custom jobs
---------------------------------------------------------------------------

This file contains your custom jobs.
This file should also contain jobs from DarkRP that you edited.

Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
	Once you've done that, copy and paste the job to this file and edit it.

The default jobs can be found here:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua

For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields


Add jobs under the following line:
---------------------------------------------------------------------------]]

TEAM_PRISONER = DarkRP.createJob("Basic Prisoner", {
    color = Color(96,0,0, 255),
    model = {
        "models/jbarnes/player/prisoners/jumpsuitm1.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm2.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm3.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm4.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm5.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm6.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm7.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm8.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm9.mdl"
    },
    description = [[You mugged a man who stole your toy in kindergarden, yet you are proud about it?]],
    weapons = {},
    command = "prisoner",
    max = 0,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = false,
})


TEAM_THIEF = DarkRP.createJob("Prison Thief - Level 3", {
    color = Color(96,0,0, 255),
    model = {
        "models/jbarnes/player/prisoners/jumpsuitm1.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm2.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm3.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm4.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm5.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm6.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm7.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm8.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm9.mdl"
    },
    description = [[You haven't become bored of crime yet have you?]],
    weapons = {"lockpick"},
    command = "thief",
    max = 6,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = false,
    level = 3,
})

TEAM_PRISONSMUGGLER = DarkRP.createJob("Prison Contraband Smuggler - Level 4", {
    color = Color(96,0,0, 255),
    model = {
        "models/jbarnes/player/prisoners/jumpsuitm1.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm2.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm3.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm4.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm5.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm6.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm7.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm8.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm9.mdl"
    },
    description = [[You haven't become bored of crime yet have you?]],
    weapons = {},
    command = "smuggler",
    max = 4,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = false,
    level = 4,
})

TEAM_ANGRY = DarkRP.createJob("Angry Prisoner - Level 3", {
    color = Color(96,0,0, 255),
    model = {
        "models/jbarnes/player/prisoners/jumpsuitm1.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm2.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm3.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm4.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm5.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm6.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm7.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm8.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm9.mdl"
    },
    description = [[Woah, calm down there.]],
    weapons = {"weapon_angryhobo2"},
    command = "angry",
    max = 4,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = false,
    level = 3,
})

TEAM_HACKER = DarkRP.createJob("Prison Hacker - Level 16", {
    color = Color(96,0,0, 255),
    model = {
        "models/jbarnes/player/prisoners/jumpsuitm1.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm2.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm3.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm4.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm5.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm6.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm7.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm8.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm9.mdl"
    },
    description = [[You've mastered the power to hack into minds and open keypads without effort.]],
    weapons = {},
    command = "hacker",
    max = 2,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = false,
    level = 16,
})

TEAM_PARKOUR = DarkRP.createJob("Prison Parkourist - Level 20", {
    color = Color(96,0,0, 255),
    model = {
        "models/jbarnes/player/prisoners/jumpsuitm1.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm2.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm3.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm4.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm5.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm6.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm7.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm8.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm9.mdl"
    },
    description = [[Gaint walls don't stop you from climbing up them.]],
    weapons = {},
    command = "parkourist",
    max = 2,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = false,
    level = 20,
})

TEAM_DRUG = DarkRP.createJob("Prison Drug Dealer - Level 7", {
    color = Color(96,0,0, 255),
    model = {
        "models/jbarnes/player/prisoners/jumpsuitm1.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm2.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm3.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm4.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm5.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm6.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm7.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm8.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm9.mdl"
    },
    description = [[Jail does't stop you from selling weed ]],
    weapons = {},
    command = "drug",
    max = 3,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = false,
    level = 7,

})

TEAM_HITMAN = DarkRP.createJob("Prison Hitman - Level 9 ", {
    color = Color(96,0,0, 255),
    model = {
        "models/jbarnes/player/prisoners/jumpsuitm1.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm2.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm3.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm4.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm5.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm6.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm7.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm8.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm9.mdl"
    },
    description = [[Murder is just in your bones.]],
    weapons = {"weapon_combatknife","weapon_sillyglock"},
    command = "hitman",
    max = 2,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = false,
    level = 9,
})

TEAM_TOWERGUARD = DarkRP.createJob("Tower Guard - Level 9", {
    color = Color(0,139,139, 255),
    model = {
        "models/player/security_06player.mdl" },
    description = [[Watch out for escapists and take them down.]],
    weapons = {"weapon_dbrscope", "weapon_sillynightstick", "weapon_sillynighthawk"},
    command = "tower",
    max = 2,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = true,
    hasLicense = true,
    candemote = false,
    level = 9,
})

TEAM_GUARDMK1 = DarkRP.createJob("Prison Guard Mk1 - Level 3", {
    color = Color(0,139,139, 255),
    model = {
        "models/gta5/armoredcitycoppol.mdl" },
    description = [[Protect the prison by following the Chiefs orders.]],
    weapons = {"weapon_sillynightstick", "weapon_sillyglock"},
    command = "mk1",
    max = 4,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = true,
    hasLicense = true,
    candemote = false,
    level = 3,
})


TEAM_GUARDMK2 = DarkRP.createJob("Prison Guard Mk2 - Level 7", {
    color = Color(0,139,139, 255),
    model = {
        "models/gta5/armoredcitycoppol.mdl" },
    description = [[Protect the prison by following the Chiefs orders.]],
    weapons = {"weapon_sillynightstick", "weapon_sillygewehr", "weapon_sillyglock"},
    command = "mk2",
    max = 4,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = true,
    hasLicense = true,
    candemote = false,
    level = 7,
})


TEAM_GUARDMK3 = DarkRP.createJob("Prison Guard Mk3 - Level 11", {
    color = Color(0,139,139, 255),
    model = {
        "models/gta5/swatpol.mdl" },
    description = [[Protect the prison by following the Chiefs orders.]],
    weapons = {"weapon_sillynightstick", "weapon_msmg", "weapon_sillyluger"},
    command = "mk3",
    max = 4,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = true,
    hasLicense = true,
    candemote = false,
    level = 11,
})


TEAM_GUARDMK4 = DarkRP.createJob("Prison Guard Mk4 - Level 18", {
    color = Color(0,139,139, 255),
    model = {
        "models/player/security_01player.mdl" },
    description = [[Protect the prison by following the Chiefs orders.]],
    weapons = {"weapon_sillynightstick", "weapon_the4shooter", "weapon_sillyluger" },
    command = "mk4",
    max = 4,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = true,
    hasLicense = true,
    candemote = false,
    level = 18,
})

TEAM_GUARDBUTTON = DarkRP.createJob("Button Master - Level 14", {
    color = Color(0,139,139, 255),
    model = {
        "models/gta5/citycoppol.mdl" },
    description = [[Control all the buttons around the prison]],
    weapons = {"weapon_sillynightstick", "weapon_sapsup"},
    command = "button",
    max = 2,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = true,
    hasLicense = true,
    candemote = false,
    level = 14,
})

TEAM_GATE = DarkRP.createJob("Gate Controller - Level 4", {
    color = Color(0,139,139, 255),
    model = {
        "models/gta5/citycoppol.mdl" },
    description = [[Protect the main gate]],
    weapons = {"weapon_sillynightstick", "weapon_sillyg3"},
    command = "gate",
    max = 1,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = true,
    hasLicense = true,
    candemote = false,
    level = 4,
})

TEAM_BOUNTY = DarkRP.createJob("Bounty Hunter - Level 16", {
    color = Color(0,139,139, 255),
    model = {
        "models/player/security_06player.mdl" },
    description = [[Hunt down criminals and bring them back to jail!]],
    weapons = {"weapon_sillybowieknife", "weapon_ppsr", "weapon_dapssup"},
    command = "bounty",
    max = 2,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = true,
    hasLicense = true,
    candemote = false,
    level = 16,
})

TEAM_WARDEN = DarkRP.createJob("Warden - Level 7", {
    color = Color(0,139,139, 255),
    model = {
        "models/obama/obama.mdl" },
    description = [[Take care of the prison ]],
    weapons = {"shared"},
    command = "warden",
    max = 1,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = true,
    hasLicense = true,
    candemote = false,
    level = 7
})
--[[---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------]]
GAMEMODE.DefaultTeam = TEAM_PRISONER


--[[---------------------------------------------------------------------------
Define which teams belong to civil protection
Civil protection can set warrants, make people wanted and do some other police related things
---------------------------------------------------------------------------]]
GAMEMODE.CivilProtection = {
	[TEAM_TOWERGUARD] = true,
	[TEAM_GUARDMK1] = true,
	[TEAM_BUTTON] = true,
	[TEAM_GATE] = true,
	[TEAM_BOUNTY] = true,
	[TEAM_GUARDMK2] = true,
	[TEAM_GUARDMK3] = true,
	[TEAM_GUARDMK4] = true,
}

--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_HITMAN)


Thankyou for any hep you can support me with in the long run :slight_smile:

TEAM_BUTTON doesn’t exist, also, post the full error text next time, since it’s harder when you only have the lines.

Never put a comma in the last line !

[editline]24th July 2015[/editline]

exemple :

your code :


TEAM_HACKER = DarkRP.createJob("Prison Hacker - Level 16", {
    color = Color(96,0,0, 255),
    model = {
        "models/jbarnes/player/prisoners/jumpsuitm1.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm2.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm3.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm4.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm5.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm6.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm7.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm8.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm9.mdl"
    },
    description = [[You've mastered the power to hack into minds and open keypads without effort.]],
    weapons = {},
    command = "hacker",
    max = 2,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = false,
    level = 16,
})

My code :


TEAM_HACKER = DarkRP.createJob("Prison Hacker - Level 16", {
    color = Color(96,0,0, 255),
    model = {
        "models/jbarnes/player/prisoners/jumpsuitm1.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm2.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm3.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm4.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm5.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm6.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm7.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm8.mdl",
        "models/jbarnes/player/prisoners/jumpsuitm9.mdl"
    },
    description = [[You've mastered the power to hack into minds and open keypads without effort.]],
    weapons = {},
    command = "hacker",
    max = 2,
    salary = GAMEMODE.Config.normalsalary,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = false,
    level = 16 -- Never put a comma in the last line !
})

It makes no difference whether you put a separator (comma) after the last entry in a table.

Thanyou both. I don’t know why I never decided to look into my jobs file to find a fix. Everything works now :slight_smile: