r/ComputerCraft • u/Big_Ticket_7651 • Aug 10 '21
Little problem
Using cc:tweaked and advanced peripherals. Advanced peripherals comes with the chat block, and I'm trying to pull a name from the chat event as a if statement. The end goal is to be able to have something automate every time a specific person talks. Trying to get the if statement to wait for the username "StartDebuffing" to be in chat, and then execute code. Any help is appreciated!
1
Upvotes
3
u/fatboychummy Aug 11 '21
According to the AP docs page for the Chat Box, the following should work: