How to make an alert from an editor script

Hi,
I`ve have a question. :smile:
How can I make an alert from an editor script,like with print()
Print() doesnt work on editor scripts.

Thanks,
Yannic

Debug.Log

Thanks,man.
Worked really good for me.
But can I display this in red?

Thanks,man.
Worked really good for me.
But can I display this in red?

You cant change the color but there are Debug.LogWarning and Debug.LogError

Yeah,thatโ€™s what I meaned.
Thank you very much!
And sorry for my bad English,Im from Germany and 13 years old :wink: