Thread: website with command

Results 1 to 3 of 3
  1. #1 website with command 
    Registered Member
    Join Date
    May 2008
    Posts
    41
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    hello,
    i'm trying to add this command to server:
    if (command.startsWith("website")) {

    launchURL("http://www.Mywebsiteadress.com");
    }
    also i added
    import java.net.InetAddress;
    import java.net.URL;
    to my client.java
    but then i compile it says:
    client.java:7791: cannot find symbol
    symbol : method launchURL(java.lang.String)
    location: class client
    launchURL("http://www.myurl");
    ^
    1 error
    what i did wrong?
     

  2. #2  
    Donator


    Join Date
    Nov 2008
    Posts
    1,031
    Thanks given
    20
    Thanks received
    33
    Rep Power
    246
    Show us your launchURL method
     

  3. #3  
    Extreme Donator

    Wolf's Avatar
    Join Date
    Jul 2006
    Age
    34
    Posts
    398
    Thanks given
    0
    Thanks received
    2
    Rep Power
    177
    This will help you as much as any:
    http://javaxden.blogspot.com/2007/09...ough-java.html

    RuneCMS member / Early Sythe member
    RS-Server ex-admin [Member #38]
    Dodian ex-admin / developer
    SRL Developer
    MITB member

    Project16/Flight creator
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •