linktree Atrinik.org - Multiplayer Online Role Playing Game  >  Development  >  Client Scripts
linktree Topic: Food Watcher
Pages: [1]   Go Down
  Print  
Author Topic: Food Watcher  (Read 5079 times)
0 Members and 1 Guest are viewing this topic. Bookmarked by 0 members.
Offline Cleo
Developer
Alex Tokar

Posts: 580
Gender: Male
« on: November 03, 2009, 12:36:32 am »

This is a simple script that will monitor your character's food and if it goes below configured value, it will look in your inventory and try to eat specified food.

Usage:
/script <path-to-binary> -value <when-to-eat> <food name>

path-to-binary is the path to the binary file compiled from this C source file, when-to-eat is an integer value below which the code will consider the user hungry and look for food to eat, food name is the name of the food to eat when hungry.

* watchfood.c (3.93 KB - downloaded 331 times.)
* watchfood (14.08 KB - downloaded 286 times.)
* watchfood.exe (45.47 KB - downloaded 284 times.)
 Logged
Pages: [1]   Go Up
  Print  
 
Jump to: