function command_FLASH( socket, cmdString )
{
//var socket = pUser.socket;
// Notes
// FadeOut = 0x00
// FadeIn = 0x01
// LightFlash = 0x02
// FadeInOut = 0x03
// DarkFlash = 0x04
var myPacket = new Packet; // Create new packet stream
myPacket.ReserveSize( 3 ); // Reserve packet size of 3, which is optimal for packet 0xBC in this case
myPacket.WriteByte( 0, 0x70 ); // Write packetID (0x70) at position 0
myPacket.WriteByte( 1, 0x02 ); // Write Season flag at position 1 (0+WriteByte, or 0+1)
myPacket.WriteByte( 2, 0x00 ); // Write PlayMusic (0x00 = no, 0x01 = yes - doesn't seem to work) at position 2 (1+WriteByte, or 0+1)
socket.Send( myPacket );
myPacket.Free();
return false;
}
{
//var socket = pUser.socket;
// Notes
// FadeOut = 0x00
// FadeIn = 0x01
// LightFlash = 0x02
// FadeInOut = 0x03
// DarkFlash = 0x04
var myPacket = new Packet; // Create new packet stream
myPacket.ReserveSize( 3 ); // Reserve packet size of 3, which is optimal for packet 0xBC in this case
myPacket.WriteByte( 0, 0x70 ); // Write packetID (0x70) at position 0
myPacket.WriteByte( 1, 0x02 ); // Write Season flag at position 1 (0+WriteByte, or 0+1)
myPacket.WriteByte( 2, 0x00 ); // Write PlayMusic (0x00 = no, 0x01 = yes - doesn't seem to work) at position 2 (1+WriteByte, or 0+1)
socket.Send( myPacket );
myPacket.Free();
return false;
}