What is the problem with this command?

So I've been trying to use this commands (on 1.8.8) that someone gave for ages! But when i try to put it in the command block it literally does nothing! Can someone tell me what is wrong? or fix the command if there's any errors?
The intended use of this commands is to detect players who tries to remove/throw iron sword (with the name Vladimir and lore Who names their sword that?!) in a specific slot and then it will quickly erase the sword then replace it. In summary it Locks an item in a specific slot.
This is the list of commands:
/clear @a[score_hotbarlock=0,score_inGame_min=1] iron_sword 0 64 {ench:[],display:{Name:"Vladimir",Lore:["Who names their sword that?!"]}}
replaceitem entity @a[score_hotbarlock=0,score_inGame_min=1] slot.hotbar.8 iron_sword 1 0 {ench:[],display:{Name:"Vladimir",Lore:["Who names their sword that?!"]}}
/execute @e[score_inGame_min=1,score_hotbarlock=0]~ ~ ~ scoreboard players set @e[typeItem,r=2] dropitem 1 {Item:{id:"iron_sword",tag:{ench:[],display:{Name:"Vladimir",Lore:["Who names their sword that?!"]}}}}
/kill @e[score_dropitem_min=1]
Any help would be appreciated
Pictures about "What is the problem with this command?"



How do you fix there was problem sending the command to the program?
Follow these quick steps:What does it mean there was a problem sending the command to the program?
\u201cThere was a problem sending a command to the program\u201d usually indicates that a window has failed to connect with the MS Office Applications (such as Excel, Word or Access database etc.) in the process of sending DDE (Dynamic Data Exchange) commands to the MS Office applications.How do you fix there was a problem sending the command to the program Excel 2007?
Excel 2007: \u201cThere was a problem sending the command to the program\u201dHow do I fix DDE in Excel 2010?
To correct this setting, follow these steps: Select File > Options. Select Advanced, scroll down to the General section, and then clear the Ignore other applications that use Dynamic Data Exchange (DDE) check box in the General area.Why Sudo Is The Best Command in Minecraft
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Inzmam Khan, cottonbro, Andrea Piacquadio, Nathan Cowley