// Script to toggle a persistent variable

//print togglePersistentVariable $arg1

if $nbArgs = 1

	if $$arg1
		persistentVariable $arg1 0
	else
		persistentVariable $arg1 1
	endIf
	
	//print  $arg1 : $$arg1
endIf

