GhettoTrucker
Member
As i'm new to this and i want some practice, please post some simple requests and i'll do my best to create them. This will help me and you. And best of all, ITS FREE!!!!
-Pull 3 X ores from Hangks
-If successful print "The Ores were found."
-If none found put on mining gear
-If no mining gear in inventory pull from Hangks
-Then print "No ores were found in storage, but you're ready to mine."
-Pull 3 X ores from Hangks
-If successful print "The Ores were found."
-If none found put on mining gear
-If no mining gear in inventory pull from Hangks
[b]-If not in Hangks then try to adventure for it[/b]
-Then print "No ores were found in storage, but you're ready to mine."
void main()
cli_execute("hagnk 3 chrome ore";
{
if(hangk_amount(chrome ore) =3)
cli_execute("echo 3 chrome ores were found!");
}
{
if(hangk_amount(chrome ore) >3)
cli_execute("hangk 1 miner's helmet, 1 7-Foot Dwarven mattock, 1 miner's pants");
cli_execute("outfit mining gear");
}
{
if(hangk_amount(miner's helmet, 7-foot Dwarven mattok, miner's pants) >1)
cli_execute("echo Almost ready");
}
{
repeat
cli_execute("adventure * Itznotyerzitz Mine")
until (item_amount(miner's helmet, 7-Foot Dwarven mattock, miner's pants) =1)
}
{
<WHEN EVERYTHING =TRUE>
cli_execute("echo No Ores were found but you're ready to mine!");
}
{
<WHEN EVERYTHING =TRUE>
cli_execute("echo No Ores were found but you're ready to mine!");
}
void main()
{
cli_execute("hagnk 3 chrome ore";
{
if(hangk_amount(chrome ore) >3)
cli_execute("echo 3 chrome ores were found!");
}
{
if(hangk_amount(chrome ore) >3)
cli_execute("hangk 1 miner's helmet, 1 7-Foot Dwarven mattock, 1 miner's pants");
cli_execute("outfit mining gear");
}
{
if(hangk_amount(miner's helmet, 7-foot Dwarven mattok, miner's pants) >1)
cli_execute("echo Almost ready");
}
{
repeat
cli_execute("adventure * Itznotyerzitz Mine")
until (item_amount(miner's helmet, 7-Foot Dwarven mattock, miner's pants) =1)
}
{
<WHEN EVERYTHING =TRUE>
{
print("Ready!");
}
{
<WHEN EVERYTHING =TRUE>
{
print("Ready!");
void main()
{
cli_execute("hagnk 3 chrome ore");
{
if(hangk_amount(chrome ore) >3)
cli_execute("echo 3 chrome ores were found!");
}
{
if(hangk_amount(chrome ore) <3)
cli_execute("hangk 1 miner's helmet, 1 7-Foot Dwarven mattock, 1 miner's pants");
cli_execute("outfit mining gear");
}
{
if(hangk_amount(miner's helmet, 7-foot Dwarven mattok, miner's pants) <1)
{
repeat
cli_execute("adventure * Itznotyerzitz Mine")
until (item_amount(miner's helmet, 7-Foot Dwarven mattock, miner's pants) =1)
}
}
{
<WHEN EVERYTHING =TRUE>
print("echo No Ores were found but you're ready to mine!");
}
if( true)
{
print("A code block that extends");
print("for more then the 1 line");
print("directly under the if.");
}
if(hangk_amount(chrome ore) >= 3)