Hello, I'm trying to make a cleo script that repeats a server command every X seconds if a key is pressed and it stops if the same key has been pressed again. I got most of it done but as I can't use sampfuncs with 0.3DL I can't seem to find a way to check whether the chat is opened or not cause I don't want to the script to start if the chat is opened, can you help me?