This proc is case insensitive, unlike cmpTextEx(). Any number of arguments can be given to this proc, and it will return 1 if they are all the same.
if(cmptext("letsplayagame", "LETSPLAYAGAME", "letsPlayAGame"))
world.log << "Yay!" // "Yay!" is printed