<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki-test.cross-fire.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki-test.cross-fire.org/feed.php">
        <title>Crossfire Wiki - user:gxc:scripts</title>
        <description></description>
        <link>https://wiki-test.cross-fire.org/</link>
        <image rdf:resource="https://wiki-test.cross-fire.org/_media/wiki:dokuwiki.svg" />
       <dc:date>2026-04-14T10:38:22+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki-test.cross-fire.org/user:gxc:scripts:food_watch?rev=1744999691&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki-test.cross-fire.org/_media/wiki:dokuwiki.svg">
        <title>Crossfire Wiki</title>
        <link>https://wiki-test.cross-fire.org/</link>
        <url>https://wiki-test.cross-fire.org/_media/wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki-test.cross-fire.org/user:gxc:scripts:food_watch?rev=1744999691&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-18T18:08:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>food_watch</title>
        <link>https://wiki-test.cross-fire.org/user:gxc:scripts:food_watch?rev=1744999691&amp;do=diff</link>
        <description>Introduction

This client-side C++ script monitors your food level and feeds your character when it falls below 250.

Requirements

	*  C++

Code


//gxc&#039;s Food Monitor Ver 1.0

//How to use:
//1. Save and compile
//2. Enter &quot;scripts &lt;path to save&gt;&quot; in Crossfire

#include &lt;cstdio&gt;
#include &lt;cstdlib&gt;
#include &lt;cstring&gt;

int main (){
	//variable declaration
	char buf[200], checkFood[]=&quot;food&quot;;
	int foodLVL;
	
	//tell client to watch all stats
	printf (&quot;watch stats\n&quot;);
	
	//flush stdout, necessary …</description>
    </item>
</rdf:RDF>
