I have this function in macros and I want to change it
if(SRS == "Gfycat:")
{
iimPlay(macro_spam)
var chk = 1
}
I want to change it so as it will work whatever the word is unlike the mentioned word above
The operator you are looking for is !==
which is not equal to, so the macro will run for all values except Gfycat:
if(SRS !== "Gfycat:") {
iimPlay(macro_spam)
var chk = 1
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.