Jump to content

Tom

Scripter III
  • Posts

    5333
  • Joined

  • Last visited

  • Days Won

    5
  • Feedback

    100%

Everything posted by Tom

  1. Tom

    JavaFX

    As a further note, I don't think you should be accessing Script methods in your JavaFX, instead of creating a Script instance, create a Unicorns instance (as demonstrated in @@Token's demonstration) and use that to pass the needed data into main. Just a thought, don't have to do it but I think its better practice
  2. Tom

    JavaFX

    Feel like starting a debate so Ill go ahead and say that I wouldn't call it wonderful, bad code design and lack of encapsulation. Your turn.
  3. Tom

    JavaFX

    I see, I've never touched JavaFX so I'm not exactly sure how to do this the best way. Have you seen this? http://stackoverflow.com/questions/30814258/javafx-pass-parameters-while-instantiating-controller-class Alternatively, if you don't really care about the code design you could just have a static getter in your main class, or in some sort of data class.
  4. Tom

    JavaFX

    Pass the script instance into the class?
  5. time for s3 apps ahahahahahahahahahahahahahahahahahahahahaha
  6. Not if its mid sentence, you are checking 'contains' after all. If you wanted to check the start of the sentence, use startsWith i believe. The solution i provided will work none the less, it converts the message received to lower case afterwards so runescape wont fuck around with it
  7. Did you end up solving this nowster?
  8. tryin steal my thunder br0?
  9. Just check what the latest message was, you don't need the chatbox api. m.getMessage() i think it would be, or something similar. What you are doing is checking the entire chatbox every time someone sends a message, which of course it contains the same thing that was said before. Also, String#contains is case sensetive, so this would only work if it was a capital H, you should change it to m.getMessage().toLowerCase().contains("hi")
  10. Fren android, ios, html and css arent programming languages Just say Java and objective c
  11. Maybe the surgeon forgot to put both pec implants in
  12. none left cuz you ate em all
  13. My first dose of bad luck today was when a repugnant swine such as yourself posts in my thread.
  14. probably because you are an OSBot staff member I cant tell if you are happy because you ate the 20 cookies in a few hours, or unhappy because someone ate the 20 cookies
  15. you wanna go down that road?
  16. doesnt look like badluck to me, gtfo my thread you redundant goon
  17. Post it below so I can laugh at you peace
  18. Tom

    osFisher

    Which location? There is already tuna at karamja and fishing guild from memory
  19. Not very respectful towards your dog when you classify him / her as in 'it'. Instead of looking for attention on the forums maybe you should go chill with your dog for their last hours of life
×
×
  • Create New...