Help with the Look Function in Global Scripting

Started by ?DaltonSezHi!, Wed 29/06/2011 23:48:10

Previous topic - Next topic

?DaltonSezHi!

Every time I try to test the game, it says that end of input reached in middle of expr....
No, I dont know how to open the clipboard to see what the problem is, but it looks perfectly fine!

function iKey_Look()
{
Display(It's a Portal Gun you found on the floor of the Lab.");
}

Yeah, the Portal Gun is a key for now.  Does anyone know how to fix this? (Not the Portal Gun, being a key, but making it stop saying that there's an error.)

ddq

Missing quotation mark before It's. You should also indent because it's good practice.

Khris

Put the missing " (quotemark) before >It's<.

?DaltonSezHi!

Oh my god, I can't believe I didnt see that! xD

Well, thanks for helping.

SMF spam blocked by CleanTalk