if(cmptext("Hi","HI"))
world << "Equal!"
else
world << "Not equal!"
I just don't understand what the DM Ref. says about cmptext().
ID:171797
Aug 6 2004, 6:15 pm
|
|
if(cmptext("Hi","HI")) I just don't understand what the DM Ref. says about cmptext(). |
Aug 6 2004, 6:21 pm
|
|
What don't you understand about it? It's pretty simple. cmptext() returns 1 if every single argument you supply is the same. It's not case-sensitive. You can provide any number of arguments.
|
In response to Garthor
|
|
Could you give an example like how someone would use it?
|
In response to ZLegend
|
|
Could you give an example like how someone would use it? Uhh you posted an example of how it is used. |