Aegis Support Board: Check My Script - Aegis Support Board

Jump to content

ASB News! ASB 5.0 Beta V2 has now been released!. See here for more Info.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Check My Script NPC

#1 User is offline   KillerHunter 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 10
  • Joined: 11-July 04

Posted 16 July 2004 - 06:06 PM

So what's wrong :)

npc "prontera" "Skills Changer" 1_F_01 127 209 5 5 5
	OnClick:
  dialog "[Skills Changer]"
  dialog "Bon ca va aller plus vite avec moi, choisit t'as job."
  wait
  while(1)
  	choose menu "Jobs 1-0" "Jobs 2-1" "Jobs 2-2"
    case 1
    	while(1)
      	choose menu "Acolyte." "Archer." "Magician."  "Merchant." "Swordman." "Thief." "Nevermind."
      	case 1
        jobchange ACOLYTE
        close
      	break
      	case 2
        jobchange ARCHER
        close
      	break
      	case 3
        jobchange MAGICIAN
        close
      	break
      	case 4
        jobchange MERCHANT
        close
      	break
      	case 5
        jobchange SWORDMAN
        close
      	break
      	case 6
        jobchange THIEF
        close
      	break
      	case 7
        close
        return
      	break
      endchoose
    	endwhile
    	exitwhile
    case 2
    	while(1)
      	choose menu "Assassin." "Blacksmith." "Hunter."  "Knight." "Priest." "Wizard." "Nevermind."
      	case 1
        jobchange ASSASSIN
        close
      	break
      	case 2
        jobchange BLACKSMITH
        close
      	break
      	case 3
        jobchange HUNTER
        close
      	break
      	case 4
        jobchange KNIGHT
        close
      	break
      	case 5
        jobchange PRIEST
        close
      	break
      	case 6
        jobchange WIZARD
        close
      	break
      	case 7
        close
        return
      	break
      endchoose
    	endwhile
    	exitwhile
    CASE 3
    	while(1)
      	choose menu "Alchemist." "Bard/Dancer." "Crusader." "Monk." "Rogue." "Sage." "Super Novice" "Nevermind."
      	case 1
        jobchange ALCHEMIST
        close
      	break
      	case 2
        if v[VAR_SEX] == 0	
          	jobchange DANCER
                close
                    	
              	elseif v[VAR_SEX] == 1	
          	jobchange BARD
        	close
      	break
      	case 3
        jobchange CRUSADER
        close
      	break
      	case 4
        jobchange MONK
        close
      	break
      	case 5
        jobchange ROGUE
        close
      	break
      	case 6
        jobchange SAGE
        close
      	break
      	case 7
        jobchange SUPERNOVICE
        close
      	break
      	case 8
        close
        return
      	break
      endchoose
    	endwhile
    	exitwhile
  	endchoose
  endwhile
  exitwhile
	return


Yeah yeah I know the requirements are not in the scripits, it's not very impostant because I and my friends only use my server to test good builds for iRO. So I'll know what's wrong and I'll script in peace after.
0

#2 User is offline   azndragon 

  • ROCP Creator & SQL God
  • PipPipPipPipPip
  • Group: Members
  • Posts: 475
  • Joined: 15-July 03
  • Location:Brampton, Ontario, Canada

Posted 16 July 2004 - 07:45 PM

Wrong place, this is not for NPCs.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users