Kindrindra
2016-02-15T21:27:58Z
Both should be "local sg=Duel.GetMatchingGroup(c1700.dfilter,tp,0,LOCATION_ONFIELD,nil,4-e:GetHandler():GetSequence()).

The "tp" seen at the beginning of functions like "SelectMatchingCard()" and "SelectTarget()" is the player who is selecting the card- "tp" for the user of the effect, "1-tp" for the opponent. "GetMatchingGroup()" doesn't take that parameter because no player is selecting anything.

So, the reason for the error is that the program is expecting the first parameter to be a function- "c1700.dfilter", in this case.
Cards scripted: ...lost count
Cards released: 18
Cards illustrated: Double digits
Main Decks: D/D, Heraldic, Gusto on good days
Nawutoe
2016-02-15T21:31:51Z
Knew I was just being stupid XD Thanks for the clarification!
Kindrindra
2016-02-16T00:34:58Z
No worries, I make the same mistake all the time (usually in the "chk" part) just because I'm used to typing the "tp"! '^_^
Cards scripted: ...lost count
Cards released: 18
Cards illustrated: Double digits
Main Decks: D/D, Heraldic, Gusto on good days