Jump to content

Send random name


Jussip
 Share

Recommended Posts

Hey, i need small script

So, i make a list of names, like: Bob, peter, nina , alice ,

and, when i start the script, it send random name of them, SENDS ( send(",,") ) No msgbox.

So, i open the script, it sends

Hey (randomname) ex. Hey, nina

I just cant figure how to make it :)

Link to comment
Share on other sites

Hey, i need small script

So, i make a list of names, like: Bob, peter, nina , alice ,

and, when i start the script, it send random name of them, SENDS ( send(",,") ) No msgbox.

So, i open the script, it sends

Hey (randomname) ex. Hey, nina

I just cant figure how to make it :)

Dim $NAME[4] = ["Bob","Peter","Nina","Alice"]
Send("Hey, " & $NAME[Random(0,3,1)])

When the words fail... music speaks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...