| View previous topic :: View next topic |
| Author |
Message |
Dragonbreath Guest
|
Posted: Sun Aug 26, 2007 11:08 pm Post subject: HELP PLZ!!! Rules for Halo, and how to make them work. |
|
|
^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?? |
|
| Back to top |
|
 |
Trikster
Joined: 15 Jul 2007 Posts: 1224 Location: Enterprise, Alabama
|
Posted: Sun Aug 26, 2007 11:11 pm Post subject: |
|
|
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*
|
|
|
| Back to top |
|
 |
Dragonbreath Guest
|
Posted: Sun Aug 26, 2007 11:24 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Trikster
Joined: 15 Jul 2007 Posts: 1224 Location: Enterprise, Alabama
|
Posted: Sun Aug 26, 2007 11:27 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Dragonbreath Guest
|
Posted: Sun Aug 26, 2007 11:30 pm Post subject: |
|
|
| 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..... |
|
| Back to top |
|
 |
Trikster
Joined: 15 Jul 2007 Posts: 1224 Location: Enterprise, Alabama
|
Posted: Sun Aug 26, 2007 11:31 pm Post subject: |
|
|
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* |
|
|
| Back to top |
|
 |
Dragonbreath Guest
|
Posted: Sun Aug 26, 2007 11:40 pm Post subject: |
|
|
| 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?? |
|
| Back to top |
|
 |
Trikster
Joined: 15 Jul 2007 Posts: 1224 Location: Enterprise, Alabama
|
Posted: Sun Aug 26, 2007 11:43 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Dragonbreath Guest
|
Posted: Sun Aug 26, 2007 11:50 pm Post subject: |
|
|
| 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?? |
|
| Back to top |
|
 |
Trikster
Joined: 15 Jul 2007 Posts: 1224 Location: Enterprise, Alabama
|
Posted: Sun Aug 26, 2007 11:53 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Dragonbreath Guest
|
Posted: Sun Aug 26, 2007 11:57 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Trikster
Joined: 15 Jul 2007 Posts: 1224 Location: Enterprise, Alabama
|
Posted: Mon Aug 27, 2007 12:01 am Post subject: |
|
|
| Give me a second.. |
|
| Back to top |
|
 |
Trikster
Joined: 15 Jul 2007 Posts: 1224 Location: Enterprise, Alabama
|
Posted: Mon Aug 27, 2007 12:08 am Post subject: |
|
|
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} |
|
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2699 Location: Australia, Qld
|
Posted: Mon Aug 27, 2007 1:11 am Post subject: |
|
|
| 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}.) |
|
| Back to top |
|
 |
Dragonbreath Guest
|
Posted: Mon Aug 27, 2007 2:47 pm Post subject: |
|
|
| 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... |
|
| Back to top |
|
 |
|