This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$${ | |
IFMATCHES(%CHATCLEAN%,^You are now AFK) | |
SET(@isafk) | |
SET(@&cooldown,0) | |
ENDIF | |
IFMATCHES(%CHATCLEAN%,You are no longer AFK) | |
UNSET(@isafk) | |
ENDIF | |
}$$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IFMATCHES(%CHATCLEAN%,^\[ECCAuc\] (To stop seeing auctions .+|The auction for .+ (has .+ seconds? remaining|ended with no bids)|.+ has bid .+ on .+|ANTI-SNIPE .+|.+ won .+ with a bid of .+)); | |
FILTER(); | |
ENDIF; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.c0 | |
{ | |
color : #000000; | |
} | |
.c1 | |
{ | |
color : #0000AA; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$${ | |
UNSAFE(0); | |
DO; | |
&message = ""; | |
FOREACH(effects); | |
IF(EFFECTTIME < 60); | |
#minutes = 0; | |
#seconds = EFFECTTIME; | |
ELSEIF((EFFECTTIME >= 60) && (EFFECTTIME < 120)); | |
#seconds = EFFECTTIME - 60; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$${ | |
// GATHERING SKILLS | |
IFMATCHES(%CHATCLEAN%,^Excavation: ([0-9]+).*,@#excavation,1); | |
ENDIF; | |
IFMATCHES(%CHATCLEAN%,^Excavation skill increased by ([0-9]+).*,#level,1); | |
@#excavation = @#excavation + #level; | |
ENDIF; | |
IFMATCHES(%CHATCLEAN%,^Fishing: ([0-9]+).*,@#fishing,1); | |
ENDIF; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- phpMyAdmin SQL Dump | |
-- version 4.0.4 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost | |
-- Generation Time: Jul 29, 2013 at 03:54 PM | |
-- Server version: 5.6.12-log | |
-- PHP Version: 5.4.12 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$${ | |
SET(@&jusername[0],%@&jusername[1]%); | |
SET(@&jusername[1],%@&jusername[2]%); | |
SET(@&jusername[2],%@&jusername[3]%); | |
SET(@&jusername[3],%@&jusername[4]%); | |
SET(@&jusername[4],%@&jusername[5]%); | |
SET(@&jusername[5],%@&jusername[6]%); | |
SET(@&jusername[6],%@&jusername[7]%); | |
SET(@&jusername[7],%@&jusername[8]%); | |
SET(@&jusername[8],%@&jusername[9]%); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function isup($host, $port=25565, $timeout=5) { | |
$fp = fsockopen($host, $port, $errno, $errstr, $timeout); | |
if (!$fp) return false; | |
$online = fwrite($fp, "\xFE"); | |
return $online; | |
} | |
$online = isup("mc.ecocitycraft.com"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public String[] minecraftQuery(String address) { | |
return minecraftQuery(address, 25565); | |
} | |
public String[] minecraftQuery(String address, int port) { | |
byte fe1 = (byte) 0xFE; | |
byte fe2 = (byte) 0x01; | |
byte[] fe = {fe1, fe2}; | |
Socket socket = null; | |
try { | |
socket = new Socket(address, port); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedOutputStream; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.net.Socket; | |
public class Main { | |
public static void main(String[] args) { | |
if (args.length < 2) { |