How do i make the text show up in the text field of my program

 on buttonClick_(sender)
		tell application "System Events"
			set theTextField to word 25 of (do shell script "curl")
		end tell
	end buttonClick_

when i click the next button i wan’t the IP to show up in the textfield

You use setStringValue_ and pass in the string you want in your text field. You should read the docs for NSTextField and it’s parent class, NSControl to see what methods are available.