Results 1 to 10 of 10

Thread: Talk in Smart?

  1. #1
    Join Date
    Jan 2009
    Location
    Tacoma,Wa
    Posts
    338
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default Talk in Smart?

    Hello, I was wondering if somehow I can talk manually in smart without disabling smart. Like can I enter some kind of code to make a box for typing? Sometimes when people talk to me I do not respond and when I catch someone talking to me I want to talk back manually not automatically. But if there is a automatic system than i'm all for that to.

  2. #2
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    Yes. RM (I think it was him, sorry to whoever it was if it wasn't RM) had a simple procedure in a script for this. Add this somewhere in the script (doesn't really matter where)

    Pascal Code:
    procedure NeedToTalk;
    begin
      if(IsFKeyDown(12))then
        TypeSend(Readln('What would you like to say?'));
    end;

    And then in your main loop do something like..

    Pascal Code:
    repeat
      MineRock;
      NeedToTalk;
    until(False);

    And hold down F12 when you want to say something. When NeedToTalk is called, it'll pop up with an input box and you type what you want to say and then it'll type it into SMART.

  3. #3
    Join Date
    Jan 2009
    Location
    Tacoma,Wa
    Posts
    338
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by i luffs yeww View Post
    Yes. RM (I think it was him, sorry to whoever it was if it wasn't RM) had a simple procedure in a script for this. Add this somewhere in the script (doesn't really matter where)

    Pascal Code:
    procedure NeedToTalk;
    begin
      if(IsFKeyDown(12))then
        TypeSend(Readln('What would you like to say?'));
    end;

    And then in your main loop do something like..

    Pascal Code:
    repeat
      MineRock;
      NeedToTalk;
    until(False);

    And hold down F12 when you want to say something. When NeedToTalk is called, it'll pop up with an input box and you type what you want to say and then it'll type it into SMART.
    Code:
    Unknown identifier 'MineRock' in script
    Error :P

    Edit: Also what do you mean by main loop?
    Last edited by ffcfoo; 06-13-2010 at 10:13 PM.

  4. #4
    Join Date
    Oct 2006
    Posts
    1,211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    IsFKeyDown doesnt generally work when you are using smart and simba (at least for me, on windows 7).
    Extinct.

    Formally known as Drags111.

  5. #5
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    :/ Of course it's unknown.. You'd have to make your own procedure called MineRock or MineTehRock or whatever, and replace it with that.

    The main loop is how a script runs.

    Do you have a script in mind that you want to add this to? If so, I can add it.

    Drags, I've never had problems with Is*KeyDown().

  6. #6
    Join Date
    Jan 2009
    Location
    Tacoma,Wa
    Posts
    338
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by i luffs yeww View Post
    :/ Of course it's unknown.. You'd have to make your own procedure called MineRock or MineTehRock or whatever, and replace it with that.

    The main loop is how a script runs.

    Do you have a script in mind that you want to add this to? If so, I can add it.

    Drags, I've never had problems with Is*KeyDown().
    Yes I would like to add it to this script: http://villavu.com/forum/showthread.php?t=52809

  7. #7
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    http://goo.gl/WBz7

    ^ Try that.

  8. #8
    Join Date
    Jan 2009
    Location
    Tacoma,Wa
    Posts
    338
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by i luffs yeww View Post
    http://goo.gl/WBz7

    ^ Try that.
    Explaination plz lol. It works but how do I do it? Am I suppose to be on the SMART window or the scar window and press f12, do I hold it or press it?

    edit: Do I have to wait for someone to talk to be able to talk or what...

  9. #9
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    You just hold down F12 when you want to talk, that's all. It doesn't matter what you have open or if SCAR/SMART/Simba is minimized or anything.

  10. #10
    Join Date
    Jan 2009
    Location
    Tacoma,Wa
    Posts
    338
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by i luffs yeww View Post
    You just hold down F12 when you want to talk, that's all. It doesn't matter what you have open or if SCAR/SMART/Simba is minimized or anything.
    Alright thank you!

Thread Information

Users Browsing this Thread

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

Posting Permissions

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