what you have to think about is
Does every machine need to know the value for "myvar" when it changesIf yes, then use a publicvariable
Example (Westscore)
(Server scoring system)
Westscore = westcore + 1; Publicvariable "Westscore"
If NO, ask yourself
Does anymore scripts on the local machine need to know the value for Myvar when it changes
If yes use a global variable (available to all scripts on the same machine)
Example (IamLeader)
?(Player == W1): Iamleader = true
?(IamLeader): [] exec "Leaderactions.sqs"
If no, then use a local variable
Example (_count)
_count = 0
#START
~1
_count = +count + 1
?(_count >= 20): goto "NEXT"
goto "START"
#NEXT
hint "Time up"
Points to noteYou cannot transmit
a) Strings eg........ "My name is Arthur"
b) Arrays eg..........Playerarray = [W1,W2,W3,W4,W5]
using publicvariables
COC has a system that enables you to do this and there are ways of working around this using standard BIS commands