PDA

View Full Version : Starting to use lich. What are built in functions?



gs4-relvar
02-01-2011, 10:32 PM
1. What is already built into lich? How to call up room numbers, item IDs, etc..

Don't want to remake the wheel if it's already there.

2.
a.) Is there a way to have lich always be aware of text and automatically be doing match and matchwaits? For example, I'd like to be to trigger a variable when a creature is down and run a different set of code than when it's standing.

b.) I'd also like to be watching for new critters arriving and keep a count of how many are in the room so I can make adjustments based off that as well. Eventually, I'd like to keep text in the top-right corner of the screen telling me how many of each creature is in the room.

Robert

PS. I have some history with programming languages c, c++ and cobol but it's been a while... have to get my mind thinking like this again.

WRoss
02-01-2011, 10:52 PM
try this:

;download repogui
;download narost
;download whereami


;go2 is a built in goto comand
;whereami will pull up the room you are in
;narost will bring up maps, you can click on a room to go there. Right click lets you change maps
;repogui is a list of all the scripts that are built in
;lnet help will bring up some other commands

If you have more questions, just ask here or chat for help.

subzero
02-02-2011, 12:48 AM
You should check out the Lich folder.

pabstblueribbon
02-02-2011, 01:49 AM
lich.rb

Drevihyin
02-02-2011, 05:03 AM
http://forum.gsplayers.com/showthread.php?t=57651