mirror of
https://github.com/moparisthebest/MoparClassic
synced 2024-12-22 23:48:48 -05:00
20 lines
400 B
Plaintext
20 lines
400 B
Plaintext
/**
|
|
* War
|
|
*/
|
|
if(!isWarRunning()) {
|
|
SendMessage("War mode currently not running!");
|
|
return;
|
|
}
|
|
if(!inATeam()) {
|
|
SendMessage("You are not apart of a team!");
|
|
return;
|
|
}
|
|
NpcTalk("Would you like to be teleported to your teams base in wilderness?");
|
|
option = PickOption("Yes, I'm ready to fight!", "No, I'm not ready yet");
|
|
if(option == 1) {
|
|
teleportPlayer();
|
|
}
|
|
else {
|
|
}
|
|
|