Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-27-2002, 11:15 PM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
Gift: Online Notification Script

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
Attached Files
File Type: graal notify.graal (1.3 KB, 223 views)
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:10 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.