GML
if distance_to_object(npcspeed) < 100
{
if czat.notedkeys="hi" or czat.notedkeys="hello"{
rozm_sirspd=get_string("Oh, hello dear "+string(imie_ch)+"! I will bless you. Only tell me: WHAT IS THE KINGs NAME?",0)
if rozm_sirspd="Lepatopanosfajstos"
{
get_string("Great! You are really better than me! You have been blessed. Hail Lepatopanosfajstos! Good bye.",0);
move_speed+=1 instance_destroy() else get_string("No, it is not! Ehh...",0);
}
}
}
Co w tym kodzie jest źle? Wywala mi błąd: "Unexpected symbol in expression". :(