You can't access global variable strings through Python without a crash...at least the last time I used Construct that was the case.
My guess is that "ip" is a string... I see what you were probably getting at since you could use events as a workaround to still set a Python variable.
Hope this helps!
so variables it gives crash, ya.. and from what i can see, even the function 'globalvar' doesn't exist in the right table after I write 'System' and a dot...
global numbers work at least?
ya IP was a string like '127.0.0.1'
the solution I found is in the first layout make a edit box with the ip, press enter and it saves in globalvar 'IP' the editbox.text
next layout there are a invisible text object that at the beginning of the frame it sets his text to global 'IP' and during the python script the host gets the text from the invisible text object..
there is a simple way??