- 
                Notifications
    
You must be signed in to change notification settings  - Fork 19
 
cmd_else
        LiXizhi edited this page Jan 23, 2016 
        ·
        1 revision
      
    command: /else
quick ref:
/else
description:
jump to the next "else", "elseif", "fi", "end" command
examples: 
if $(rand)>=0.5 then
	echo "1"
elseif $(rand)>0.5 then
	if $(rand)>0.5 then
		echo "2.1"
	else
		echo "2.2"
	fi
	echo "2.3"
else
	echo "3"
fi
set abc=$(rand)
if %abc%<0.3 then
     echo "1"
elif %abc%<0.6 then
     echo "2"
else
     echo "4"
fi
这是一个WIKI百科页面,任何人都可以编辑, 了解详情 | 上传图片
Download Paracraft | ParacraftSDK | copyright by tatfook 2016 | Join Us