Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Need help with a in-game chat script (League of Legends chat)


  • Please log in to reply
9 replies to this topic
Timoff
  • Members
  • 2 posts
  • Last active: Dec 02 2012 08:44 PM
  • Joined: 28 Nov 2012
I want to create a script where I'll be able to type the following:
How it looks:
GGGGGG
GG GG
GG
GG
GG GGGG
GG GG
GG GG
GGGGGGG

GGGGGG
GG GG
GG
GG
GG GGGG
GG GG
GG GG
GGGGGGG


Some the forums messed the text of the G's up so here is a picture of the text: http://puu.sh/1votb

Basically I want every sentence to be a new message in the chat, like
Timoff: GGGGGGG
Timoff: GG GG
Timoff: GG
Timoff:GG
etc etc.

I got this idea from the following youtube clip: http://www.youtube.com/watch?v=HBvNnBFiO-E at 1:03 the chat is spammed by a guy called Scarra115 doing basically doing exactly what I want.

I want to the exact same thing but have absolutely no idea on how to, I just installed autohotkey and been messing around for almost 2 hours and still don't have the slightest clue of what to do and currently.

I'd be very grateful if you could give me the script basics and I could just throw in the text or really grateful if you could do it all xD (sorry If I'm asking to much.

Thanks anyway for giving your time to read this or even creating the script, xoxoxoxooxoxoxoxo!!

Neverlevel
  • Members
  • 268 posts
  • Last active: Aug 18 2014 07:25 AM
  • Joined: 28 Jan 2008
League of Legends doesnt like the multiple spaces...used underscore..
F1 to trigger..Dont have chat box active....make sure the enter key hasn't been pressed already.
funny..had to write it out.



#persistent
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases_
#InstallKeybdHook
SendMode, Play
#UseHook
setkeydelay, 5, 5
 
/*
	  GGGGGG 
    GG	  GG
  GG
 GG  
 GG	   GGGG
  GG	    GG
   GG	   GG
	 GGGGGGG
 
	   GGGGGG 
    GG	  GG
  GG
 GG  
 GG	   GGGG
  GG	    GG
   GG	   GG
	 GGGGGGG
  */


return

f1::
Send, {enter}
Send, /all{space}{_ 6}{G 6}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 4}{G 2}{_ 7}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 2}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 1}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 1}{G 2}{_ 7}{G 4}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 2}{G 2}{_ 9}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 3}{G 2}{_ 8}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 5}{G 7}
Send, {enter}
send, {enter}/all{space}{_ 15}{enter}
Send, {enter}
Send, /all{space}{_ 6}{G 6}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 4}{G 2}{_ 7}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 2}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 1}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 1}{G 2}{_ 7}{G 4}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 2}{G 2}{_ 9}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 3}{G 2}{_ 8}{G 2}
Send, {enter}
Send, {enter}
Send, /all{space}{_ 5}{G 7}
Send, {enter}


return

The early bird gets the worm but the second rat gets the cheese!

Timoff
  • Members
  • 2 posts
  • Last active: Dec 02 2012 08:44 PM
  • Joined: 28 Nov 2012
THANK YOU VERY MUCH! :D

cartooaa
  • Members
  • 1 posts
  • Last active: Dec 03 2012 04:23 PM
  • Joined: 03 Dec 2012
