Deep Bot - Twitch Streamer Assistant
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Deep Bot - Twitch Streamer Assistant
»
Deep Bot
»
Help/Support
»
Null checks in @if@ statements
« previous
next »
Print
Pages: [
1
]
Author
Topic: Null checks in @if@ statements (Read 1004 times)
0 Members and 1 Guest are viewing this topic.
Ph1Lt0r
Youngling
Posts: 2
Karma: +0/-0
Twitch Name: Ph1Lt0r
Null checks in @if@ statements
«
on:
December 04, 2016, 04:45:30 AM »
Is there a way in an if statement to give a response if a file is empty? If so, how do I specify a null?
Logged
TheNumbLock
Advisor
Councilor
Posts: 4776
Karma: +137/-5
Twitch Name: TheNumbLock
Re: Null checks in @if@ statements
«
Reply #1 on:
December 04, 2016, 06:26:59 AM »
Would be @if@[@readfile@[PathToFile\text.txt]||||There is nothing in this file.||There is something in this file.]
Logged
Old Name: RepentGamingTV
Twitch:
Here
Need help ASAP?
Join Deepbot's Discord:
Discord.Deepbot.tv
Deepbot's Twitter:
@DeepSupport
Print
Pages: [
1
]
« previous
next »
Deep Bot - Twitch Streamer Assistant
»
Deep Bot
»
Help/Support
»
Null checks in @if@ statements