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

Would this script work?


monowolf00
 Share

Recommended Posts

```
Sub ScriptedNPC
  Case0
        Call PlayerMsg(index, GetVar(Responses.ini,section1, rand(1,100))
  End Sub
```
Then make an ini. like this name Responses.ini.

```
[section1]
param1= Hello
param2= Go away!
param3= *Crys*
(97 more params go here)
```

If you haven't figured out, I am trying to make a random npc response script. Please tell what is wrong with it, or if it is fine as is.
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...