// SitpointDetection.cs using IHXR.Simulation; public class SitpointDetection : ScriptBase { public Sitpoint WatchedSitpoint; public override void OnUserSit(SitpointInfo sit) { if (WatchedSitpoint == null || WatchedSitpoint.IsNull || WatchedSitpoint.SitpointId == sit.SitpointId) Log("[SitpointDetection] " + sit.Username + " sat at " + sit.SitpointId); } public override void OnUserStand(SitpointInfo sit) { if (WatchedSitpoint == null || WatchedSitpoint.IsNull || WatchedSitpoint.SitpointId == sit.SitpointId) Log("[SitpointDetection] " + sit.Username + " stood from " + sit.SitpointId); } }