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