Then what is wrong with my script?
I am trying to make two elevators. This is the script from what I call the "Elevator control panel". It is supposed to receive commands from the caller-buttons, calculate the difference they have from both elevators and then, if the left one has a bigger difference from the right one, send the right one to the caller's floor or else send the left one to the caller's floor.
This is my script so far...
integer RLevel; // Right elevator's level
integer LLevel; // Left elevator's level
integer CLevel; // Caller's level
string sRLevel; // Right elevator's level