Hello i have an issue with my skript and i cant fix it ive searched everywhere discord,goggle,minehut but cant find an answer btw im new to skripting
this is my code:
```command /generator <integer>:
aliases: /gen, /itemspawner
trigger:
set {wait} to arg-1
Drop(player,arg-1)
function Drop({_player}: {_player}, wait: number):
set {drop} to {_player} location
add 0.5 to y-coordinate of {drop}
drop {_player} held item at {drop}```
and this is the error messages:
Cannot recognise the type '{_player}' (generator.sk, line 7: function Drop({_player}: {_player}, wait: number):
and:
can't understand this event: '```command /generator <integer>' (generator.sk, line 1: ```command /generator <integer>:
if you could help that would be amazing
this is my code:
```command /generator <integer>:
aliases: /gen, /itemspawner
trigger:
set {wait} to arg-1
Drop(player,arg-1)
function Drop({_player}: {_player}, wait: number):
set {drop} to {_player} location
add 0.5 to y-coordinate of {drop}
drop {_player} held item at {drop}```
and this is the error messages:
Cannot recognise the type '{_player}' (generator.sk, line 7: function Drop({_player}: {_player}, wait: number):
and:
can't understand this event: '```command /generator <integer>' (generator.sk, line 1: ```command /generator <integer>:
if you could help that would be amazing