AutentificareUtilizatorParola
Autentifica-ma automat la fiecare vizita    
Inregistrare
Inregistrare
Mesaje private
Mesaje private
Pagina de start a forumului MuZone Forum » NPC Scripts

Creaza un subiect nou   Raspunde la subiect
CoachLee NPC
Subiectul anterior :: Subiectul urmator  
Autor Mesaj
Astaroth
Admin
<b><font color=red>Admin</font></b>
Astaroth

Data inscrierii: 04/Oct/2006
Mesaje: 2640
Localitate: MuZone World!

MesajTrimis: 05/05/2007 22:07    Titlul subiectului: CoachLee NPC Raspunde cu citat (quote)

Cod:

// Author: Dragos-91
// NPC ID: <img src=" border="0" /><img src=" border="0" />?
// Location: Map 1002 Twin City 349,313
// NPC Name: CoachLi
// Thanks to tinu for the NameCard ID and gimp for some fixes.

/*
   Notice I put X in AVATAR field, because I don't know
   what avatar# this NPC has. The same situation applies
   for NPC ID, as well as for NameCard item ID.
*/


String[] dlg=null;
switch(option)
{
   case -1:
   {
      if(level()<16 || level()>30)
      {
         String[] tm={
            "AVATARX",
            "TEXT Sorry, you are not the required level for the quest. Come back when you reach level 16, but no higher than 30.",
            "OPTION-1 Sorry, I will come when I am ready."
         };
         dlg=tm;
         break;
      }

      String[] tm={
         "AVATARX",
         "TEXT The circle is beset with peril. You would come to grief if you are careless. The advice from others would be helpful to you.",
         "OPTION0 Will you help me?",
         "OPTION-1 I am experienced!"
      };
      dlg=tm;
      break;
   }
   case 0:
   {
         String[] tm={
            "AVATARX",
            "TEXT I have a friend who has been in circle for many years. If you give me 1000 silvers, I can recommend you to him.",
            "OPTION1 Here is my money.",
            "OPTION-1 You are cheating."
         };
         dlg=tm;
         break;
   }
   case 1:
   {
    if(money()<1000)
      {
       String[] tm={
            "AVATARX",
            "TEXT You do not have enough money!",
            "OPTION-1 I see."
       };
       dlg=tm;
       break;
      }

    if(invSize()>39)
      {
         String[] tm={
            "AVATARX",
            "TEXT You do not have enough room in your inventory.",
            "OPTION-1 Sorry, I will make room."
         };
         dlg=tm;
         break;
      }

      addmoney(-1000);
      atcommand("@item 721116");
      String[] tm={
         "AVATARX",
         "TEXT Thank you, here is your recommendation. Please bring this and an euxenite ore to GeneralCai in Robin habitat and he will reward you.",
         "OPTION-1 Thank you. Bye."
      };
      dlg=tm;
      break;
   }
}
if(dlg!=null)
   dialog(dlg);

script made by Dragos-91
_________________
CoachLee NPC CoachLee NPC
Sus
Vezi profilul utilizatorului Trimite mesaj privat Trimite un mesaj
Scottdavey
Member
<b>Member</b>
Scottdavey

Data inscrierii: 01/Mai/2007
Mesaje: 68
Localitate: Northen Ireland

MesajTrimis: 06/05/2007 15:33    Titlul subiectului: help Raspunde cu citat (quote)

i dont know where to put this
_________________
CoachLee NPC CoachLee NPC
South Park Ultimate Fan!
CoachLee NPC CoachLee NPC
Sus
Vezi profilul utilizatorului Trimite mesaj privat
Afiseaza mesajele pentru a le previzualiza:   
Creaza un subiect nou   Raspunde la subiect    Pagina de start a forumului MuZone Forum » NPC Scripts Ora este GMT + 2 ore
Pagina 1 din 1

 
Mergi direct la:  
Nu puteti crea un subiect nou in acest forum
Nu puteti raspunde in subiectele acestui forum
Nu puteti modifica mesajele proprii din acest forum
Nu puteti sterge mesajele proprii din acest forum
Nu puteti vota in chestionarele din acest forum

Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional

Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro