Zil
06.05.2006, 12:05
Where is my mistake? Ziggurat can't teleport me :(
AI
class ascetics_necropolis_entry : teleporter {
parameter:
string fnHi = "ziggurat001.htm";
string fnNoItem = "ziggurat_no_way.htm";
handler:
EventHandler MENU_SELECTED(ask, talker) {
if (ask == -6) {
if ((OwnItemCount(talker, 9961) == 1) || (OwnItemCount(talker, 9960) == 1) || (OwnItemCount(talker, 9962) == 1)) {
InstantTeleport(talker, -52297, 79109, -4739);
}
else {
ShowPage(talker, fnNoItem);
}
}
}
}
htm
<html><head><body>
<font color="LEVEL">Ziggurat Gatekeeper</font>:
Welcome to Ascetics Necropolis
This place is for level 58-69 players, and i recommend a strong party.
Do you wish to enter necropolis?
<a action="bypass -h menu_select?ask=-6">"I want to Enter"</a>
</body></html>
Plz, help me :)
AI
class ascetics_necropolis_entry : teleporter {
parameter:
string fnHi = "ziggurat001.htm";
string fnNoItem = "ziggurat_no_way.htm";
handler:
EventHandler MENU_SELECTED(ask, talker) {
if (ask == -6) {
if ((OwnItemCount(talker, 9961) == 1) || (OwnItemCount(talker, 9960) == 1) || (OwnItemCount(talker, 9962) == 1)) {
InstantTeleport(talker, -52297, 79109, -4739);
}
else {
ShowPage(talker, fnNoItem);
}
}
}
}
htm
<html><head><body>
<font color="LEVEL">Ziggurat Gatekeeper</font>:
Welcome to Ascetics Necropolis
This place is for level 58-69 players, and i recommend a strong party.
Do you wish to enter necropolis?
<a action="bypass -h menu_select?ask=-6">"I want to Enter"</a>
</body></html>
Plz, help me :)