Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

My first script, is it ok?


omegas7
 Share

Recommended Posts

This script is a very simple and small one, but I think I should start with it before trying to make big ones, has this is my first time.

I would like you to tell me if I made it correctly, and maybe if it works.

This script is for an Npc, who will tell you a secret if you are level 10 or higher.

Eclipse Evolution 1.0

```
Call Playermsg(index, "I will tell you a secret if you are strong.", 15)

LEVEL= GetPlayerLevel(index)

Select case secret

case 0

if myvar < 10 then
Call Playermsg(index, "too bad, you are not strong enough.",15)
End if

case1
if myvar => 10 then
Call Playermsg(index, "You are pretty strong! Oh well, the secret is... I like the pie.", 15)
End if

```
I hope it works, I still don't try it, but will.

Have a good day.
Omegas7.
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

×
×
  • Create New...