FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Macro/Keybind mod Scripts





Cenastor
I thought i would share some of the Macro mod scripts i have it may take me a bit to get them all posted there are a few and i have to find them and update to the new minecraft and mod =)
[spoiler=this is my FunBan Script]$${ECHO(“/bc $$u is about to be FUN BANNED!!”);
WAIT(1);
ECHO(“/bc There goes $$u’s IP!”);
WAIT(1);
echo(/bc lets have some more FUN!);
wait(1);
echo(/burn $$u 120);
wait(2);
echo(/bc $$u are ya a little warm?);
wait(2);
loop
echo(/thor $$u);
wait(100ms);
echo(/bc $$u was just struck by lighting);
wait(10);
echo(/bc ok I’m done Smile Cya.);
wait(1)
ECHO(/bc Ready, $$u? Here goes!);
WAIT(2);
ECHO(/bh ban $$u t:$$[time] $$[Reason]);}$$[/spoiler]
[spoiler=Auto Eat]$${if(autoeater);
log(“&2[Macro] &fAutoEater has stopped”);
unset(autoeater);
stop();
else;
log(“&2[Macro] &fAutoEater has started”);
set(autoeater);
do;
if(HUNGER!=20);
if(HUNGER<13);
pick(364);
if(ITEM=364);
do(32);
key(use);
while(ITEM=364);
endif;
pick(320);
if(ITEM=320);
do(32);
key(use);
while(ITEM=320);
endif;
pick(282);
if(ITEM=282)
do(32);
key(use);
while(ITEM=282);
endif;
endif;
if(HUNGER<14);
pick(366);
if(ITEM=366);
do(32);
key(use);
while(ITEM=366);
endif;
endif;
if(HUNGER<15);
pick(297);
if(ITEM=297);
do(32);
key(use);
while(ITEM=297);
endif;
pick(350);
if(ITEM=350);
do(32);
key(use);
while(ITEM=350);
endif;
endif;
if(HUNGER<16);
pick(322);
if(ITEM=322);
do(32);
key(use);
while(ITEM=322);
endif;
endif;
if(HUNGER<17);
pick(360);
if(ITEM=360);
do(32);
key(use);
while(ITEM=360);
endif;
if($$[eatRaw]=1);
pick(367);
if(ITEM=367);
do(32);
key(use);
while(ITEM=367);
endif;
endif;
endif;
if(HUNGER<1Cool;
if($$[eatRaw]=1);
pick(319);
if(ITEM=319);
do(32);
key(use);
while(ITEM=319);
endif;
pick(363);
if(ITEM=363);
do(32);
key(use);
while(ITEM=363);
endif;
endif;
endif;
if(HUNGER<19);
if($$[eatRaw]=1);
pick(365);
if(ITEM=365);
do(32);
key(use);
while(ITEM=365);
endif;
pick(375);
if(ITEM=375);
do(32);
key(use);
while(ITEM=375);
endif;
pick(349);
if(ITEM=349);=
do(32);
key(use);
while(ITEM=349);
endif;
endif;
pick(260);
if(ITEM=260);
do(32);
key(use);
while(ITEM=260);
endif;
endif;
if(HUNGER<20);
pick(357);
if(ITEM=357);
do(32);
key(use);
while(ITEM=357);
endif;
endif;
endif;
loop;
endif;}$
[/spoiler]
[spoiler=Quick Place torch]$${IF(INVSLOT=1);
pick(50);
key(use);
wait(100ms);
slot(1);
endif;
IF(INVSLOT=2);
pick(50);
key(use);
wait(100ms);
slot(2);
endif;
IF(INVSLOT=3);
pick(50);
key(use);
wait(100ms);
slot(3);
endif;
IF(INVSLOT=4);
pick(50);
key(use);
wait(100ms);
slot(4);
endif;
IF(INVSLOT=5);
pick(50);
key(use);
wait(100ms);
slot(5);
endif;
IF(INVSLOT=6);
pick(50);
key(use);
wait(100ms);
slot(6);
endif;
IF(INVSLOT=7);
pick(50);
key(use);
wait(100ms);
slot(7);
endif;
IF(INVSLOT=Cool;
pick(50);
key(use);
wait(100ms);
slot(Cool;
endif;
IF(INVSLOT=9);
pick(50);
key(use);
wait(100ms);
slot(9);
endif;}$$[/spoiler]
[spoiler=ChestShops Auto PLace Sign]$${
pick(323);
PLACESIGN("$$u","$$[Amount]","$$[Buy Sell[B,S]] $$[Price]","$$i:d");
}$$[/spoiler]
[spoiler=Cani’s Auto greet]$${Wait(10);ECHO(Hay there %JOINEDPLAYER%!!)}$$[/spoiler]
[spoiler=GM Toggle]$${if(MODE=1);
echo(/gm 0);
else(MODE=0);
echo(/gm 1);
endif;}$$[/spoiler]
[spoiler=FunBan with LogBlock]$${ECHO("/bc $$u is about to be SUPERBANNED!!");
WAIT(100ms)
ECHO(/bh kick $$u IP Banned!);
ECHO("/bc There goes $$u’s IP!");
WAIT(100ms);
ECHO(/bc Ready, $$u? Here goes!);
WAIT(100ms);
ECHO(/bh ban $$u $$[Reason]);
WAIT(100ms)
ECHO(/bc And this is where i Roll Them Back. Hope you didn’t build with $$u);
WAIT(4);
ECHO(/lb rollback player $$u time 10d);}$$[/spoiler]
[spoiler=GM Toggle with a time b4 you change]$${if(MODE=1);
log(Going To Survival!);
wait(2);
echo(/gm 0);
else(MODE=0);
log(Going To Creative!)
wait(2);
echo(/gm 1);
endif;}$$[/spoiler]
[spoiler=Change your Texture Pack]$${TEXTUREPACK($$k);LOG(IT WORKED)}$$[/spoiler]
[spoiler=Pay/Balance Script]$${prompt(&cmd,"$$[[balance,pay]]");
if(&cmd="balance");
prompt(&cmd3,"$$u");
echo(/balance %&cmd3%);
elseif(&cmd="pay");
prompt(&cmd1,"$$u");
prompt(&cmd2,"$$[Amount]");
echo(/pay %&cmd1% %&cmd2%);
endif;}$$[/spoiler]
[spoiler=Info Macro on a loop]$${if(state);
log(&6State Report &4OFF);
unset(state);
stop();
else;
log(&6State Report &2ON);
set(state);
do;
// report
log(&eState Report:);
log(&bTime(in Ticks): &a%TICKS% &bLightlevel: &a%LIGHT% &bRainstrength: &a%RAIN%);
if(DIMENSION = "SURFACE");
log(&aNormal &bWorld);
elseif(DIMENSION == "NETHER");
log(&aNether &bWorld);
elseif(DIMENSION == "END");
log(&aEnd &bWorld);
else;
log(&aUnkown &bWorld);
endif;
log(Texturepack: &a%TEXTUREPACK%);
log(Server Address: &a%SERVER%);
log(Pos: &a%XPOS%X %YPOS%Y %ZPOS%Z);
log(XP-Level: &a%LEVEL% &bXP: &a%TOTALXP%);
iF(MODE = 1);
log(Gamemode: &aCreative);
else;
log(Gamemode: &aSurvival);
endif;
log(Current ItemID: &a%ITEM% &bExtra Data: &a%DURABILITY%);
log(&eNext Report in 240sec);
// time until the next report
wait(240);
loop;
endif;}$$[/spoiler]
[spoiler=Inventory Slot change info]$${log(&bHolding &c%ITEMNAME% &bin slot &c%INVSLOT% &bwith &c%DURABILITY% &bhits left);
FOREACH(enchantments);
LOG("Held item has enchantment %ENCHANTMENT%");
NEXT;
}$$[/spoiler]
[spoiler=Time day/night toggle]$${if(%TICKS%0);
log(Changeing Time to Day);
wait(2)
echo(/time day);
endif;}$$[/spoiler]
[spoiler=Simple Auto Crafting]$${CRAFT($$i:d,$$[Amount])}$$[/spoiler]
[spoiler=EXP Farm]$${$$[level];
LOG(“You are going to level $$[level]”);
do;
key(attack);
wait(200ms);
until(LEVEL>=$$[level]);
log(You have reached the LV you wanted);}$$[/spoiler]
[spoiler=toggleable Broadcast]$${
if(state);
log(&6Site Broadcast &4OFF);
unset(state);
stop();
else;
log(&6Site Broadcast &2ON);
set(state);
do;
wait(2)
echo(/bc We are in the process of changeing the site name/url);
wait(1)
echo(/bc to http://www.canicraft.com this change can take up to 48 hours);
wait(1)
echo(/bc so if you can not connect to the site this is why.);
wait(1)
echo(/bc sorry for any inconvience this may cause.);
wait(1)
echo(/bc we hope you enjoy the server );
wait(1)
log(this will replay every 5 mins untill you push &c%KEYNAME%)
wait(300)
loop;
endif;
}$$[/spoiler]
[spoiler=Easy Firework Spawning]$${ECHO(/give $$u 401 $$[Amount] name:$$[Name] color:$$[Color1[red,blue,green,]],$$[Color2[red,blue,green,]] fade:$$[Fade[red,blue,green,]] shape:$$[Shape[star,ball,large,creeper,burst]] effect:$$[Effect[trail,twinkle]] power:$$[Power[1,2,3]]);
WAIT(1)
LOG(You you just gave $$u some Fireworks!)}$$[/spoiler]
[spoiler=Thor Toggle]$${if(state);
log(&6Thor &c$$u &4OFF);
unset(state);
stop();
else;
log(&6Thor &c$$u &2ON);
set(state);
do;
echo(/thor $$u);
wait(1);
loop();
endif;
}$$[/spoiler]
[spoiler=Towny Mute/UnMute timed script]$${
prompt($$[TimeInSeconds]);
echo(/mutelist $$[Channel]);
echo(/chmute $$[Channel[local,town,nation,general,mod,admin,]] $$u);
wait(10ms);
echo(/msg $$u &byou have been muted for &c$$[TimeInSeconds] &bseconds in &c$$[Channel] &bChannel);
log(&bMute started on &c$$u &bfor &c$$[TimeInSeconds] &bSeconds);
wait($$[TimeInSeconds]);
echo(/unmute $$[Channel] $$u);
wait(10ms);
echo(/msg $$u &byour mute for &c$$[TimeInSeconds] &bseconds in &c$$[Channel] &bChannel has been lifted);
wait(200ms);
log(&bMute has be lifted on &c$$u);
}$$[/spoiler]
[spoiler=Disconnect with time 20 second warning]$${
prompt($$[Time]);
log(“&bDisconnecting from &c%SERVER% &bin &c$$[Time] &bSeconds”);
#rawr=$$[Time]-20
wait(%#rawr%);
log(“&bYou you be Disconnect from &c%SERVER% &bin &c20 &bSeconds!”);
wait(19);
echo(&c*Poof* &bIm Gone!!);
wait(1);
DISCONNECT();
}$$[/spoiler]
[spoiler=Easy Auto Crafting]$${CRAFT($$i,$$[Amount]);
wait(1)
log(You Crafted &c$$[Amount] &c$$i);}$$[/spoiler][spoiler=Spawn head with Essentials]$${echo(/i 397:3 1 player:$$u);}$$[/spoiler]
[spoiler=balance/blancetop]$${
ECHO(/$$[bal[balance,balancetop]]);
}$$
[/spoiler]
[spoiler=Set Speed ]$${echo(/speed $$[Speed[1,2,3,4,5,6,7,8,9,10]]);}$$[/spoiler]
[spoiler=Colour Codes]
$${
LOG(“&0——————–“);
LOG(“&0—–&fColor Codes&0—–“);
LOG(“&0——————–“);
LOG(“&0### &f- 0″);
LOG(“&1### &f- 1″);
LOG(“&2### &f- 2″);
LOG(“&3### &f- 3″);
LOG(“&4### &f- 4″);
LOG(“&5### &f- 5″);
LOG(“&6### &f- 6″);
LOG(“&7### &f- 7″);
LOG(“&8### &f- 8″);
LOG(“&9### &f- 9″);
LOG(“&a### &f- a”);
LOG(“&b### &f- b”);
LOG(“&c### &f- c”);
LOG(“&d### &f- d”);
LOG(“&e### &f- e”);
LOG(“&f### &f- f”);
LOG(“&fFirst enter a &5& &fand then following by the character listed to”);
LOG(“&fthe right of the color.”);
}$$[/spoiler]
[spoiler=Add/Remove members WorldGuard]$${if((KEYNAME = “UNKNOWN”) || (KEYNAME = “onChat”))
if(@rg)
ifmatches(%CHATCLEAN%,”Region: (.+?),”,&rg,1)
echo(“/rg %@&handle%member %&rg% %@&handlemember%”)
unset(@rg)
endif
endif
else
prompt(@&handlemember,$$u,”User to add”,false,”ESC”)
prompt(@&handle,”$$[Handle[add,remove]]”,”What to do”,false,”ESC”)
set(@rg)
if((@&handlemember = “ESC”) || (@&handle = “ESC”))
unset(@rg)
stop
endif
echo(“/rg info”)
endif [/spoiler]
[spoiler=Saves Death Point]if(HEALTH <= 0)
storeover("place",Deathpoint)
#x = XPOS
#y = YPOS
#z = ZPOS
wait(1)
respawn
log(&7Died @ &c%#x% %#y% %#z%&7. Saved to "&aDeathpoint&7"!)
endif}$$[/spoiler]
[spoiler=Shows Fall DMG]{$$set(#hole,0)
set(#block,-1)
unset(hole)
do
inc(#hole)
getidrel(+0,-%#hole%,+0,#block)
while(#block = 0)
dec(#hole)
#fd = #hole – 3
if(#fd < 0)
set(#fd,0)
endif}$$[/spoiler]
[spoiler=Armor break WARNING]$${
IF((%BOOTSDURABILITY%0));LOG(“&6Your boots will break soon!”); ENDIF;
IF((%LEGGINGSDURABILITY%0));LOG(“&6Your leggings will break soon!”); ENDIF;
IF((%CHESTPLATEDURABILITY%0));LOG(“&6Your chestplate will break soon!”); ENDIF;
IF((%HELMDURABILITY%0));LOG(“&6Your helmet will break soon!”);ENDIF;
}$$[/spoiler]
[spoiler=Auto-Swim]endif;
if(autoswim);
log(“Autoswim & Walk Disabled”);
keyup(forward);
keyup(jump);
unset(autoswim);
else;
log(“Autswim & Walk Enabled”);
set(autoswim);
keydown(forward);
keydown(jump);
do;
key(jump);
while(autoswim);
endif;[/spoiler]
[spoiler=Sign place on Cheats]$${
TOGGLEKEY(sneak);
PICK(323);
WAIT(100ms);
PLACESIGN($$[Line1],$$[Line2],$$[Line3],$$[Line4]);
LOG(You just placed a SIGN with);
LOG(&c$$[Line1]);
LOG(&c$$[Line2]);
LOG(&c$$[Line3]);
LOG(&c$$[Line4]);
}$$
[/spoiler]
Related topics
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.