同腳本、商品用同一組,重點想 : 分別警示內容

  •   75 
  • 最後發表   will1  2021 九月 16
will1 發文於   2021/09/14

由於另外設定兩個腳本太占cpu資源;

有兩種A、B條件,搜尋同組商品,於是我合併於同腳本,想分別顯示警示的內容...如何做?

一、condition1、condition2、condition3 

IF condition1 and condition2 and condition3 then ret = 1 //////////  A條件達成

 

二、condition4、condition5、condition6

IF condition4 and condition5 and condition6 then ret = 1 //////////  B條件達成

A條件達成 = 想跳出警示內容 自己設定內容

B條件達成 = 想跳出警示內容 自己設定內容

排序方式: 標準 | 最新
GammaCEO 發文於   2021/09/14

你用 if then begin end 分別包覆不同條件ret=1和retmsg就可以了

  • 按讚來自於
  • skiny1221
XQ小幫手 發文於   2021/09/16

Hello all,

 

感謝 GammaCEO 的熱心回覆。

發表回覆
Close