CLEO Help Detect a chat text and use it in a cmd

CLEO related
Status
Not open for further replies.

Panadol

Member
Joined
Aug 28, 2017
Messages
6
Reaction score
0
I have 0 idea of how to detect a part of chat and use it a cmd :
Exemple:
The amount we looking for is 38 . Make sure you sell us that amount otherwise you will be denied using /sell 38
then the cleo detects the number 38 as it's not constant and it keeps changing
so it sends /sell 38 .. any help please
 

SpnKO

Member
Joined
Mar 17, 2014
Messages
17
Reaction score
3
You can use sscanf, I would even create a snipper if you detailed it a bit further because from whatever you wrote here I couldn't understand a damn thing.
 
Status
Not open for further replies.
Top