Astro/Reality help with room alert command

Scorp

Member
Feb 5, 2013
68
4
hi, so I'm learning to code c# amd I am playing around with Astro/Reality. I'd like to make a command so it would send a room alert. I've been looking around in stuff like moderationhandler.cs for help but can't find a way.

The :ha code is

Code:
SessionManager.BroadcastPacket(UserAlertModernComposer.Compose("Important Message", Msg));
                        break;

But I Don't see how I could make this exclusively to the one room. Thanks :p
 

Hindi

System.out.println(" ");
Dec 30, 2012
989
192
hi, so I'm learning to code c# amd I am playing around with Astro/Reality. I'd like to make a command so it would send a room alert. I've been looking around in stuff like moderationhandler.cs for help but can't find a way.

The :ha code is

Code:
SessionManager.BroadcastPacket(UserAlertModernComposer.Compose("Important Message", Msg));
                        break;

But I Don't see how I could make this exclusively to the one room. Thanks :p
ChatCommandHandler.cs
that's what most of the emu's have..
 

Users who are viewing this thread

Top