/pokegive <player> heracross lvl:50 evatk:252 evspdef:4 evspd:252 ivatk:31 ivdef:31 ivhp:31 ivhp:31 ivspatk:31 ivspd:31 ivspdef:31 unbreedable ab:moxie n:jolly move1:earthquake move2:close_combat move3:stone_edge move4:knockoff
In this example move4 (Knock Off) is badly formed so when the pokemon is given to you it will not have knock off as a move, this seems like intended behaviour although it would be nice if this threw an error.
/pokegive <player> heracross lvl:50 evatk:252 evspdef:4 evspd:252 ivatk:31 ivdef:31 ivhp:31 ivhp:31 ivspatk:31 ivspd:31 ivspdef:31 unbreedable ab:moxie n:jolly move1:earthquake move2:close_combat move3:stoneedge move4:knock_off
However, in this example move3 (Stone Edge) is badly formed and instead of the pokemon not having stone edge which would be expected, the mon given is a fainted missingNo which crashes the client upon interact.
This only occurs when a badly formed move in the move 1,2,3 slot id proceeded by another correctly formed move