Jump to content
UBot Underground

[Solved]Ubot 4 - How to load a random picture from a folder


Recommended Posts

Dear Support, dear Members,

 

i have a script where i can load an avatar to Boonex sites. But i want to load random pictures from a Folder.

 

But i don't know how to implement it.

 

I have the Professional Edition

 

The easiest way is something like ui open directory.

 

But i'm thankful for every solution.

 

Until now i upload the same avatar picture…

 

Thanks Marc

Link to post
Share on other sites

add list to list(%photos, $get files("C:\\Users\\Tj Development\\Pictures", "Yes"), "Delete", "Global")

 

change path to your folder where photos are located.

 

then for your upload of photo

or change file attribute

 

use random list item

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...