CLEO Help I need one specific cleo scrpt

CLEO related

RazooorS

Active member
Joined
Feb 16, 2019
Messages
61
Reaction score
0
i want to create a script when something show in a chat auto replay i create some script but i cant compile this i have some errors
Code:
{$CLEO .cs}
{$USE SAMPFUNCS}

0000:

repeat
    wait 0
until 0AFA: is_samp_loaded

repeat
    wait 0
until 0AFA: is_samp_available

while true
    wait 0

    if 0BDE: samp_received_server_message 1@
    then
        if 0C29: string_compare 1@ to_string "there is a message" ignore_case false
        then
            0AFA: samp_send_chat "/yourcommand"
            wait 500
        end
    end
end
 
Top