Set what I'm drinking with a command


[11-21-2018 @ 04:43:43.570 GMT]
Java Version: 1.8.0_161-b12
OS Version: Windows 10 10.0 (x86)
Panel Version: 1.1
PhantomBot Version: 2.4.2 (Revision: 5c75a7b2)
Stock Phantonbot: No
Browser: Chrome Version 70.0.3538.102 (Official Build) (64-bit)

I want to be able to type out !tea and let chat know what I’m drinking. I also want to be able to change it with !tea set (or something similar) and say something like “!tea set Jasmine Peony” so it will change the !tea command to “Saphy is currently drinking Jasmine Peony.”

I’m not sure what to even Google or search for because I’m a noob. Any help would be greatly appreciated!


!addcom settea (writefile drink.txt, false, (echo))

!addcom tea Saphy is currently drinking (readfile drink.txt)



This is exactly what I needed! Thank you so much. I had to run it from the control panel instead of chat, but it works perfectly.

closed #4

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