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

Menu Lolwut?


Dastyruck
 Share

Recommended Posts

Ok, this is stupid… When I have it check the menu title it magically doesnt work, but when it skips that, it magically orks, however I cant differ with all the diff menus...

Help?

Please?

> '********************************
> Sub MenuScripts(Index, Clicked_Index, Menu_Type)
> '********************************
> Dim MenuTitle
> Dim FieldMessage
>
> MenuTitle = getplayermenuclicktitle(Index)
> FieldMessage = getplayermenuclickmsg(Index)
>
> Select Case Menu_Type
> Case 1
>          
>
> Case 2
>
> Case 3
> If MenuTitle = "WeaponSmithing" Then
>               If Clicked_Index = 1 Then
>               Call Craft(Index, 3, 8, 2, 44, 1, 45, 3, 46, 1, 0,0,0,0,0,0) 
>               End If
>         Else If MenuTitle = "ArmorSmithing" Then
>               If Clicked_Index = 1 Then
>               Call Craft(Index, 3, 8, 2, 44, 1, 45, 3, 46, 1, 0,0,0,0,0,0) 
>               End If
>         Else If MenuTitle = "Cooking" Then
>               If Clicked_Index = 1 Then
>               Call Craft(Index, 3, 8, 2, 44, 1, 45, 3, 46, 1, 0,0,0,0,0,0) 
>               End If
>         Else If MenuTitle = "Alchemy" Then
>               If Clicked_Index = 1 Then
>               Call Craft(Index, 3, 8, 2, 44, 1, 45, 3, 46, 1, 0,0,0,0,0,0) 
>               End If
>         Else If MenuTitle = "Bowery" Then
>               If Clicked_Index = 1 Then
>               Call Craft(Index, 3, 8, 2, 44, 1, 45, 3, 46, 1, 0,0,0,0,0,0) 
>               End If
>         End If
> End Select
> End Sub
Link to comment
Share on other sites

Alright, I have been doing some things to try and make this work, but it just seems like its going to be stubborn… SO, I might have to re-think the way I use it, but thanks for the help. There is honestly nothing wrong with the script, just one of those annoying eclipse bugs I guess...
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...