PDA

View Full Version : Trinity World Chat Script by Command



dk_grimer
21-02-13, 05:55 AM
This script is available only for Trinity based cores! World chat script by command


http://img171.imageshack.us/img171/6485/stripez.png
http://img803.imageshack.us/img803/6042/preview2cs.jpg


http://img171.imageshack.us/img171/6485/stripez.png
http://img197.imageshack.us/img197/7673/preview3k.jpg


http://img171.imageshack.us/img171/6485/stripez.png
http://img703.imageshack.us/img703/2787/preview4ga.jpg


Command usage: .world <text>


As Ghostcrawler said in [his thread] (http://www.ac-web.org/forums/showthread.php?157590-Trinity-Core-World-Chat-System), there are eight ranks for each case!


[!] List of them:


PLAYER
VIP
MODERATOR
GAMEMASTER
EVENTM
HEADGM
DEVELOPER
ADMINISTRATOR
OWNER


[?] How to add these ranks:


Open and edit common.h in src/server/shared/
Hit Ctrl + F (keys) and search for "enum AccountTypes"
Replace the existing ranks with:

SEC_PLAYER = 0,
SEC_VIP = 1,
SEC_MODERATOR = 2,
SEC_GAMEMASTER = 3,
SEC_EVENTM = 4,
SEC_HEADGM = 5,
SEC_DEVELOPER = 6,
SEC_ADMINISTRATOR = 7,
SEC_OWNER = 8,
SEC_CONSOLE = 9 // must be always last in list, accounts must have less security level always also
Save and close.


[?] How to add custom scripts:
Click and visit this link [HERE (http://www.trinitycore.info/How-to:CustomScript)]


[#] Link to the scrip:
Link one_[PASTEBIN.ORG] (http://adf.ly/Ja59Y)




Ghostcrawler336 [Original thread here] (http://www.ac-web.org/forums/showthread.php?157590-Trinity-Core-World-Chat-System)
AlexeWarr Rewrote & improoved the script