I created an NPC to change Gamepoints to Scrolls. But when I try, it falls CruelDragon. anyone know why?
Thanks for help
[@chgtointegral]
{
#if
#say
___{FCOLOR/10}Actualmente dispones de: {FCOLOR/10}<$HLPOINT> Puntos Integrales{FCOLOR/12}\\
En este servicio podras cambiar tus Puntos Integrales a Integrales.\
El valor de cada Integral es el siguiente:\
{FCOLOR/12}{FCOLOR/10} GreenIntegral{FCOLOR/12}={FCOLOR/1}10{FCOLOR/12}Puntos Integrales{FCOLOR/12}\
{FCOLOR/12}{FCOLOR/10} VioletIntegral{FCOLOR/12}={FCOLOR/1}100{FCOLOR/12}Puntos Integrales{FCOLOR/12}\
{FCOLOR/12}{FCOLOR/10} YellowIntegral{FCOLOR/12}={FCOLOR/1}1000{FCOLOR/12}Puntos Integrales{FCOLOR/12}\
{FCOLOR/12}{FCOLOR/10} RedIntegral{FCOLOR/12}={FCOLOR/1}10000{FCOLOR/12}Puntos Integrales{FCOLOR/12}\\
{FCOLOR/12}<[ Obtener GreenIntegral ]/@obtgreen>{FCOLOR/12}\
{FCOLOR/12}<[ Obtener VioletIntegral ]/@obtviolet>{FCOLOR/12}\
{FCOLOR/12}<[ Obtener YellowIntegral ]/@obtyellow>{FCOLOR/12}\
{FCOLOR/12}<[ Obtener RedIntegral ]/@obtred>{FCOLOR/12}\
{FCOLOR/12}<[ Volver ]/@main>{FCOLOR/12}\\
[@obtgreen]
#if
HLSCRIPTCMD CHECKPOINT 10
#act
HLSCRIPTCMD SETPOINT - 10
give GreenIntegral 1
#say
Tienes {FCOLOR/1}<$HLPOINT>{FCOLOR/12} Puntos Integrales!\
Has obtenido {FCOLOR/14}GreenIntegral{FCOLOR/12}\
<[ Continuar canjeando ]/@chgtointegral>\
#ELSESAY
No tienes suficientes {FCOLOR/14}Puntos Integrales{FCOLOR/12}.\\
<[ Volver ]/@main>\\
[@obtviolet]
#if
HLSCRIPTCMD CHECKPOINT 100
#act
HLSCRIPTCMD SETPOINT - 100
give VioletIntegral 1
#say
Tienes {FCOLOR/1}<$HLPOINT>{FCOLOR/12} Puntos Integrales!\
Has obtenido {FCOLOR/14}VioletIntegral{FCOLOR/12}\
<[ Continuar canjeando ]/@chgtointegral>\
#ELSESAY
No tienes suficientes {FCOLOR/14}Puntos Integrales{FCOLOR/12}.\\
<[ Volver ]/@main>\\
[@obtyellow]
#if
HLSCRIPTCMD CHECKPOINT 1000
#act
HLSCRIPTCMD SETPOINT - 1000
give RedIntegral 1
#say
Tienes {FCOLOR/1}<$HLPOINT>{FCOLOR/12} Puntos Integrales!\
Has obtenido {FCOLOR/14}YellowIntegral{FCOLOR/12}\
<[ Continuar canjeando ]/@chgtointegral>\
#ELSESAY
No tienes suficientes {FCOLOR/14}Puntos Integrales{FCOLOR/12}.\\
<[ Volver ]/@main>\\
[@obtviolet]
#if
HLSCRIPTCMD CHECKPOINT 10000
#act
HLSCRIPTCMD SETPOINT - 10000
give RedIntegral 1
#say
Tienes {FCOLOR/1}<$HLPOINT>{FCOLOR/12} Puntos Integrales!\
Has obtenido {FCOLOR/14}RedIntegral{FCOLOR/12}\
<[ Continuar canjeando ]/@chgtointegral>\
#ELSESAY
No tienes suficientes {FCOLOR/14}Puntos Integrales{FCOLOR/12}.\\
<[ Volver ]/@main>\\
}
Thanks for help