CLEO Help Problem with getchatentrytext

CLEO related
Status
Not open for further replies.

SanGiovanni

Member
Joined
May 4, 2014
Messages
7
Reaction score
0
Code:
WHILE TRUE
    WAIT 0
    if
    10@ == true
    then      
        say "/scopa"
        wait 7000
        
        0AB1: @getChatEntryText 1 99 2@
        if 0C14: strcmp 2@ "Hai il cazzo grosso"
            then 
            say "/scopa"
            say "conpresello"
        end
        0AC9: free_allocated_memory 2@
    end
END

Why doesn't it work?
It gives me error

Code:
Warning(s007): Exception 0xC0000005 at 0x70D91B4A
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
272
Do you allocate memory for 2@? Cause you free it but don't reallocate it in your script. Also make sure your function has correct offsets.
 
Status
Not open for further replies.
Top