Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Updated Scripted RC (https://forums.graalonline.com/forums/showthread.php?t=57557)

Skyld 02-09-2005 02:26 PM

Updated Scripted RC
 
2 Attachment(s)
I've updated the scripted RC with a few new functions.

- Database NPC button now works
- Option to allow highlighting if someone says your nickname
- New indicator at the bottom-left changes color if someone says something while the RC window is not visible, and flashes if someone says your name while the RC window is not visible
- this.hasnc variable now works
- You can now reopen the RC by firing the weapon if you have closed it
- Help button enabled

Things I plan to add to it (if possible):

- The ability to check from the server whether the player has NC when the RC loads
- An option to enable/disable the indicator
- Editing Database NPC flags
- Folder configuration
- Adding of NPCs
- Player attributes viewing and editing

The file is attached. As with the others, just add it to a weapon called "RC". For the NC and File Manager, you still need the weapons "TextEditor" and "FileManager", which can be found here:
http://forums.graalonline.com/forums....php?p=1044870

I'll be working on my version more, so if you have any suggestions, or anything you'd like adding, then let me know and I'll put it in my next release if I can.
Of course, you could always add whatever to it yourself for your own use. ^^

Edit - skyld_updatedrc2.txt
Now with automatic NC right detection option.
Only problem is, is that it says "account has loaded the rights of account" in RC every time it is loaded while the option is enabled.
This can be disabled in the options if you do not have NC anyway.

Nitro2030ce 02-13-2005 04:53 PM

found a bug! chat does not work after using skyld_updatedrc2.txt as the RC

Skyld 02-13-2005 05:13 PM

Quote:

Originally Posted by Nitro2030ce
found a bug! chat does not work after using skyld_updatedrc2.txt as the RC

Anything in particular you did before it stopped working? It appears fine for me, and (obviously) unless you have normal RC rights, then the scripted RC will not work.

Nitro2030ce 02-13-2005 05:16 PM

i have all the rights exept for shange staff accounts, and when i first added the script the chat did not work

Skyld 02-13-2005 05:33 PM

1 Attachment(s)
Actually added the chat routine now.
I cannot believe I forgot it.


All times are GMT +2. The time now is 07:41 PM.

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