View Full Version : Talk in Smart?
ffcfoo
06-13-2010, 09:52 PM
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.
i luffs yeww
06-13-2010, 09:58 PM
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)
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..
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. :)
ffcfoo
06-13-2010, 10:11 PM
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)
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..
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. :)
Unknown identifier 'MineRock' in script
Error :P
Edit: Also what do you mean by main loop?
Drakan
06-13-2010, 10:16 PM
IsFKeyDown doesnt generally work when you are using smart and simba (at least for me, on windows 7).
i luffs yeww
06-13-2010, 10:17 PM
:/ 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().
ffcfoo
06-13-2010, 10:20 PM
:/ 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
i luffs yeww
06-13-2010, 10:29 PM
http://goo.gl/WBz7
^ Try that.
ffcfoo
06-13-2010, 10:45 PM
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...
i luffs yeww
06-13-2010, 11:26 PM
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.
ffcfoo
06-14-2010, 06:58 AM
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!
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.