on place of mob spawner:
if name of player's tool is "&a%{spawner_cesit.%player%}% &7Spawneri":
execute player command "/setblock %x coord of event-location% %y coord of event-location% %z coord of event-location% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:%{spawner_cesit.%player%}%,Count:%{spawner_adet.%player%}%b}},SpawnCount:1,SpawnRange:5,RequiredPlayerRange:140,Delay:%{spawner_zaman.%player%}%,MinSpawnDelay:0,MaxSpawnDelay:00,MaxNearbyEntities:1}" with permission "minecraft.command.setblock"
send "&e&l > &b%{spawner_cesit.%player%}% spawneri başarıyla koydun!"
add location of event-block to {spawner::*}
on place of a mob spawner:
set {_someVariable} to name of held item of player
{_someVariable} is "&a%{spawner_cesit.%player%}% &7Spawneri"
set {_x} to x coord of event-location
set {_y} to y coord of event-location
set {_z} to z coord of event-location
wait 1 second
execute console command "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:%{spawner_cesit.%player%}%,Count:%{spawner_adet.%player%}%b}},SpawnCount:1,SpawnRange:5,RequiredPlayerRange:140,Delay:%{spawner_zaman.%player%}%,MinSpawnDelay:0,MaxSpawnDelay:00,MaxNearbyEntities:1}"
send "&e&l > &b%{spawner_cesit.%player%}% spawneri başarıyla koydun!"
set {_sp} to location of event-block
add {_sp} to {spawner::*}