top of page
GameAudio & Art
![](https://static.wixstatic.com/media/a9283e_ba0cfec35a4b4b90ac3a33fe2df9c849~mv2.png/v1/fill/w_61,h_61,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/01_BRONZE_trans.png)
Beginner
2
ifを利用した条件テスト
![](https://static.wixstatic.com/media/a9283e_7e70dfa78a16401a86bbd6861c53b5bf~mv2.png/v1/fill/w_61,h_61,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/01_SILVER_trans.png)
RANK
AZ_if
def Msg(parm):
RPR_ShowConsoleMsg(str(parm) + "\n")
str1 = "AZSTOKE"
if str1 is not None:
Msg("test1:"+str1)
if str1 == "AZSTOKE":
Msg("test2:"+str1)
if str1 == "azstoke":
Msg("test3:"+str1)
def Msg(parm):
RPR_ShowConsoleMsg(str(parm) + "\n")
入力値をReaperのコンソールに出力する関数
str1 = "AZSTOKE"
str1変数に文字列”AZSTOKE”を入力
if str1 is not None:
Msg("test1:"+str1)
if文 str1変数の中が入っているのかを確認
入力が確認できたらMsg関数でコンソールにstr1を出力
if str1 == "AZSTOKE":
Msg("test2:"+str1)
if文 str1変数と”AZSTOKE”という文字列が一致するのか確認
同じならMsg関数でコンソールにstr1を出力
if str1 == "azstoke":
Msg("test3:"+str1)
if文 str1変数と”azstoke”という文字列が一致するのか確認
同じならMsg関数でコンソールにstr1を出力
準備の必要はありません
- Script Code -
- Script Image -
- Warm Up -
- Script Detail -
- API LINK -
- Script Download -
bottom of page