Skip to content

Instantly share code, notes, and snippets.

View MrPowerGamerBR's full-sized avatar
:shipit:
We facepalm, we shrug and we hack around it and never look back.

MrPowerGamerBR MrPowerGamerBR

:shipit:
We facepalm, we shrug and we hack around it and never look back.
View GitHub Profile
command /pegarpot:
trigger:
give 1 potion with name "&6Poção TOP" to the player
on consume of potion:
if name of player's held item is "&6Poção TOP":
cancel event
remove player's held item from player's inventory
apply potion of regeneration 3 to the player
apply potion of speed 3 to the player
@MrPowerGamerBR
MrPowerGamerBR / verificarServidor.js
Created August 2, 2015 22:52
Verifica um arquivo JSON em JavaScript, uso isto para poder verificar o status do meu Servidor via Tasker.
var arr = JSON.parse(global("HTTPD"));
setLocal("beforethestorm", global("MineStatus"));
setGlobal("MineStatus", false);
if (arr.status == true) {
setGlobal("MineStatus", true);
} else {
setGlobal("MineStatus", false);
@MrPowerGamerBR
MrPowerGamerBR / Emoticons.html
Last active August 29, 2015 14:26
Emoticons para Blogs do Blogger.
<style>
img.emoticon {
position: relative;
top: 5px;
border: 0px solid rgb(238, 238, 238);
padding: 0px;
}
position: relative;
top: 5px;
</style>