Jump to content

Recommended Posts

Posted

Hello folks! Here is my first try at java so i decided to create a voicedcommand. It's a very simple code.

 

Description:

When you press .noble you gain noble status! To use this u need 2 gold bars. Soon i will add config to change a-beep-t of gbs.

 

So here is the code:

http://pastebin.com/z3mrY6Ev

 

Credits : Me :)

 

PS. It's my first try at java so don't blame me. Have fun :)

Posted

 else if(nobleis)
+                       {
+                               activeChar.sendMessage("You are already Noble!");
+                       }

 

else if(nobles)

                      {

                              activeChar.sendMessage("You are already Noble!");

                      }

 

Posted

 else if(nobleis)
+                       {
+                               activeChar.sendMessage("You are already Noble!");
+                       }

 

else if(nobles)

                      {

                              activeChar.sendMessage("You are already Noble!");

                      }

 

 

Code tested and works perfect man. I think no fix required...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...