- Apr 15, 2009
- 4
- 0
- 12
I'm very bad in script but with help i tried to make a npc for upgrade skills, asking class, skill lvl...
My problem is that the npc doesn't start, here is the script but isn't finished.
And i have very problems on the red zone.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@MagLevelInt]
{
#if
#say
Este servicio permite aumentar el nivel de tus magias.\
{FCOLOR/10}El coste dependera de la subida que desees.{FCOLOR/12}\
Que clase eres?\\
<[Guerrero]/@StartWarMag>
<[Mago]/@StartWizMag>
<[Taoista]/@StartTaoMag>
#ELSESAY
Tienes que ser minimo nivel {FCOLOR/10}40{FCOLOR/12} para\
utilizar este servicio.\\
<[Volver]/@main>
[@StartWarMag]
#IF
#SAY
Selecciona el nivel al que deseas aumentar la magia.\
<Subir Magia a Nivel 6/@UpWarSkill6>\
<Subir Magia a Nivel 7/@UpWarSkill7>\
<Subir Magia a Nivel 8/@UpWarSkill8>\
<Subir Magia a Nivel 9/@UpWarSkill9>\
[@UpWarSkill6]
#IF
#SAY
Que magia deseas subir?\
<SwordmanShip/@Slaying6>\ <Slaying/@UpSlayingwar6>\
<AdvancedSlay/@UpAdvwar6>\ <HalfMoon/@UpHalfwar6>\
<ShoulderDash/@UpDashwar6>\ <FlamingSword/@UpFlamwar6>\
<DragonRise/@UpDragonwar6>\ <BladeStorm/@UpBladewar6>\
<DestructSurge/@UpDSurgewar6>\ <Interchange/@UpInterwar6>\
<Defiance/@UpDefiancewar6>\ <Beacon/@UpBeaconwar6>\
<Might/@UpMightwar6>\ <Assault/@UpAssaultwar6>\
[@Slaying6]
#ACT
MOV A4 %SLAYING6
goto @UpSlaying6
[@UpSlaying6]
#if
CHKMAGICLEVEL %A4 5
HLSCRIPTCMD CHECKPOINT 500
#act
HLSCRIPTCMD SETPOINT - 500
HLSCRIPTCMD CHANGEMAGLEVEL %A4 6
#SAY
Tu magia ha aumentado a nivel 6, dispones de {FCOLOR/1}<$HLPOINT>{FCOLOR/12} Puntos Integrales.\
<[Volver]/@main>\
#ELSESAY
Se ha producido un error, comprueba que dispongas de los\
requisitos minimos para utilizar este servicio.\\
My problem is that the npc doesn't start, here is the script but isn't finished.
And i have very problems on the red zone.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@MagLevelInt]
{
#if
#say
Este servicio permite aumentar el nivel de tus magias.\
{FCOLOR/10}El coste dependera de la subida que desees.{FCOLOR/12}\
Que clase eres?\\
<[Guerrero]/@StartWarMag>
<[Mago]/@StartWizMag>
<[Taoista]/@StartTaoMag>
#ELSESAY
Tienes que ser minimo nivel {FCOLOR/10}40{FCOLOR/12} para\
utilizar este servicio.\\
<[Volver]/@main>
[@StartWarMag]
#IF
#SAY
Selecciona el nivel al que deseas aumentar la magia.\
<Subir Magia a Nivel 6/@UpWarSkill6>\
<Subir Magia a Nivel 7/@UpWarSkill7>\
<Subir Magia a Nivel 8/@UpWarSkill8>\
<Subir Magia a Nivel 9/@UpWarSkill9>\
[@UpWarSkill6]
#IF
#SAY
Que magia deseas subir?\
<SwordmanShip/@Slaying6>\ <Slaying/@UpSlayingwar6>\
<AdvancedSlay/@UpAdvwar6>\ <HalfMoon/@UpHalfwar6>\
<ShoulderDash/@UpDashwar6>\ <FlamingSword/@UpFlamwar6>\
<DragonRise/@UpDragonwar6>\ <BladeStorm/@UpBladewar6>\
<DestructSurge/@UpDSurgewar6>\ <Interchange/@UpInterwar6>\
<Defiance/@UpDefiancewar6>\ <Beacon/@UpBeaconwar6>\
<Might/@UpMightwar6>\ <Assault/@UpAssaultwar6>\
[@Slaying6]
#ACT
MOV A4 %SLAYING6
goto @UpSlaying6
[@UpSlaying6]
#if
CHKMAGICLEVEL %A4 5
HLSCRIPTCMD CHECKPOINT 500
#act
HLSCRIPTCMD SETPOINT - 500
HLSCRIPTCMD CHANGEMAGLEVEL %A4 6
#SAY
Tu magia ha aumentado a nivel 6, dispones de {FCOLOR/1}<$HLPOINT>{FCOLOR/12} Puntos Integrales.\
<[Volver]/@main>\
#ELSESAY
Se ha producido un error, comprueba que dispongas de los\
requisitos minimos para utilizar este servicio.\\