AutoHotkey Community

It is currently May 25th, 2012, 5:53 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: August 27th, 2007, 12:08 am 
^s:: Send ---ATTENTION---
*WARNING* Mess Up Others Stunts = Kick
*WARNING* Attack The Black Warthog = Kick
*BLUE TEAM = STUNTS*
*RED TEAM = {OD} TRYOUTS ONLY*

so this is what i want to appear on the screen when im running the server. but for some reason it doesnt work. i even tried assignin each line diff. hotkey combinations but it doesnt work on Halo. wat am i doin wrong??


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 12:11 am 
Offline

Joined: July 15th, 2007, 1:43 am
Posts: 1320
Automated Nitpicking:

when posting in the forum, please use a meaningful subject line. Please read the following Sticky post:
PLEASE READ IF YOU'RE NEW: How to Get Answers Effectively

Automated Nitpicking:

when posting code in the forum, please use code tags, like this:
Code:
[code]
;code goes here
[/code]


Among other things, it makes it monospaced, syntax colored (comments), easy to copy, smaller, and it preserves the whitespace.

Code:
^s::
Send,---ATTENTION---{Enter}*WARNING* Mess Up Others Stunts = Kick{Enter}*WARNING* Attack The Black Warthog = Kick{Enter}*BLUE TEAM = STUNTS*{Enter}*RED TEAM = {{}OD{}}TRYOUTS ONLY*


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 12:24 am 
Ok. So I tried the last code u gave me. the only part that showed up was OD}TRYOUTS = RED. I need for each line to show up. Thats wat I was askin for. How do I get each line to show up by use of each of these keys:
^a
^s
^d
^f
^g


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 12:27 am 
Offline

Joined: July 15th, 2007, 1:43 am
Posts: 1320
It works just fine for me. The reason you may be having problems is because your not including the hotkey. Put the whole script in a .ahk file and open notepad or whatever your using to test it (e.g.: notepad) and click Ctrl + S.

ONLY WHEN THE NOTEPAD IS COMPLETELY OPENED


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 12:30 am 
Can u paste the code one more time?? U removed it and I couldnt get it again. so when u enter the hot key, each rule appears?? the text box in halo can only take so much.....


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 12:31 am 
Offline

Joined: July 15th, 2007, 1:43 am
Posts: 1320
I never removed it; You just need to learn how to read.

Code:
Enter::
Send,---ATTENTION---{Enter}*WARNING* Mess Up Others Stunts = Kick{Enter}*WARNING* Attack The Black Warthog = Kick{Enter}*BLUE TEAM = STUNTS*{Enter}*RED TEAM = {{}OD{}}TRYOUTS ONLY*


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 12:40 am 
Code:
Enter::
Send,---ATTENTION---{Enter}*WARNING* Mess Up Others Stunts = Kick{Enter}*WARNING* Attack The Black Warthog = Kick{Enter}*BLUE TEAM = STUNTS*{Enter}*RED TEAM = {{}OD{}}TRYOUTS ONLY*
So the "attention"part shows up. in each of the parentheses with enter in them, should i type in some hotkey combination?? or should it all be showin up??


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 12:43 am 
Offline

Joined: July 15th, 2007, 1:43 am
Posts: 1320
Are you saying it doesn't all show up? Try this:

Code:
Enter::
Run, Notepad
Sleep, 5000
Send,---ATTENTION---{Enter}*WARNING* Mess Up Others Stunts = Kick{Enter}*WARNING* Attack The Black Warthog = Kick{Enter}*BLUE TEAM = STUNTS*{Enter}*RED TEAM = {{}OD{}}TRYOUTS ONLY*


it's gonna wait 5 seconds before sending all the keys. tell me if it works.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 12:50 am 
I wiated the 5 seconds. All that appeared was the attention part then nothing. i looked back on the desktop and an untitled notepad appeared. maybe theres a mistake in the code??


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 12:53 am 
Offline

Joined: July 15th, 2007, 1:43 am
Posts: 1320
Are you trying to send them inside of Halo? If so, it should work. Take out the
Code:
Run, notepad
Sleep, 5000


But leave the rest. and try it again.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 12:57 am 
yeah im tryin to get them to work on halo. i took out that part of the code, only now it doesnt wait the 5 seconds. it just puts in attentionand nothin else.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 1:01 am 
Offline

Joined: July 15th, 2007, 1:43 am
Posts: 1320
Give me a second..


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 1:08 am 
Offline

Joined: July 15th, 2007, 1:43 am
Posts: 1320
Try this:

Code:
^s::
Send, ---ATTENTION---{Enter}
Send, *WARNING* Mess Up Others Stunts = Kick{Enter}
Send, *WARNING* Attack The Black Warthog = Kick{Enter}
Send, *BLUE TEAM = STUNTS*{Enter}
Send, *RED TEAM = {{}OD{}} TRYOUTS ONLY*{Enter}


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 2:11 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7501
Location: Australia
Dragonbreath wrote:
So the "attention"part shows up. in each of the parentheses with enter in them, should i type in some hotkey combination?? or should it all be showin up??
If you copy and paste the code directly, it should work. Send, {Enter} means "press and release enter", whereas Send, Enter would mean "type the word 'Enter'". Also note there should only be one line from "Send," on to "ONLY*" (at the end.)

To make it more readable, I suggest using a continuation section:
Code:
Enter::
Send,
(   ; continuation section
Send,---ATTENTION---
*WARNING* Mess Up Others Stunts = Kick
*WARNING* Attack The Black Warthog = Kick
*BLUE TEAM = STUNTS*
*RED TEAM = {{}OD{}}TRYOUTS ONLY*
)
return
This should be the same as:
Code:
Send,---ATTENTION---`n*WARNING*...etc.
(`n is replaced by AutoHotkey with a newline character, which does the same as {Enter}.)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2007, 3:47 pm 
Nah. it aint workin u guys. that last code only entered "Send, ---Attention---" and then nothin else. Thnx a lot for the help, though. guess Imma have to type the rules in...


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, bumbasaur, Google Feedfetcher, JSLover, krthornton, rbrtryn, tomL, Yahoo [Bot] and 24 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group