Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added AHK Chatter OW/Game-chat-scripts-main.zip
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import java.util.Scanner;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;

class Main {
public static void main(String[] args) throws IOException {
String text;
int splitSize = 6;
Scanner keyboard = new Scanner(System.in);
System.out.println("Paste your string");
text = keyboard.nextLine();
System.out.println(text);
String[] textArray = text.split(" ", -2);
//Clears console
System.out.print("\033\143");
File ahkOutput = new File("ahkOutput.txt");
FileWriter writing = new FileWriter("ahkOutput.txt");
//Prints ready for ahk
for(String a : textArray){
System.out.println("Send, " + a + "{space}");
writing.write("Send, " + a + "{space}\n");
}
writing.close();
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{ pkgs }: {
deps = [
pkgs.graalvm17-ce
pkgs.maven
pkgs.replitPackages.jdt-language-server
pkgs.replitPackages.java-debug
];
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
import java.util.Scanner;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.FileReader;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.BufferedWriter;
import java.io.BufferedReader;
import java.io.InputStreamReader;

class Main {

public static void main(String[] args) throws IOException {

String ogInput;
char key;
int splitSize = 0, passer = 4;
Scanner keyboard = new Scanner(System.in);
System.out.println("What ctrl + key would you to use? ");
key = keyboard.next().charAt(0);
System.out.println("Paste your string");
keyboard.nextLine();
ogInput = keyboard.nextLine();
System.out.println(ogInput);
String[] ahkText = ogInput.split(" ", -2);
String[] ahkComment = ogInput.split("\\.", -2);
char[] ahkChar = new char[ogInput.length()];
// Clears console
System.out.print("\033\143");
File ahkOutput = new File("ahkOutput.txt");
File commentOutput = new File("commentOutput.txt");
FileWriter writing = new FileWriter("ahkOutput.txt");
writing.write(
"#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. \n; #Warn ; Enable warnings to assist with detecting common errors. \nSendMode Input ; Recommended for new scripts due to its superior speed and reliability. \nSetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.\n\n"
+ "^" + key + "::");

// Prints and writes ready for ahk
int counter = 0;
for (String a : ahkText) {
System.out.println("Send, " + a + "{space}");
writing.write("Send, " + a + "{space}\n");
counter++;
if (counter % 24 == 0) {
writing.write("\nSleep, 3000\nSend, {tab}{enter}\nSleep, 4000\nSend, {tab}{enter}\nSleep, 3000\n");
}
}
writing.write("\nreturn");
writing.close();
/*
* for(String b : ahkComment){
* comment.write("; " + b + " ");
* }
*/
FileWriter comment = new FileWriter("commentOutput.txt");
for (int i = 0; i < ahkComment.length - 1; i++) {
if (passer % 4 == 0) {
passer = 0;
comment.write("\n; " + ahkComment[i] + " ");
} else {
passer++;
comment.write(ahkComment[i] + " ");
}
}

comment.close();
File newTest = new File("newTest.txt");
// copyContent(commentOutput, newTest);
File[] combiner = new File[2];
combiner[1] = ahkOutput;
combiner[0] = commentOutput;
mergeFiles(combiner, newTest);
// copyContent(ahkOutput, newTest);
FileWriter qwrite = new FileWriter("newTest.txt");
qwrite.write("\nreturn");
qwrite.close();
}

public static void mergeFiles(File[] files, File mergedFile) {

FileWriter fstream = null;
BufferedWriter out = null;
try {
fstream = new FileWriter(mergedFile, true);
out = new BufferedWriter(fstream);
} catch (IOException e1) {
e1.printStackTrace();
}

for (File f : files) {
System.out.println("merging: " + f.getName());
FileInputStream fis;
try {
fis = new FileInputStream(f);
BufferedReader in = new BufferedReader(new InputStreamReader(fis));

String aLine;
while ((aLine = in.readLine()) != null) {
out.write(aLine);
out.newLine();
}

in.close();
} catch (IOException e) {
e.printStackTrace();
}
}

try {
out.close();
} catch (IOException e) {
e.printStackTrace();
}

}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

^K::
Send, I'm{space}
Send, TimThePlatMan,{space}
Send, and{space}
Send, this{space}
Send, is{space}
Send, my{space}
Send, ELO.{space}
Send, I{space}
Send, boost{space}
Send, it{space}
Send, with{space}
Send, my{space}
Send, old{space}
Send, man{space}
Send, lassiz,{space}
Send, and{space}
Send, my{space}
Send, son,{space}
Send, Big{space}
Send, moon.{space}
Send, Every{space}
Send, game{space}
Send, I{space}
Send, play{space}

Sleep, 3000
Send, {tab}{enter}
Sleep, 4000
Send, {tab}{enter}
Sleep, 3000
Send, has{space}
Send, throws{space}
Send, and{space}
Send, tilt.{space}
Send, One{space}
Send, thing{space}
Send, I've{space}
Send, learned{space}
Send, after{space}
Send, 21{space}
Send, years{space}
Send, -{space}
Send, you{space}
Send, never{space}
Send, know{space}
Send, how{space}
Send, I'll{space}
Send, throw{space}
Send, this{space}
Send, game.{space}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

; I'm TimThePlatMan, and this is my ELO
; I boost it with my old man lassiz, and my son, Big moon
; Every game I play has throws and tilt
; One thing I've learned after 21 years - you never know how I'll throw this game
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

return
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{ pkgs }: {
deps = [
pkgs.graalvm17-ce
pkgs.maven
pkgs.replitPackages.jdt-language-server
pkgs.replitPackages.java-debug
];
}
95 changes: 95 additions & 0 deletions AHK Chatter OW/Game-chat-scripts-main/Overwatch/ZaryaSmells.ahk
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

; I think Zarya smells like dandelions and a cool breeze
; Her colored hair gives of the scent of strawberries in bloom, and her pink gun leaves a smell of bubblegum when shot
; Her body smells of sweat, and a strong womanhood
; I would love to stuff my head right into her armpit and smother myself
; To smell her tomboyish energy
; I would die for this

^K::

Send, I{space}
Send, think{space}
Send, Zarya{space}
Send, smells{space}
Send, like{space}
Send, dandelions{space}
Send, and{space}
Send, a{space}
Send, cool{space}
Send, breeze.
Sleep, 3000
Send, {tab}{enter}
Sleep, 4000


Send, {tab}{enter}
Sleep, 3000
Send, Her{space}
Send, colored{space}
Send, hair{space}
Send, gives{space}
Send, of{space}
Send, the{space}
Send, scent{space}
Send, of{space}
Send, strawberries{space}
Send, in{space}
Send, bloom,{space}
Send, and{space}
Send, her{space}
Send, pink{space}
Send, gun{space}
Send, leaves{space}
Send, a{space}
Send, smell{space}
Send, of{space}
Send, bubblegum{space}
Send, when{space}
Send, shot.{space}
Send, Her{space}
Send, body{space}
Send, smells{space}
Send, of{space}
Send, sweat,{space}
Send, and{space}
Send, a{space}
Send, strong{space}
Send, womanhood.
Sleep, 3000
Send, {tab}{enter}
Sleep, 4000


Send, {tab}{enter}
Sleep, 3000
Send, I{space}
Send, would{space}
Send, love{space}
Send, to{space}
Send, stuff{space}
Send, my{space}
Send, head{space}
Send, right{space}
Send, into{space}
Send, her{space}
Send, armpit{space}
Send, and{space}
Send, smother{space}
Send, myself.{space}
Send, To{space}
Send, smell{space}
Send, her{space}
Send, tomboyish{space}
Send, energy.{space}
Send, I{space}
Send, would{space}
Send, die{space}
Send, for{space}
Send, this.{space}

return
Loading