why did it work for me? :( I may be dumb, but i pasted it in my script file.

MASTER
  • Members
  • 1 posts
  • Last active: Dec 03 2012 04:58 PM
  • Joined: 03 Dec 2012
Hi, I've tried to use this script but nothing is happening. It doesn't work, neither in a notepad file, neither in game. Any idea why ? :/

jackieep
  • Members
  • 1 posts
  • Last active: Dec 27 2012 05:06 AM
  • Joined: 25 Dec 2012

is it possible to replace the underscores with spaces?



yourbuddypal
  • Members
  • 32 posts
  • Last active: May 17 2013 06:50 AM
  • Joined: 29 Jun 2009
is it possible to replace the underscores with spaces?

Or no spaces at all, heres mine:

 

#InstallKeybdHook
#UseHook

SetKeyDelay, 0, 0, Play

SendMessage(message, sleepduration = 2, block = true)
{
	
	if WinActive("ahk_class RiotWindowClass")
	{
		; Make sure that we dont accidentally send something in all chat.
		GetKeyState, state, Shift
		if state = D
		{
			KeyWait, Shift
		}
		
		GetKeyState, state, Control
		if state = D
		{
			KeyWait, Control
		}
		
		if (block == true)
		{
			BlockInput, On
		}
		
		
		SendPlay, {Enter}
		Sleep, %sleepduration%
		SendPlay, %message%
		Sleep, %sleepduration%
		SendPlay, {Enter}		
		
		if (block == true)
		{
			BlockInput, Off
		}
	}
}


$F10::
	 
	SendMessage("/all        GGGGGGG", 1, false)
	SendMessage("/all     GG            GG", 1, false)
	SendMessage("/all   GG", 1, false)
	SendMessage("/all GG", 1, false)
	SendMessage("/all GG          GGGGG", 1, false)
	SendMessage("/all   GG             GG", 1, false)
	SendMessage("/all     GG           GG", 1, false)
	SendMessage("/all        GGGGGGG", 1, false)
	 
	SendMessage("/all             GGGGGGG", 1, false)
	SendMessage("/all          GG            GG", 1, false)
	SendMessage("/all        GG", 1, false)
	SendMessage("/all      GG", 1, false)
	SendMessage("/all      GG          GGGGG", 1, false)
	SendMessage("/all        GG             GG", 1, false)
	SendMessage("/all          GG           GG", 1, false)
	SendMessage("/all             GGGGGGG", 1, false)

return


AznProd
  • Members
  • 1 posts
  • Last active: Jan 21 2013 06:03 PM
  • Joined: 20 Jan 2013

Or no spaces at all, heres mine:

 

#InstallKeybdHook
#UseHook

SetKeyDelay, 0, 0, Play

SendMessage(message, sleepduration = 2, block = true)
{
	
	if WinActive("ahk_class RiotWindowClass")
	{
		; Make sure that we dont accidentally send something in all chat.
		GetKeyState, state, Shift
		if state = D
		{
			KeyWait, Shift
		}
		
		GetKeyState, state, Control
		if state = D
		{
			KeyWait, Control
		}
		
		if (block == true)
		{
			BlockInput, On
		}
		
		
		SendPlay, {Enter}
		Sleep, %sleepduration%
		SendPlay, %message%
		Sleep, %sleepduration%
		SendPlay, {Enter}		
		
		if (block == true)
		{
			BlockInput, Off
		}
	}
}


$F10::
	 
	SendMessage("/all        GGGGGGG", 1, false)
	SendMessage("/all     GG            GG", 1, false)
	SendMessage("/all   GG", 1, false)
	SendMessage("/all GG", 1, false)
	SendMessage("/all GG          GGGGG", 1, false)
	SendMessage("/all   GG             GG", 1, false)
	SendMessage("/all     GG           GG", 1, false)
	SendMessage("/all        GGGGGGG", 1, false)
	 
	SendMessage("/all             GGGGGGG", 1, false)
	SendMessage("/all          GG            GG", 1, false)
	SendMessage("/all        GG", 1, false)
	SendMessage("/all      GG", 1, false)
	SendMessage("/all      GG          GGGGG", 1, false)
	SendMessage("/all        GG             GG", 1, false)
	SendMessage("/all          GG           GG", 1, false)
	SendMessage("/all             GGGGGGG", 1, false)

return

How do you get this script to work, I press f10 it doesn't do anything.



Wickster
  • Members
  • 97 posts
  • Last active: Oct 06 2017 05:01 PM
  • Joined: 12 Jan 2013

thats a good question... i cant get it to work either



RafingoBingoDingo
  • Members
  • 2 posts
  • Last active: Aug 26 2013 11:05 PM
  • Joined: 25 Aug 2013

/all ______GGGGGG

 

/all ____GG_______GG

 

/all __GG

 

/all _GG

 

/all _GG_______GGGG

 

/all __GG_________GG

 

/all ___GG________GG

 

/all _____GGGGGGG

/

all _______________

 

/all ______GGGGGG

 

/all ____GG_______GG

 

/all __GG

 

/all _GG

 

/all _GG_______GGGG

 

/all __GG_________GG

 

/all ___GG________GG

 

/all _____GGGGGGG

 

/all ______GGGGGG

 

/all ____GG_______GG

 

/all __GG

 

/all _GG

 

/all _GG_______GGGG

 

/all __GG_________GG

 

/all ___GG________GG

 

 

/aall L__- --G_GG_G_GG_G-_GGGGGG
/all _______________

 

 

/all ______GG

GGGG

/

ll ____GG_______GG

g/all 

____GG_______GG

g/

all __GG

g

/all __GGg

g/

all _GG

g/a

ll _GGg

g/all _G

G_______GGGG

g/all

 _GG_______GGGG

gg/all __G

G_________GG

g/all

 __GG_________GG

gg

/all ___GG________GG

g

/all ___GG________GG

g/

all _____GGGGGGGg

g/a/l

la __L__-lgg g_GG_G_G-___________
 

 

g/all ______GGGGGG

gg

g/all ____GG_______GGg

 

gg/all __GG

g

gg/all _GG

g

gg/all _GG_______GGGG

g

g/all __GG_________GGg

g

g/all ___GG________GGg

g

g/all _____GGGGGGGg

gggggggggggggggggggggggggggg