Jump to content
  • 0

something wrong on line 8


Question

Posted


prontera,151,189,5 script Soul Linker 59,{
mes "[soul Linker]";
mes "Good day my friend. I am the Soul Linker";
mes "I can link your soul to the Valkyrian Gods to increase your abilities";
mes "Do you want to try?";
next;
switch(select ("Yes,please:Sorry, I am not interested")) {
Yes (Case 1):
next;
 mes "[soul Linker]";
 mes "Ok.Please select which spirit you would like to be linked to.";
 mes "Please be adviced that you can only be linked to a soul with the same job as you";
 mes "Please select your job from the following list.";
 next;
 switch(select ("Monk:Star Gladiator:Sage:Crusader:Super Novice:Knight:Wizard:Priest:Assassin:Rouge:Blacksmith:Hunter:Soul Linker"))
{
 case 1:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_MONK,360000,5;
  skilleffect 447,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 2:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_STAR,360000,5;
  skilleffect 448,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 3:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_SAGE,360000,5;
  skilleffect 449,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 4:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_CRUSADER,360000,5;
  skilleffect 450,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 5:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_SUPERNOVICE,360000,5;
  skilleffect 451,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 6:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_KNIGHT,360000,5;
  skilleffect 452,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 7:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_WIZARD,360000,5;
  skilleffect 453,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 8:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_PRIEST,360000,5;
  skilleffect 454,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 9:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_ASSASIN,360000,5;
  skilleffect 455,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 10:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_ROUGE,360000,5;
  skilleffect 456,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 11:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_ASSASIN,360000,5;
  skilleffect 457,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 12:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_BLACKSMITH,360000,5;
  skilleffect 458,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 13:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_HUNTER,360000,5;
  skilleffect 460,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 14:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_SOULLINKER,360000,5;
  skilleffect 461,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
}
No (Case 2):
next;
  mes "[soul Linker]";
  mes "Have a nice day.";
  close;
}
 }

the error missing function or calling undeclaired function

on line 8

Bump :D

9 answers to this question

Recommended Posts

Posted
prontera,151,189,5 script Soul Linker 59,{
mes "[soul Linker]";
mes "Good day my friend. I am the Soul Linker";
mes "I can link your soul to the Valkyrian Gods to increase your abilities";
mes "Do you want to try?";
next;
switch(select ("Yes,please:Sorry, I am not interested")) {
case 1:
	next;
	mes "[soul Linker]";
	mes "Ok.Please select which spirit you would like to be linked to.";
	mes "Please be adviced that you can only be linked to a soul with the same job as you";
	mes "Please select your job from the following list.";
	next;
	switch(select ("Monk:Star Gladiator:Sage:Crusader:Super Novice:Knight:Wizard:Priest:Assassin:Rouge:Blacksmith:Hunter:Soul Linker"))
	{
	case 1:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_MONK,360000,5;
		skilleffect 447,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 2:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_STAR,360000,5;
		skilleffect 448,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 3:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_SAGE,360000,5;
		skilleffect 449,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 4:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_CRUSADER,360000,5;
		skilleffect 450,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 5:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_SUPERNOVICE,360000,5;
		skilleffect 451,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 6:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_KNIGHT,360000,5;
		skilleffect 452,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 7:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_WIZARD,360000,5;
		skilleffect 453,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 8:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_PRIEST,360000,5;
		skilleffect 454,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 9:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_ASSASIN,360000,5;
		skilleffect 455,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 10:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_ROUGE,360000,5;
		skilleffect 456,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 11:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_ASSASIN,360000,5;
		skilleffect 457,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 12:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_BLACKSMITH,360000,5;
		skilleffect 458,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 13:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_HUNTER,360000,5;
		skilleffect 460,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 14:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_SOULLINKER,360000,5;
		skilleffect 461,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	}
case 2:
	next;
	mes "[soul Linker]";
	mes "Have a nice day.";
	close;
}
}

  • Upvote 1
Posted

@trenx

they get STONED after they got Link on there character.

also there is something wrong after the link, for example i choose Whitesmith, if they get talis the "FULL ADRENALINE RUSH SKILL" WILL BE ENABLE TO USE, but when i test that NPC nothing happens the Full adrenaline rush skill is still disabled even if u get talis on that npc.

Posted

Ohhhh i see please do the following

on Case X:

next;

Erase this next; as its not necesarry for the script to work you can add it after mes "Here you go!";

Posted

still gets stoned :D


prontera,151,189,5 script SoulLinker 59,{
mes "[soul Linker]";
mes "Good day my friend. I am the Soul Linker";
mes "I can link your soul to the Valkyrian Gods to increase your abilities";
mes "Do you want to try?";
next;
switch(select ("Yes,please:Sorry, I am not interested")) {
case 1:
next;
mes "[soul Linker]";
mes "Ok.Please select which spirit you would like to be linked to.";
mes "Please be adviced that you can only be linked to a soul with the same job as you";
mes "Please select your job from the following list.";
next;
switch(select ("Monk:Star Gladiator:Sage:Crusader:Super Novice:Knight:Wizard:Priest:Assassin:Rouge:Blacksmith:Hunter:Soul Linker"))
{
case 1:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_MONK,360000,5;
skilleffect 447,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 2:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_STAR,360000,5;
skilleffect 448,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 3:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_SAGE,360000,5;
skilleffect 449,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 4:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_CRUSADER,360000,5;
skilleffect 450,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 5:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_SUPERNOVICE,360000,5;
skilleffect 451,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 6:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_KNIGHT,360000,5;
skilleffect 452,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 7:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_WIZARD,360000,5;
skilleffect 453,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 8:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_PRIEST,360000,5;
skilleffect 454,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 9:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_ASSASIN,360000,5;
skilleffect 455,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 10:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_ROUGE,360000,5;
skilleffect 456,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 11:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_ASSASIN,360000,5;
skilleffect 457,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 12:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_BLACKSMITH,360000,5;
skilleffect 458,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 13:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_HUNTER,360000,5;
skilleffect 460,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 14:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_SOULLINKER,360000,5;
skilleffect 461,0;
mes "Thank you! And I hope to see you soon again.";
close;
}
case 2:
mes "[soul Linker]";
mes "Have a nice day.";
close;
}
}

Posted

i can't moved when i get stoned, and also when u get linked nothings change on your skill, like on Whitesmith Job if u get linked the FULL ADRENALINE RUSH will be enable right?

Posted

well..in your way...certain soul link effect didnt take place with the command using..

like SinX Sonic Blow Damage is not doubled after Soul Linked...

and yet..there is no need to choose what link to have..since soul link are fixed for each job...

you may use this to improve / fix your script.

[ Pastebin] Soul Linker NPC

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...