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

Mail system


BigB502
 Share

Recommended Posts

@Ilnair:

> Dificulty:
> newb: 6/5 (way to hard, forget about it I think)
> advanced scripter: 3/5
> pro-scriptor: 1/5 (shouldn't be any problem)
> Me or Baron or Unnownzor 0/5.
> Brutal, or GreyFox: around 22.45 x 10 ^220 / 5 (I think)

Who are you? Newb, advanced or pro?
Link to comment
Share on other sites

You have to make that folder, the subs is getting and saving data there, and only .INI's is crated by scripts. So, unless you make it the script won't work. And I just checked your main again, and it is using an out-dated command. Use Ctrl + F and find all GetPlayerSex and change Sex to Gender.
Link to comment
Share on other sites

There were a few things that got messed up when you copied the script over. 

> Call PutVar("mailsystem\" & reciever & ".ini", "mailbox", "box" & n,
>
> GetPlayerName(index) & ": " & field_message & "")

That should all be on one line.  Same with:

> 'Call playermsg(index, "Clicked  field number " & clicked_index & " on the menu named " & menu_title & ". The field text was
>
> " & field_message, 14)

Also, after this:

> '******************************************************************
> ' Executes when a hotkey is pressed client-side.
> Sub HotScript(Index, KeyID)
> '******************************************************************

You need to add this:

> Select Case KeyID
> Case 1

And here:

> Call CustomMenuTextBox(index, 1, 180, 65, 235, "Enter a name!")
> Call CustomMenuTextBox(index, 2, 180, 65, 260, "Enter a message!")
> End Sub

You need to delete the line that says End Sub.

Hopefully that should get you closer to having a working script.
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...