Sign in to follow this  
Followers 0
Jussip

Send random name

4 posts in this topic

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 :)

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

"Missing right bracket ')' in expression.: "

what does that mean?

Share this post


Link to post
Share on other sites

"Missing right bracket ')' in expression.: "

what does that mean?

You forget to put right bracket somewhere in your expression.

When the words fail... music speaks

Share this post


Link to post
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
Sign in to follow this  
Followers 0