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

Hotkey replacement for 2.7?


Dastyruck
 Share

Recommended Posts

I was able to come up with this, which isn't working, might be my error but if there is no error, this doesn't work.

'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Sub HotScript(index, 1)
'*****************************************************************'
'*****************************************************************'
'XX This script has been created by Ilnair, aka Dinand Mentink  XX'
'XX Please do not give it out saying you made it, or distribute XX'
'XX it anywhere outside the Eclipse forums! Also, please always XX'
'XX distribute these credits along with the script!      XX'
'XX          www.nishansu.tk      ©Dinand Mentink (aka Ilnair)XX'
'*****************************************************************'
'*****************************************************************'
Dim Name
Dim Guild
Dim ClassName
Dim Sex
Dim Level
Dim Strenght
Dim Defence
Dim Speed
Dim Magic
Dim HP
Dim MP
Dim MAXHP
Dim MAXMP
Dim msg1
Dim msg2
Dim msg3
Dim msg4
Dim msg5
    Select Case script
        Case 1
            Call CustomMenuShow(index, "mailsystem", "\GUI\CUSTOM\perkament.gif", 1)
            Call CustomMenuLabel(index, 1, "Character Info", 60, 30, 15, 0, 0, 400, 40)
            Call CustomMenuLabel(index, 2, "Messages", 315, 30, 15, 0, 0, 400, 40)

              Name = GetPlayerName(index) & ""
                Guild = GetPlayerGuild(index) & ""
                ClassName = GetPlayerClassName(index) & ""
                Level = GetPlayerLevel(index) & ""
                Strenght = GetPlayerStr(index) + 0 & ""
                Defence = GetPlayerDef(index) & ""
                Speed = GetPlayerSpeed(index) & ""
                Magic = GetPlayerMagi(index) + 0 & ""
                HP = GetPlayerHP(index) & ""
                MP = GetPlayerMP(index) & ""
                MAXHP = GetPlayerMaxHP(index) & ""
                MAXMP = GetPlayerMaxMP(index) & ""

                If GetPlayerGender(index) = 0 Then
                    Sex = "Male"
                Else
                    Sex = "Female"
                End If

                Call CustomMenuLabel(index, 3, "Name: " & Name, 85, 80, 10, 0, 0, 400, 40)
                Call CustomMenuLabel(index, 4, "Guild: " & Guild, 85, 90, 10, 0, 0, 400, 40)
                Call CustomMenuLabel(index, 5, "Class: " & ClassName, 85, 100, 10, 0, 0, 400, 40)
                Call CustomMenuLabel(index, 6, "Sex: " & Sex, 85, 110, 10, 0, 0, 400, 40)

                Call CustomMenuLabel(index, 7, "Level: " & Level, 85, 130, 10, 0, 0, 400, 40)
                Call CustomMenuLabel(index, 8, "Strenght: " & Strenght, 85, 140, 10, 0, 0, 400, 40)
                Call CustomMenuLabel(index, 9, "Defence: " & Defence, 85, 150, 10, 0, 0, 400, 40)
                Call CustomMenuLabel(index, 10, "Magic: " & Magic, 85, 160, 10, 0, 0, 400, 40)
                Call CustomMenuLabel(index, 11, "Speed: " & Speed, 85, 170, 10, 0, 0, 400, 40)

                msg1 = GetVar("mailsystem\" & GetPlayerName(index) & ".ini", "mailbox", "box1")
                msg2 = GetVar("mailsystem\" & GetPlayerName(index) & ".ini", "mailbox", "box2")
                msg3 = GetVar("mailsystem\" & GetPlayerName(index) & ".ini", "mailbox", "box3")
                msg4 = GetVar("mailsystem\" & GetPlayerName(index) & ".ini", "mailbox", "box4")
                msg5 = GetVar("mailsystem\" & GetPlayerName(index) & ".ini", "mailbox", "box5")

                Call CustomMenuLabel(index, 14, "Message 1: " & msg1, 300, 70, 10, 0, 0, 400, 40)
                Call CustomMenuLabel(index, 15, "Message 2: " & msg2, 300, 80, 10, 0, 0, 400, 40)
                Call CustomMenuLabel(index, 16, "Message 3: " & msg3, 300, 90, 10, 0, 0, 400, 40)
                Call CustomMenuLabel(index, 17, "Message 4: " & msg4, 300, 100, 10, 0, 0, 400, 40)
                Call CustomMenuLabel(index, 18, "Message 5: " & msg5, 300, 110, 10, 0, 0, 400, 40)

                Call CustomMenuLabel(index, 19, "Clear Inbox", 300, 140, 10, 0, 0, 100, 14)
                Call CustomMenuLabel(index, 12, "Refresh", 300, 150, 10, 0, 0, 100, 14)

                Call CustomMenuTextBox(index, 1, 180, 65, 235, "Enter a name!")
                Call CustomMenuTextBox(index, 2, 180, 65, 260, "Enter a message!")
            Exit Sub
    End Select
End Sub
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...