I have the playergates system, and I would like to send a message to the player saying "You are now <whatever>" after they walk into the gate. How would I?

And is there a better system out there?
 
depending on the method you use like OnDoubleclick (Mobile from) you would use from to indicate the mobile that doubleclicked the gate and then do

from.SendMessage("You did it!");
 
forgot about adding a check to make sure from is a player

public override bool OnMoveOver( Mobile from )
{
if (from != PlayerMobile) {return;} // does nothing if the mobile stepping on it isn't a player

from.SendMessage("You did it!");
}
 
those commands for the server when you type in ?.
then you get--
shutdown
shutdown -no save
etc.
etc.

Where are they located?
I need to set up a couple to start mono for my server when I do a restart. I dont think it likes the way it is now.
 
It is located in main.cs in the core. Look for the kill() method.

Mono doesn't like processes being restarted in general. It can't really get around the closing of a window and reopening of it. At least this was the case when I was working with mono a year or so ago.
 
Back