whats wrong with this line? ("undefined token" error)

Started by Fee, Fri 30/03/2007 00:34:42

Previous topic - Next topic

Fee

player.ChangeRoom(Character[FEE].PreviousRoom, GetGlobalInt (50), GetGloablInt (51));

It says "undefined symbol" GetGlobalInt

Im assuming I'm confused about somthing between versions :/

Ashen

#1
The GlobalInt functions haven't changed, so it's probably not that ... However if that's exactly how the line is in the script, there're two things I can see. Character[FEE] needs a lowercase 'c', and the second GetGlobalInt actually says GetGloablInt (which I do all the time) - that'd cause the error you're getting.
I know what you're thinking ... Don't think that.

Fee

OMG lol.. such a noob :S

kk thanks again Ashen.


Candle

And don't use in your subject field whats wrong with this? as it helps no one when they search for help and someone may have posted something that could help them. :)

Fee

ok. i guess i can do that :P

However, if you notice the search doesnt just include the topic, it searches the whole thread and highlights where what you searched in a summary for each topic it lists, so IMO it makes no difference either way. :D

Ashen

Quote
so IMO it makes no difference either way.
Except that using descriptive thread titles is in the rules, so it DOES make a difference. I didn't mention it because I thought it was OK (as it said ' with this line' which - to me - implied it was a script problem). I've added the error type for extra clarity, though, as the search might make that disticntion.

However - Candle, thanks for helping, but leave the moderating to moderators, OK? (That's also in the rules :))
I know what you're thinking ... Don't think that.

Candle


SMF spam blocked by CleanTalk