# Help with script

**URL:** <https://forum.kirupa.com/t/help-with-script/188867>\
**Category:** Uncategorized\
**Created:** [May 11, 2006, 1:39pm UTC](https://forum.kirupa.com/t/help-with-script/188867 "2006-05-11T13:39:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![S\_W\_A\_T](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@S\_W\_A\_T](https://forum.kirupa.com/u/S_W_A_T)\
**Post date:** [May 11, 2006, 1:39pm UTC](https://forum.kirupa.com/t/help-with-script/188867/1 "2006-05-11T13:39:59Z")

</div>

Hi, i would like some scripting help, for my flash mx. Well, see, im creating some kind of contact page, where it uses flash and php to send out feedback mails, familiar to the ["\*\*[URL=“http://www.kirupa.com/forum/…/developer/actionscript/flash\_php\_email.htm”]kirupa.com - Flash Based Email Form Using PHP](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)"\*\*\*\*.

\*\*I added a IP checker, where a Dynamic Text is used with a var named, **yrip**. I already got the ip script working, but the main problem is that im not very sure how to set the script, which acts like;

```auto
else if (!yrip[COLOR=red].text[/COLOR] == "123.123.123.123") {
        results = "IP Banned!";

```

Im a newbie in Flash, which i dont think there is .text isnt it?.. Cuz Visual Basic uses .text… \>\_\< So i have no idea whats the correct script for it.

Mind if someone help me out here. Thanks in advanced.
