HackerZer0 Posted December 22, 2006 Share Posted December 22, 2006 i was bored, and wondering if there would be a simple way to send a variable from one autoit script to another... so maybe they could compete with each other or somthing, like fighting programs...maybe a rock paper scissors sort of thing... like... $var = Random(1, 3, 1) ;;; something that sends variable to other script ;;; something that receives variable from other script If $var = $otherscriptvar Then MsgBox(0, "Result", "Tie") ;;; etc 1 = rock 2 = paper 3 = scissors etc... rock, paper, scissors would be just a start though... i was thinking of making somthing much more intricate, like receive $var then counter attack, etc... any help is appreciated... : ) Earn money on CASHCRATE by sitting around doing nothing.. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 22, 2006 Moderators Share Posted December 22, 2006 TCP StdOut/In A file/Registry to write to for both to read Those are the 3 that just popped in my head. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
HackerZer0 Posted December 22, 2006 Author Share Posted December 22, 2006 TCPStdOut/InA file/Registry to write to for both to readThose are the 3 that just popped in my head.i was thinking of using either a reg entry or an ini file...but i'm not so sure yet, haven't put much thought into it...anyone who wants to try or to help is welcome to it... : ) Earn money on CASHCRATE by sitting around doing nothing.. Link to comment Share on other sites More sharing options...
JoshDB Posted December 22, 2006 Share Posted December 22, 2006 On the same comp? That would be, quite frankly, dumb. Use TCP like SmOke_N said or upload ini's to a host with headers so clients can know which two users are talking to eachother. I would frown upon a registry-infesting rock/paper/scissors game. Ah well. Ha, I haven't been on these forums since... 2006, almost. Behold, my legacy signature:My AutoIt idol is Valuater. You know you love him, too.My Stuff: D&D AGoT Tools Suite Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now