Code: Select all
function command_ALLMOVE( socket, cmdString )
{
var pUser = socket.currentChar;
var value = (cmdString == "ON");
var sysMessage;
pUser.allmove = value;
pUser.Teleport();
if( value )
sysMessage = GetDictionaryEntry( 39, socket.Language );
else
sysMessage = GetDictionaryEntry( 40, socket.Language );
socket.SysMessage( sysMessage );
}
Code: Select all
var value = (cmdString == "ON");
Code: Select all
var value = (cmdString.toUpperCase() == "ON");
Do the same thing with houseicons and they should work again.