This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Are you able to figure it out? I can't - Multiple Choice
//Greek Gods Mod v.0.0.5-----------------//
//Made by: MrGlassArmor-----------------//
//Do not distribute without permission!//
//Madusa Head Weapon//
ModPE.setItem(256, "skull_zombie", 0, "Madusa Head");
function attackHook(attacker, victim){
if(Player.getCarriedItem() == 256){
var dmg = 100;
Entity.setHealth(victim, Entity.getHealth(victim) - dmg);
}
if(cmd[0] == "Madusa_head");{
Player.addItemInventory(256, 1, 0);
if(cmd[0] == "madusa_head");{
//Staff of Hades Weapon//
ModPE.setItem(257, "blaze_rod", 0, "Staff of Hades");
if(Player.getCarriedItem() == 257){
var dmgi = 5;
Entity.setHealth(victim, Entity.getHealth(victim) - dmgi);
if(cmd[0] == "Staff");{
Player.addItemInventory(257, 1, 0);
if(cmd[0] == "staff");{
//Start Text//
function newLevel()
{
clientMessage("§5Greek Gods Mod v.0.0.5");
clientMessage("§e§7Do /help for All Commands!");
clientMessage("§e§4Made by MrGlassArmor");
//Selene Command//
function procCmd(command){
var cmd = command.split(" ");
if(cmd[0] == "Selene"){
clientMessage('§1GGM: §fSelene Summoned Moonlight!');
Level.setTime(14000);
if(cmd[0] == "selene"){
//Apollo Command//
if(cmd[0] == "apollo"){
clientMessage('§1GGM: §fApollo Summoned Daylight!');
Level.setTime(1200);
if(cmd[0] == "Apollo"){
"Its all SHITS and GIGGLES, till someone GIGGLES and SHITS!"
You have to put all commands (if(cmd[0]==...)) in one procCmd()-function.
oh, ok
uh, still wont work
Can you post how it is now?
//Greek Gods Mod v.0.0.5-----------------//
//Made by: MrGlassArmor-----------------//
//Do not distribute without permission!//
//Madusa Head Weapon//
ModPE.setItem(256, "skull_zombie", 0, "Madusa Head");
function attackHook(attacker, victim){
if(Player.getCarriedItem() == 256){
var dmg = 100;
Entity.setHealth(victim, Entity.getHealth(victim) - dmg);
}
if(cmd[0] == "Madusa_head");{
Player.addItemInventory(256, 1, 0);
}
if(cmd[0] == "madusa_head");{
Player.addItemInventory(256, 1, 0);
}
//Staff of Hades Weapon//
ModPE.setItem(257, "blaze_rod", 0, "Staff of Hades");
function attackHook(attacker, victim){
if(Player.getCarriedItem() == 257){
var dmgi = 5;
Entity.setHealth(victim, Entity.getHealth(victim) - dmgi);
}
}
if(cmd[0] == "Staff");{
Player.addItemInventory(257, 1, 0);
}
if(cmd[0] == "staff");{
Player.addItemInventory(257, 1, 0);
}
//Start Text//
function newLevel()
{
clientMessage("§5Greek Gods Mod v.0.0.5");
clientMessage("§e§7Do /help for All Commands!");
clientMessage("§e§4Made by MrGlassArmor");
}
//Selene Command//
function procCmd(command){
var cmd = command.split(" ");
if(cmd[0] == "Selene"){
clientMessage('§1GGM: §fSelene Summoned Moonlight!');
Level.setTime(14000);
}
}
function procCmd(command){
var cmd = command.split(" ");
if(cmd[0] == "selene"){
clientMessage('§1GGM: §fSelene Summoned Moonlight!');
Level.setTime(14000);
}
//Apollo Command//
function procCmd(command){
var cmd = command.split(" ");
if(cmd[0] == "apollo"){
clientMessage('§1GGM: §fApollo Summoned Daylight!');
Level.setTime(1200);
}
function procCmd(command){
var cmd = command.split(" ");
if(cmd[0] == "Apollo"){
clientMessage('§1GGM: §fApollo Summoned Daylight!');
Level.setTime(1200);
}
}
"Its all SHITS and GIGGLES, till someone GIGGLES and SHITS!"

-
View User Profile
-
View Posts
-
Send Message
Curse PremiumYou have to put all commands (if(cmd[0]==...)) in one procCmd()-function.
oh, ok
"Its all SHITS and GIGGLES, till someone GIGGLES and SHITS!"

uh, still wont work
"Its all SHITS and GIGGLES, till someone GIGGLES and SHITS!"

-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCan you post how it is now?