Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: MightyWrath on December 08, 2016, 06:52:29 AM

Title: @if@ checking @userinfo1@
Post by: MightyWrath on December 08, 2016, 06:52:29 AM
Hey there, thanks for an awesome bot!

I'm a bit stumped about something though.

I'm trying to setup a command that checks if a user as any info in their @userinfo1@. If it has nothing there then show some text... but if there's something there then show the contents of @userinfo1@.

So, can we check if @userinfo1@ is null or not, and if so how do we do that ?  :D

Cheers.
Title: Re: @if@ checking @userinfo1@
Post by: MightyWrath on December 08, 2016, 07:04:31 AM
In case anyone else has this question, I was provided an answer, which works, below:

@if@[@userinfo1@[@user@]||||There is no info for @user@.||There is info for @user@. Display info: @userinfo1@[@user@]]


Many thanks repentgamingtv

Title: Re: @if@ checking @userinfo1@
Post by: TheNumbLock on December 08, 2016, 07:16:45 AM
No problem, was out running errands. So didn't get to your question in time. ;)