Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package scripts;
- import org.powerbot.script.Condition;
- import org.powerbot.script.PollingScript;
- import org.powerbot.script.rt4.ClientContext;
- import org.powerbot.script.Script;
- import javax.swing.*;
- @Script.Manifest(name = "AutoTyper420", description = "420 autotyper", properties = "author = the downy; topic=999; client=4")
- public class AutoTyper extends PollingScript<ClientContext> {
- public boolean guiTimer = false;
- @Override
- public void start() {
- System.out.println("Started");
- SwingUtilities.invokeLater(new Runnable() {
- @Override
- public void run() {
- try {
- frame frame = new frame();
- frame.setVisible(true);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
- });
- }
- @Override
- public void stop() {
- System.out.println("stopped");
- }
- public void autoTyping(){
- frame frame = new frame();
- frame.setVisible(false);
- if(frame.talker = true){
- ctx.input.sendln(frame.textInput);
- }
- if(frame.talker = false){
- System.out.println("is stayin false nigga");
- }
- }
- public void poll() {
- autoTyping();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement