So im trying to create a chat / trade bot ingame (not inside of my own game that I created in roblox studio) that will respond to the messages of nearby players. I have seen the concepted executed before, but I am not sure how they are doing it and I want to recreate it. Essentially you would say a prompt like: "/buy car 4000" and the bot would respond to the player's message with a certain action (in this case selling a car to the player for 4,000). Give me any ideas... thanks.
#Trying to make automatic Chat Bot
6 messages · Page 1 of 1 (latest)
Use string.match, heres the pattern: "^buy%s(.+)%s(%d+)"
Then use if statements
nah i want to create a bot to respond to player commands
in games published by other players
You need to exploit to do that
ohhh