I get this error "Then expected at ','" and I just cant find where that is...Code:EntryID = 123454 function Test_OnGossip(pUnit, Event, Player) pUnit:GossipCreateMenu(3544, player) pUnit:GossipMenuAddItem(2, "Alliance Leaders", 1) pUnit:GossipMenuAddItem(2, "Horde Leaders", 2) pUnit:GossipSendMenu(Player) end function Gossip_Submenus(pUnit, Event, Player, Id, Intid, Code) if(intid == 999) then pUnit:GossipCreateMenu(3543, player) pUnit:GossipMenuAddItem(2, "Alliance Leaders", 1) pUnit:GossipMenuAddItem(2, "Horde Leaders", 2) pUnit:GossipSendMenu(Player) end if(intid == 1) then if pUnit:PlayerRace() == 2, 5, 6, 8, 10, then pUnit:GossipCreateMenu(3543, player) pUnit:GossipMenuAddItem(1, "King Varian Wrynn", 3) pUnit:GossipMenuAddItem(1, "King Magni Bronzebeard", 4) pUnit:GossipMenuAddItem(1, "Tyrande Whisperwind", 5) pUnit:GossipMenuAddItem(1, "Prophet Velen", 6) pUnit:GossipMenuAddItem(0, "[Back]", 999) pUnit:GossipSendMenu(Player) else player:SendBroadcastMessage("You are alliance.") pUnit:GossipComplete(player) end end if(intid == 2) then if pUnit:PlayerRace() == 1, 3, 4, 7, 11, then pUnit:GossipCreateMenu(3543, player) pUnit:GossipMenuAddItem(1, "Thrall", 7) pUnit:GossipMenuAddItem(1, "Lady Sylvanas Windrunner", 8) pUnit:GossipMenuAddItem(1, "Cairne Bloodhoof", 9) pUnit:GossipMenuAddItem(1, "Lor'themar Theron", 10) pUnit:GossipMenuAddItem(0, "[Back]", 999) pUnit:GossipSendMenu(Player) else player:SendBroadcastMessage("You are horde.") pUnit:GossipComplete(player) end end if(intid == 3) then player:Teleport(0, -8455.885742, 351.462982, 120.843277) pUnit:GossipComplete(player) end if(intid == 4) then player:Teleport(0, -4847.004395, 1045.885254, 502.188232) pUnit:GossipComplete(player) end if(intid == 5) then player:Teleport(1, 9662.51931, 2524.570068, 1260.180054) pUnit:GossipComplete(player) end if(intid == 6) then player:Teleport(530, -4023.633301, -11388.284180, -129.503525) pUnit:GossipComplete(player) end if(intid == 7) then player:Teleport(1, 1922.766848, 4170.967285, 40.902546) pUnit:GossipComplete(player) end if(intid == 8) then player:Teleport(0, 1290.410034, 316.247009, -54.237598) pUnit:GossipComplete(player) end if(intid == 9) then player:Teleport(1, -1209.640015, -112.697998, 163.981995) pUnit:GossipComplete(player) end if(intid == 10) then player:Teleport(530, 9965.837891, -7084.757324, 47.708710) pUnit:GossipComplete(player) end RegisterUnitGossipEvent(EntryID, 1, "Test_OnGossip") RegisterUnitGossipEvent(EntryID, 2, "Gossip_Submenus")