linktree - Multiplayer Online Role Playing Game  >  Development  >  Client Scripts
linktree Topic: Food Watcher
Pages: [1]   Go Down
Author Topic: Food Watcher  (Read 5154 times)
0 Members and 1 Guest are viewing this topic. Bookmarked by 0 members.
Offline Cleo
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.

/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 332 times.)
* watchfood (14.08 KB - downloaded 288 times.)
* watchfood.exe (45.47 KB - downloaded 286 times.)
Pages: [1]   Go Up
Jump to: