User Control Panel
|
|
|
 |
Advertisements
|
 |
|
|
|
HELP US, HELP YOU!
|
| Author |
Message |
Juzz Senior Member

Joined: 28 Feb 2004 Posts: 190 Location: NSw, australia.
   
|
Posted: Fri Apr 16, 2004 7:11 am Post subject: |
|
|
Ok Ive put together some code, but in my brains how would I make it
| Code: | | if($msg eq the line on the text file) {<br />return "blarg";<br />}<br /> |
Any help would be great. |
|
| Back to top |
|
 |
dan0211 Not Yet a God

Joined: 23 Dec 2003 Posts: 395
    
|
Posted: Fri Apr 16, 2004 11:01 am Post subject: |
|
|
You would load the line of the file into a variable and check if the message equals the variable, ie:
if($msg eq $variable) { return "blarg"; } |
|
| Back to top |
|
 |
Juzz Senior Member

Joined: 28 Feb 2004 Posts: 190 Location: NSw, australia.
   
|
Posted: Fri Apr 16, 2004 12:01 pm Post subject: |
|
|
yeah, I got it working  |
|
| Back to top |
|
 |
|
|