So I'm looking for a way to use the variables $(touser) and $(query) a specific way. $(query) prints everything after a command. But I wanna make it to where if theres nothing after the command it uses $(touser) instead of $(query). Any ideas?
1 reply
Swift Moose
Ended up solving it by using $(eval) for 2 slightly different versions of the api we needed this for depending on if the situation needs $(query) or $(user) using if statements. If this made no sense to anyone I apologize very tired when replying to this.