|
 |
| MuZone Forum - Best MMORPG Forum |
 |
| Subiectul anterior :: Subiectul urmator |
| Autor |
Mesaj |
Astaroth Admin


Data inscrierii: 04/Oct/2006 Mesaje: 2640 Localitate: MuZone World!
|
Trimis: 05/05/2007 22:04 Titlul subiectului: GemHunt NPC |
|
|
| Cod: |
// Written by gimp 2/6/6
// NPC ID: No idea (GemHuntBoss)
// Location: Market, near the center
String[] dlg=null;
switch(option)
{
case -1:
{
String[] tm={
"AVATAR 1",
"TEXT Would you like to pay one million silvers (1,000,000) to făcute a GemHunt event?",
"OPTION0 Maybe... I'd like more information.",
"OPTION1 Here you are.",
"OPTION-1 Sorry, no thanks."
};
dlg=tm;
break;
}
case 0:
{
String[] tm = {
"AVATAR 1",
"TEXT First, I announce that ten normal gems will drop in TC in five minutes. After five minutes, I drop them around the center for the city for all to pick up. Everyone has fun, and you become known for your generosity. This costs a million silvers.",
"OPTION1 Sounds good. Here's the money.",
"OPTION-1 No thanks."
};
dlg = tm;
break;
}
case 1:
{
if (money() < 1000000) { option = 2; break; }
addmoney(-1000000);
// This is where I need a bit of help.
// There must be some command that will create a GM message.
// Also, there must be some command that will drop items. I believe it used to be @drop.
// Help from anyone would be appreciated.
// I believe I should use two atcommands(): one with no delay and another with 300000 delay.
String[] tm = {
"AVATAR 1",
"TEXT Thank you! The gems will drop in five (5) minutes.",
"OPTION-1 Thanks!"
};
dlg = tm;
break;
}
case 2:
{
String[] tm = {
"AVATAR 1",
"TEXT Sorry, but you do not have a million silvers. Please get the money and try again.",
"OPTION-1 Will do. Bye!"
};
dlg = tm;
break;
}
}
if(dlg!=null)
dialog(dlg);
|
script by gimp _________________
 |
|
| Sus |
|
|
|
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
|
 |
|
|