To launch a network game using only fscommands and Kismet, there are a few ways you can do this.
1. Combine the two strings ("open" & the IP address) in ActionScript, then send this as an argument of an fscommand. Example:
Be sure "open " includes a space after the word open. The final output would be something like "open 127.0.0.1"
fscommand("join", "open " + ip); // where ip is the string variable containing the IP address entered into a textfield (ip = ipTextField.text)
Then set up your Kismet like so:
2. Create your own concat string node in Kismet, that will allows you to combine the string "open" with the ip string. Here's a tutorial on how to make your own concat string Kismet node:
Here is the AS3:
Here is the Kismet setup:
// variable to hold the hosts ip address
// client ///////
// call Joining function when join button is clicked
ip = ip_mc.text; // make ip variable whatever is typed into the TextInput "ip_mc"
BE SURE the Str Value of the join string variable above is "open " - that's the word open, with a space after it. Leave the Str Value of the IP variable blank, as well as leaving the ConsoleCommand Str variable's Str Value blank.