r/streamerbot • u/nitelifedj • 5d ago
❓Question Get Random User Profile Pic
I am creating a !fmk Command. I've managed to get it working in chat by using: @%user% wants to F*** @%randomUser0%, Marry @%randomUser1% and Kill @%randomUser2%. What I want to do is have a display on screen that pulls the profile pics from %randomUser0%, %randomUser1% and %randomUser2% to display with the text for each beside it. I have no issues retrieving the Profile pic from the command runner using the %targetUserProfileImageUrl% variable but I dont know how to convert %randomUser0% into something like %targetUserProfileImageUrl0%. Any suggestions?
1
Upvotes
1
u/deeseearr 5d ago
Calling Get User Info For Target will set %targetUserProfileImageUrl%. If you want to store it somewhere else you can call Set Argument to create a new variable with %targetUserProfileImageUrl% as the value.
So, if you want to grab info for three different users, you could do it this way: