Jump to content

fast help


 Share

Recommended Posts

all i need is for this to play once and be set to play again at any time.

CODE
; Script Start - Add your code below here

;;;; Global Pause Start;;;;

Global $Paused

;;;; Global Pause End;;;;

;;;; Hotkey Settings Start;;;;

HotKeySet("{HOME}", "TogglePause")

HotKeySet("{END}", "Terminate")

;;;; Hotkey Settings End;;;;

;;;; Script Global Sleep Start;;;;

While 1

Sleep(1000)

WEnd

;;;; Script Global Sleep End;;;;

;;;; Toggle Pause and Splash On/Off Start;;;;

Func TogglePause()

$Paused = Not $Paused

While $Paused

Send("{ENTER}")

Send("LAST CHAOS Fair Play Rules & PLAY NICE POLICIES. ")

Sleep(100)

Send("{ENTER}")

Sleep(100)

Send("{ENTER}")

Send("1. Foul language is not permitted, in any language.")

Sleep(100)

Send("{ENTER}")

Sleep(100)

Send("{ENTER}")

Send("3. You may not disrupt the normal playability of a map or location. ")

Sleep(100)

Send("{ENTER}")

Sleep(100)

Send("{ENTER}")

Send("Intentionally denying a particular resource or resources to the players. e.g. Spawn Camping and Kill Stealing ")

Sleep(100)

Send("{ENTER}")

Sleep(100)

Send("{ENTER}")

Send("FRAP is now running and will be forwarded to a game sage, for review under violation of Fair Play Rules for Last Chaos & PLAY NICE POLICIES.")

Sleep(1000)

Send("{ENTER}")

WEnd

EndFunc

;;;; Toggle Pause and Splash On/Off End;;;;

;;;; End/Close/Terminate Function Start;;;;

Func Terminate()

Exit

EndFunc

;;;; End/Close/Terminate Function End;;;;

Link to comment
Share on other sites

i know this should not be to hard but for some dam reason i cant get it to stop after a single run

Hi xxfxx

Why do you make a loop inside your script ?

Delete this lines

$Paused = Not $Paused

While $Paused

and Wend

make your script run once

Start again by pressing "Home"

Aza

Link to comment
Share on other sites

ok not sure what a citation is there but i guess becaus i said that one word but anyways, back to work here i took out the three lines and it was a no go so I tryd the next one and changed that some and it workd out well thak you for the prompt reply and sory on that word wont happn agian

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...