Update for PRC8 functions update

Update for PRC8 functions update.  Updated spells & abilities haks.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2025-02-10 14:06:04 -05:00
parent 82994dfc26
commit 7f1e0b1070
381 changed files with 270 additions and 261 deletions

View File

@@ -12,24 +12,24 @@ to the proper color that matches this script's
name (ie coloritemwhite script goes on the line
which changes the color to white!)
**These GetRGB(#,#,#) are the functions you use to get the proper
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
color for the token you are setting on the item name.**
GetRGB() := WHITE // no parameters, default is white
GetRGB(15,15,1):= YELLOW
GetRGB(15,5,1) := ORANGE
GetRGB(15,1,1) := RED
GetRGB(7,7,15) := BLUE
GetRGB(1,15,1) := NEON GREEN
GetRGB(1,11,1) := GREEN
GetRGB(9,6,1) := BROWN
GetRGB(11,9,11):= LIGHT PURPLE
GetRGB(12,10,7):= TAN
GetRGB(8,1,8) := PURPLE
GetRGB(13,9,13):= PLUM
GetRGB(1,7,7) := TEAL
GetRGB(1,15,15):= CYAN
GetRGB(1,1,15) := BRIGHT BLUE
PRCGetRGB() := WHITE // no parameters, default is white
PRCGetRGB(15,15,1):= YELLOW
PRCGetRGB(15,5,1) := ORANGE
PRCGetRGB(15,1,1) := RED
PRCGetRGB(7,7,15) := BLUE
PRCGetRGB(1,15,1) := NEON GREEN
PRCGetRGB(1,11,1) := GREEN
PRCGetRGB(9,6,1) := BROWN
PRCGetRGB(11,9,11):= LIGHT PURPLE
PRCGetRGB(12,10,7):= TAN
PRCGetRGB(8,1,8) := PURPLE
PRCGetRGB(13,9,13):= PLUM
PRCGetRGB(1,7,7) := TEAL
PRCGetRGB(1,15,15):= CYAN
PRCGetRGB(1,1,15) := BRIGHT BLUE
*/
////////////////////////////////////////////////
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
//This color system is by Genji, w/ special thanks to
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
string GetRGB(int red = 15,int green = 15,int blue = 15);
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
//Main Script//
@@ -49,9 +49,9 @@ void main()
object oPC = GetPCSpeaker();
string sName = GetLocalString(oPC, "ONNC");
//string sToken = GetRGB(#,#,#);
//string sToken = PRCGetRGB(#,#,#);
//(This is the proper function you need to create below!)
string sToken = GetRGB(1,15,15); //Cyan
string sToken = PRCGetRGB(1,15,15); //Cyan
string sMod;
@@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
}
//Prototype String Defined
string GetRGB(int red = 15,int green = 15,int blue = 15)
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
{
object coloringBook = GetObjectByTag("ColoringBook");
if (coloringBook == OBJECT_INVALID)

View File

@@ -12,24 +12,24 @@ to the proper color that matches this script's
name (ie coloritemwhite script goes on the line
which changes the color to white!)
**These GetRGB(#,#,#) are the functions you use to get the proper
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
color for the token you are setting on the item name.**
GetRGB() := WHITE // no parameters, default is white
GetRGB(15,15,1):= YELLOW
GetRGB(15,5,1) := ORANGE
GetRGB(15,1,1) := RED
GetRGB(7,7,15) := BLUE
GetRGB(1,15,1) := NEON GREEN
GetRGB(1,11,1) := GREEN
GetRGB(9,6,1) := BROWN
GetRGB(11,9,11):= LIGHT PURPLE
GetRGB(12,10,7):= TAN
GetRGB(8,1,8) := PURPLE
GetRGB(13,9,13):= PLUM
GetRGB(1,7,7) := TEAL
GetRGB(1,15,15):= CYAN
GetRGB(1,1,15) := BRIGHT BLUE
PRCGetRGB() := WHITE // no parameters, default is white
PRCGetRGB(15,15,1):= YELLOW
PRCGetRGB(15,5,1) := ORANGE
PRCGetRGB(15,1,1) := RED
PRCGetRGB(7,7,15) := BLUE
PRCGetRGB(1,15,1) := NEON GREEN
PRCGetRGB(1,11,1) := GREEN
PRCGetRGB(9,6,1) := BROWN
PRCGetRGB(11,9,11):= LIGHT PURPLE
PRCGetRGB(12,10,7):= TAN
PRCGetRGB(8,1,8) := PURPLE
PRCGetRGB(13,9,13):= PLUM
PRCGetRGB(1,7,7) := TEAL
PRCGetRGB(1,15,15):= CYAN
PRCGetRGB(1,1,15) := BRIGHT BLUE
*/
////////////////////////////////////////////////
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
//This color system is by Genji, w/ special thanks to
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
string GetRGB(int red = 15,int green = 15,int blue = 15);
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
//Main Script//
@@ -49,9 +49,9 @@ void main()
object oPC = GetPCSpeaker();
string sName = GetLocalString(oPC, "ONNC");
//string sToken = GetRGB(#,#,#);
//string sToken = PRCGetRGB(#,#,#);
//(This is the proper function you need to create below!)
string sToken = GetRGB(1,11,1); //Green
string sToken = PRCGetRGB(1,11,1); //Green
string sMod;
@@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
}
//Prototype String Defined
string GetRGB(int red = 15,int green = 15,int blue = 15)
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
{
object coloringBook = GetObjectByTag("ColoringBook");
if (coloringBook == OBJECT_INVALID)

View File

@@ -12,24 +12,24 @@ to the proper color that matches this script's
name (ie coloritemwhite script goes on the line
which changes the color to white!)
**These GetRGB(#,#,#) are the functions you use to get the proper
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
color for the token you are setting on the item name.**
GetRGB() := WHITE // no parameters, default is white
GetRGB(15,15,1):= YELLOW
GetRGB(15,5,1) := ORANGE
GetRGB(15,1,1) := RED
GetRGB(7,7,15) := BLUE
GetRGB(1,15,1) := NEON GREEN
GetRGB(1,11,1) := GREEN
GetRGB(9,6,1) := BROWN
GetRGB(11,9,11):= LIGHT PURPLE
GetRGB(12,10,7):= TAN
GetRGB(8,1,8) := PURPLE
GetRGB(13,9,13):= PLUM
GetRGB(1,7,7) := TEAL
GetRGB(1,15,15):= CYAN
GetRGB(1,1,15) := BRIGHT BLUE
PRCGetRGB() := WHITE // no parameters, default is white
PRCGetRGB(15,15,1):= YELLOW
PRCGetRGB(15,5,1) := ORANGE
PRCGetRGB(15,1,1) := RED
PRCGetRGB(7,7,15) := BLUE
PRCGetRGB(1,15,1) := NEON GREEN
PRCGetRGB(1,11,1) := GREEN
PRCGetRGB(9,6,1) := BROWN
PRCGetRGB(11,9,11):= LIGHT PURPLE
PRCGetRGB(12,10,7):= TAN
PRCGetRGB(8,1,8) := PURPLE
PRCGetRGB(13,9,13):= PLUM
PRCGetRGB(1,7,7) := TEAL
PRCGetRGB(1,15,15):= CYAN
PRCGetRGB(1,1,15) := BRIGHT BLUE
*/
////////////////////////////////////////////////
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
//This color system is by Genji, w/ special thanks to
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
string GetRGB(int red = 15,int green = 15,int blue = 15);
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
//Main Script//
@@ -49,9 +49,9 @@ void main()
object oPC = GetPCSpeaker();
string sName = GetLocalString(oPC, "ONNC");
//string sToken = GetRGB(#,#,#);
//string sToken = PRCGetRGB(#,#,#);
//(This is the proper function you need to create below!)
string sToken = GetRGB(1,15,1); //neon green
string sToken = PRCGetRGB(1,15,1); //neon green
string sMod;
@@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
}
//Prototype String Defined
string GetRGB(int red = 15,int green = 15,int blue = 15)
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
{
object coloringBook = GetObjectByTag("ColoringBook");
if (coloringBook == OBJECT_INVALID)

View File

@@ -12,24 +12,24 @@ to the proper color that matches this script's
name (ie coloritemwhite script goes on the line
which changes the color to white!)
**These GetRGB(#,#,#) are the functions you use to get the proper
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
color for the token you are setting on the item name.**
GetRGB() := WHITE // no parameters, default is white
GetRGB(15,15,1):= YELLOW
GetRGB(15,5,1) := ORANGE
GetRGB(15,1,1) := RED
GetRGB(7,7,15) := BLUE
GetRGB(1,15,1) := NEON GREEN
GetRGB(1,11,1) := GREEN
GetRGB(9,6,1) := BROWN
GetRGB(11,9,11):= LIGHT PURPLE
GetRGB(12,10,7):= TAN
GetRGB(8,1,8) := PURPLE
GetRGB(13,9,13):= PLUM
GetRGB(1,7,7) := TEAL
GetRGB(1,15,15):= CYAN
GetRGB(1,1,15) := BRIGHT BLUE
PRCGetRGB() := WHITE // no parameters, default is white
PRCGetRGB(15,15,1):= YELLOW
PRCGetRGB(15,5,1) := ORANGE
PRCGetRGB(15,1,1) := RED
PRCGetRGB(7,7,15) := BLUE
PRCGetRGB(1,15,1) := NEON GREEN
PRCGetRGB(1,11,1) := GREEN
PRCGetRGB(9,6,1) := BROWN
PRCGetRGB(11,9,11):= LIGHT PURPLE
PRCGetRGB(12,10,7):= TAN
PRCGetRGB(8,1,8) := PURPLE
PRCGetRGB(13,9,13):= PLUM
PRCGetRGB(1,7,7) := TEAL
PRCGetRGB(1,15,15):= CYAN
PRCGetRGB(1,1,15) := BRIGHT BLUE
*/
////////////////////////////////////////////////
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
//This color system is by Genji, w/ special thanks to
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
string GetRGB(int red = 15,int green = 15,int blue = 15);
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
//Main Script//
@@ -49,9 +49,9 @@ void main()
object oPC = GetPCSpeaker();
string sName = GetLocalString(oPC, "ONNC");
//string sToken = GetRGB(#,#,#);
//string sToken = PRCGetRGB(#,#,#);
//(This is the proper function you need to create below!)
string sToken = GetRGB(13,9,13); //Plum
string sToken = PRCGetRGB(13,9,13); //Plum
string sMod;
@@ -92,7 +92,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
}
//Prototype String Defined
string GetRGB(int red = 15,int green = 15,int blue = 15)
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
{
object coloringBook = GetObjectByTag("ColoringBook");
if (coloringBook == OBJECT_INVALID)

View File

@@ -12,24 +12,24 @@ to the proper color that matches this script's
name (ie coloritemwhite script goes on the line
which changes the color to white!)
**These GetRGB(#,#,#) are the functions you use to get the proper
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
color for the token you are setting on the item name.**
GetRGB() := WHITE // no parameters, default is white
GetRGB(15,15,1):= YELLOW
GetRGB(15,5,1) := ORANGE
GetRGB(15,1,1) := RED
GetRGB(7,7,15) := BLUE
GetRGB(1,15,1) := NEON GREEN
GetRGB(1,11,1) := GREEN
GetRGB(9,6,1) := BROWN
GetRGB(11,9,11):= LIGHT PURPLE
GetRGB(12,10,7):= TAN
GetRGB(8,1,8) := PURPLE
GetRGB(13,9,13):= PLUM
GetRGB(1,7,7) := TEAL
GetRGB(1,15,15):= CYAN
GetRGB(1,1,15) := BRIGHT BLUE
PRCGetRGB() := WHITE // no parameters, default is white
PRCGetRGB(15,15,1):= YELLOW
PRCGetRGB(15,5,1) := ORANGE
PRCGetRGB(15,1,1) := RED
PRCGetRGB(7,7,15) := BLUE
PRCGetRGB(1,15,1) := NEON GREEN
PRCGetRGB(1,11,1) := GREEN
PRCGetRGB(9,6,1) := BROWN
PRCGetRGB(11,9,11):= LIGHT PURPLE
PRCGetRGB(12,10,7):= TAN
PRCGetRGB(8,1,8) := PURPLE
PRCGetRGB(13,9,13):= PLUM
PRCGetRGB(1,7,7) := TEAL
PRCGetRGB(1,15,15):= CYAN
PRCGetRGB(1,1,15) := BRIGHT BLUE
*/
////////////////////////////////////////////////
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
//This color system is by Genji, w/ special thanks to
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
string GetRGB(int red = 15,int green = 15,int blue = 15);
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
//Main Script//
@@ -49,9 +49,9 @@ void main()
object oPC = GetPCSpeaker();
string sName = GetLocalString(oPC, "ONNC");
//string sToken = GetRGB(#,#,#);
//string sToken = PRCGetRGB(#,#,#);
//(This is the proper function you need to create below!)
string sToken = GetRGB(15,1,1); //Red
string sToken = PRCGetRGB(15,1,1); //Red
string sMod;
@@ -92,7 +92,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
}
//Prototype String Defined
string GetRGB(int red = 15,int green = 15,int blue = 15)
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
{
object coloringBook = GetObjectByTag("ColoringBook");
if (coloringBook == OBJECT_INVALID)

View File

@@ -12,24 +12,24 @@ to the proper color that matches this script's
name (ie coloritemwhite script goes on the line
which changes the color to white!)
**These GetRGB(#,#,#) are the functions you use to get the proper
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
color for the token you are setting on the item name.**
GetRGB() := WHITE // no parameters, default is white
GetRGB(15,15,1):= YELLOW
GetRGB(15,5,1) := ORANGE
GetRGB(15,1,1) := RED
GetRGB(7,7,15) := BLUE
GetRGB(1,15,1) := NEON GREEN
GetRGB(1,11,1) := GREEN
GetRGB(9,6,1) := BROWN
GetRGB(11,9,11):= LIGHT PURPLE
GetRGB(12,10,7):= TAN
GetRGB(8,1,8) := PURPLE
GetRGB(13,9,13):= PLUM
GetRGB(1,7,7) := TEAL
GetRGB(1,15,15):= CYAN
GetRGB(1,1,15) := BRIGHT BLUE
PRCGetRGB() := WHITE // no parameters, default is white
PRCGetRGB(15,15,1):= YELLOW
PRCGetRGB(15,5,1) := ORANGE
PRCGetRGB(15,1,1) := RED
PRCGetRGB(7,7,15) := BLUE
PRCGetRGB(1,15,1) := NEON GREEN
PRCGetRGB(1,11,1) := GREEN
PRCGetRGB(9,6,1) := BROWN
PRCGetRGB(11,9,11):= LIGHT PURPLE
PRCGetRGB(12,10,7):= TAN
PRCGetRGB(8,1,8) := PURPLE
PRCGetRGB(13,9,13):= PLUM
PRCGetRGB(1,7,7) := TEAL
PRCGetRGB(1,15,15):= CYAN
PRCGetRGB(1,1,15) := BRIGHT BLUE
*/
////////////////////////////////////////////////
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
//This color system is by Genji, w/ special thanks to
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
string GetRGB(int red = 15,int green = 15,int blue = 15);
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
//Main Script//
@@ -49,9 +49,9 @@ void main()
object oPC = GetPCSpeaker();
string sName = GetLocalString(oPC, "ONNC");
//string sToken = GetRGB(#,#,#);
//string sToken = PRCGetRGB(#,#,#);
//(This is the proper function you need to create below!)
string sToken = GetRGB(1,7,7); //Teal
string sToken = PRCGetRGB(1,7,7); //Teal
string sMod;
@@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
}
//Prototype String Defined
string GetRGB(int red = 15,int green = 15,int blue = 15)
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
{
object coloringBook = GetObjectByTag("ColoringBook");
if (coloringBook == OBJECT_INVALID)

View File

@@ -12,24 +12,24 @@ to the proper color that matches this script's
name (ie coloritemwhite script goes on the line
which changes the color to white!)
**These GetRGB(#,#,#) are the functions you use to get the proper
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
color for the token you are setting on the item name.**
GetRGB() := WHITE // no parameters, default is white
GetRGB(15,15,1):= YELLOW
GetRGB(15,5,1) := ORANGE
GetRGB(15,1,1) := RED
GetRGB(7,7,15) := BLUE
GetRGB(1,15,1) := NEON GREEN
GetRGB(1,11,1) := GREEN
GetRGB(9,6,1) := BROWN
GetRGB(11,9,11):= LIGHT PURPLE
GetRGB(12,10,7):= TAN
GetRGB(8,1,8) := PURPLE
GetRGB(13,9,13):= PLUM
GetRGB(1,7,7) := TEAL
GetRGB(1,15,15):= CYAN
GetRGB(1,1,15) := BRIGHT BLUE
PRCGetRGB() := WHITE // no parameters, default is white
PRCGetRGB(15,15,1):= YELLOW
PRCGetRGB(15,5,1) := ORANGE
PRCGetRGB(15,1,1) := RED
PRCGetRGB(7,7,15) := BLUE
PRCGetRGB(1,15,1) := NEON GREEN
PRCGetRGB(1,11,1) := GREEN
PRCGetRGB(9,6,1) := BROWN
PRCGetRGB(11,9,11):= LIGHT PURPLE
PRCGetRGB(12,10,7):= TAN
PRCGetRGB(8,1,8) := PURPLE
PRCGetRGB(13,9,13):= PLUM
PRCGetRGB(1,7,7) := TEAL
PRCGetRGB(1,15,15):= CYAN
PRCGetRGB(1,1,15) := BRIGHT BLUE
*/
////////////////////////////////////////////////
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
//This color system is by Genji, w/ special thanks to
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
string GetRGB(int red = 15,int green = 15,int blue = 15);
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
//Main Script//
@@ -49,9 +49,9 @@ void main()
object oPC = GetPCSpeaker();
string sName = GetLocalString(oPC, "ONNC");
//string sToken = GetRGB(#,#,#);
//string sToken = PRCGetRGB(#,#,#);
//(This is the proper function you need to create below!)
string sToken = GetRGB(); //nothing for white..
string sToken = PRCGetRGB(); //nothing for white..
string sMod;
@@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
}
//Prototype String Defined
string GetRGB(int red = 15,int green = 15,int blue = 15)
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
{
object coloringBook = GetObjectByTag("ColoringBook");
if (coloringBook == OBJECT_INVALID)

View File

@@ -12,24 +12,24 @@ to the proper color that matches this script's
name (ie coloritemwhite script goes on the line
which changes the color to white!)
**These GetRGB(#,#,#) are the functions you use to get the proper
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
color for the token you are setting on the item name.**
GetRGB() := WHITE // no parameters, default is white
GetRGB(15,15,1):= YELLOW
GetRGB(15,5,1) := ORANGE
GetRGB(15,1,1) := RED
GetRGB(7,7,15) := BLUE
GetRGB(1,15,1) := NEON GREEN
GetRGB(1,11,1) := GREEN
GetRGB(9,6,1) := BROWN
GetRGB(11,9,11):= LIGHT PURPLE
GetRGB(12,10,7):= TAN
GetRGB(8,1,8) := PURPLE
GetRGB(13,9,13):= PLUM
GetRGB(1,7,7) := TEAL
GetRGB(1,15,15):= CYAN
GetRGB(1,1,15) := BRIGHT BLUE
PRCGetRGB() := WHITE // no parameters, default is white
PRCGetRGB(15,15,1):= YELLOW
PRCGetRGB(15,5,1) := ORANGE
PRCGetRGB(15,1,1) := RED
PRCGetRGB(7,7,15) := BLUE
PRCGetRGB(1,15,1) := NEON GREEN
PRCGetRGB(1,11,1) := GREEN
PRCGetRGB(9,6,1) := BROWN
PRCGetRGB(11,9,11):= LIGHT PURPLE
PRCGetRGB(12,10,7):= TAN
PRCGetRGB(8,1,8) := PURPLE
PRCGetRGB(13,9,13):= PLUM
PRCGetRGB(1,7,7) := TEAL
PRCGetRGB(1,15,15):= CYAN
PRCGetRGB(1,1,15) := BRIGHT BLUE
*/
////////////////////////////////////////////////
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
//This color system is by Genji, w/ special thanks to
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
string GetRGB(int red = 15,int green = 15,int blue = 15);
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
//Main Script//
@@ -49,9 +49,9 @@ void main()
object oPC = GetPCSpeaker();
string sName = GetLocalString(oPC, "ONNC");
//string sToken = GetRGB(#,#,#);
//string sToken = PRCGetRGB(#,#,#);
//(This is the proper function you need to create below!)
string sToken = GetRGB(15,15,1); //Yellow
string sToken = PRCGetRGB(15,15,1); //Yellow
string sMod;
@@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
}
//Prototype String Defined
string GetRGB(int red = 15,int green = 15,int blue = 15)
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
{
object coloringBook = GetObjectByTag("ColoringBook");
if (coloringBook == OBJECT_INVALID)

View File

@@ -78,7 +78,7 @@ void HandleCommands(object oPC)
nInt = GetObjectType(oTarget);
int nLvl = GetHitDice(oPC);
string sLFG;
sLFG = GetRGB(1,15,15);
sLFG = PRCGetRGB(1,15,15);
sLFG += "Level ";
sLFG += IntToString(nLvl);
sLFG += " Looking For Group!";

View File

@@ -9,24 +9,24 @@
// simple function to use the name of a item holding escape sequences that, though they will not compile,
// they can be interpreted at run time and produce rbg scales between 32 and 255 in increments.
// -- allows 3375 colors to be made.
// for example SendMessageToPC(pc,GetRGB(15,15,1)+ "Help, I'm on fire!") will produce yellow text.
// for example SendMessageToPC(pc,PRCGetRGB(15,15,1)+ "Help, I'm on fire!") will produce yellow text.
// more examples:
/*
GetRGB() := WHITE // no parameters, default is white
GetRGB(15,15,1):= YELLOW
GetRGB(15,5,1) := ORANGE
GetRGB(15,1,1) := RED
GetRGB(7,7,15) := BLUE
GetRGB(1,15,1) := NEON GREEN
GetRGB(1,11,1) := GREEN
GetRGB(9,6,1) := BROWN
GetRGB(11,9,11):= LIGHT PURPLE
GetRGB(12,10,7):= TAN
GetRGB(8,1,8) := PURPLE
GetRGB(13,9,13):= PLUM
GetRGB(1,7,7) := TEAL
GetRGB(1,15,15):= CYAN
GetRGB(1,1,15) := BRIGHT BLUE
PRCGetRGB() := WHITE // no parameters, default is white
PRCGetRGB(15,15,1):= YELLOW
PRCGetRGB(15,5,1) := ORANGE
PRCGetRGB(15,1,1) := RED
PRCGetRGB(7,7,15) := BLUE
PRCGetRGB(1,15,1) := NEON GREEN
PRCGetRGB(1,11,1) := GREEN
PRCGetRGB(9,6,1) := BROWN
PRCGetRGB(11,9,11):= LIGHT PURPLE
PRCGetRGB(12,10,7):= TAN
PRCGetRGB(8,1,8) := PURPLE
PRCGetRGB(13,9,13):= PLUM
PRCGetRGB(1,7,7) := TEAL
PRCGetRGB(1,15,15):= CYAN
PRCGetRGB(1,1,15) := BRIGHT BLUE
*/
// issues? contact genji@thegenji.com
// special thanks to ADAL-Miko and Rich Dersheimer in the bio forums.

View File

@@ -86,34 +86,34 @@ string Script = GetLocalString(oPC, "LetoScript");
//Colorful Server Message sent to all PCs when they enter the module..
string sMessage;
sMessage = GetRGB(1,7,7); //The color (See above)
sMessage = PRCGetRGB(1,7,7); //The color (See above)
sMessage += "Welcome "; //The text to be colorized by the above color.
sMessage += GetRGB(15,15,1);//The next color.
sMessage += PRCGetRGB(15,15,1);//The next color.
sMessage += "to "; //The next text to be colorized by the above color.
sMessage += GetRGB(15,1,1);//etc..
sMessage += PRCGetRGB(15,1,1);//etc..
sMessage += "the ";
sMessage += GetRGB(7,7,15);
sMessage += PRCGetRGB(7,7,15);
sMessage += "CEP 2.1 ";
sMessage += GetRGB(1,15,1);
sMessage += PRCGetRGB(1,15,1);
sMessage += "UNDERWORLD ";
sMessage += GetRGB(13,9,13);
sMessage += PRCGetRGB(13,9,13);
sMessage += "Created ";
sMessage += GetRGB(12,10,7);
sMessage += PRCGetRGB(12,10,7);
sMessage += "Designed & ";
sMessage += GetRGB();
sMessage += PRCGetRGB();
sMessage += "Scripted by: ";
sMessage += GetRGB(15,5,1);
sMessage += PRCGetRGB(15,5,1);
sMessage += "Genisys (Guile) ";
sMessage += GetRGB(12,10,7);
sMessage += PRCGetRGB(12,10,7);
sMessage += "from 3/20/07 to 8/29/10.";
string sNewb = GetRGB(1,15,1) + "Be sure to read your journal frequently (press J).";
string sNewb2 = GetRGB(1,15,1) + "Be sure to examine the Rest Menu carefully.";
string sNewb = PRCGetRGB(1,15,1) + "Be sure to read your journal frequently (press J).";
string sNewb2 = PRCGetRGB(1,15,1) + "Be sure to examine the Rest Menu carefully.";
string sEnter = GetName(oPC) + " / " + GetPCPlayerName(oPC) + " / " + GetPCPublicCDKey(oPC) + " / " + GetPCIPAddress(oPC) + " Entered." ;
SendMessageToAllDMs(sEnter);
string sEnter2 = GetRGB(15,5,1) + GetName(oPC) + " / " + GetPCPlayerName(oPC) + " / " + GetPCPublicCDKey(oPC) + " / " + GetPCIPAddress(oPC) + "Has Entered." ;
string sEnter2 = PRCGetRGB(15,5,1) + GetName(oPC) + " / " + GetPCPlayerName(oPC) + " / " + GetPCPublicCDKey(oPC) + " / " + GetPCIPAddress(oPC) + "Has Entered." ;
SendMessageToAllPC(sEnter2);
AssignCommand(oPC, ActionSpeakString("Greetings everyone!", TALKVOLUME_SHOUT));