Here is something I was playing w/ the other day on Maloria, and Cyber_X felt that it wasn't what he wanted, instead he wants me to make an online/left notification like Graal2k2 x.X I think that is HIGHLY unoriginal, and a pure waste of my scripting abilities =/ This is now in use on SL (it is in the NC, but not in use by the players,
YET, so hang out there if you want to see what it can do). It has two functions:
/notify [acc]
typing this will set strings in the Control-NPC to have it send you a PM when that player comes online.
/endnotify
This part isn't yet tested, He was rushing me to get it off :'( but I am quite sure that it works, or if it doesn't, is a simple little error =P You MUST have an NPC Server to use this, as it sends the pm FROM the NPC Server, and uses a Control-NPC to store the strings. It took me a bit to make it, not a horribly long amount of time, but to adjust and make the strings work properly. I labeled what needs to be the Weapon, and what needs to be in the Control-NPC. The part with a weapon, I recommend you name it like -notify so it is invisible to the players, and do:
NPC Code:
if (actionplayeronline)
{ with (getplayer(#a))
{ if (!hasweapon(-notify))
{ addweapon -notify;}
}
}
as it gives to everyone. Enjoy, and let me know if you have viewed and/or are intending on using it XP. If you want to see some NPC Server (serversided except the triggeraction for the most part) commands, this is a good example
---Shifter