06.08.2009, 17:58
I've tryed to make an "anti-repeat-myself" , but i fail ...
I don't like to use strfind , so i decied to use strcmp ...
# How this proceed:
If i type : hello ( then i press enter )
And after a second i type again , hello
He must send me that message : * Don't repeat yourself !
But he send me that message at the first hello ...
![undecided](images/smilies/neutral.gif)
Code Here: http://pastebin.com/d23d09b60
I don't like to use strfind , so i decied to use strcmp ...
# How this proceed:
If i type : hello ( then i press enter )
And after a second i type again , hello
He must send me that message : * Don't repeat yourself !
But he send me that message at the first hello ...
![undecided](images/smilies/neutral.gif)
Code Here: http://pastebin.com/d23d09b60