If (cond) (command)
Written by eaxs   
Monday, 24 August 2009 21:31
Description
This is your standard conditional clause. <command> is executed if <cond> is true.

Syntax
If <cond> <command>

Example
Send a server message if the math condition is fulfilled.
CreateVar int test 1
If [test == 1] ServerChat Condition is fulfilled

Send a server message if the string condition is fulfilled
CreateVar string test hello
 If #StringEquals(|#test|#, hello)# ServerChat Condition is fulfilled

Notes
Math operations need to be in square brackets []. String operations etc. dont.
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."