Goto (anchor)
Written by eaxs   
Monday, 24 August 2009 21:30
Description
Puts the script pointer to an anchor within the script.

Syntax
GoTo <anchor>

Example
Jump to the anchor "End". As a result, the server message is never sent.
Goto End
 ServerChat This message is skipped
@End

Create a loop until x is 10 and give out the current value of x while in the loop.
CreateVar int x 0
  @loop
Set x [x + 1]
ServerChat Current value of x: #x#
If [x < 10] GoTo loop
 

Notes
This command allows you to emulate "user-defined functions" and "loops" in your scripts.
Comments
Add New
Write comment
Name:
Email:
 
Title:
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Please input the anti-spam code that you can read in the image.

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."