Need help about the eval

!commands add !pubGrass $(eval Math.floor(Math.random() * 6) == 0 ? “Rozhok” : “Gatka” : “Zharki” : “Prison” : “Military Base” : “Lipovka” : “Mylta Power” : “Ruins” : “Ferry Pier” : “Primorsk” : “Quarry” : “Novorepnoye” : “Mylta” : “Mansion” : “Hospital” : “School” : “Georgopol” : “Severny” : “Shooting Range” : “Yasnaya Polyana” : “Kameshki” : “Stalber” : “Farm” : “Shelter”)

can you guys help me about this command

!addcom !pubgrass $(eval const responses = ['Rozhok', 'Gatka', 'Zharki', 'Prison', 'Military Base', 'Lipovka', 'Mylta Power', 'Ruins', 'Ferry Pier', 'Primorsk', 'Quarry', 'Novorepnoye', 'Mylta', 'Mansion', 'Hospital', 'School', 'Georgopol', 'Severny', 'Shooting Range', 'Yasnaya Polyana', 'Kameshki', 'Stalber', 'Farm', 'Shelter']; responses[Math.floor(Math.random() * responses.length)];)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.