Log in

View Full Version : New variables and functions.



Malmis
03-03-2012, 19:36
Exiva functions

exiva cavebot XXX - Calls the function in the cavebot. For example calling setLootOff with a conditional on low cap.
exiva newconditional XX#number>#YY 0 1000 0 ZZ - Create this conditional
exiva loadconditional a/r:XXX - Loads this conditional textfile append/replace
exiva loadcavebot a/r:XXX - Loads this cavebot textfile append/replace

$Variables$

$hex-inrange:HEX:X$ - Is this creature-hex in range X
$mounted$ - Returns 1 if mounted 0 if not
$hex-x:HEX$,$hex-y:HEX$,$hex-z:HEX$ - Pos of hex (PLEASE?!)
$monstersinrange:X$ - Monsters in range, a circle like spells not square. Finally add it?
$hex-monstersinrangeof:HEX:X$ - Monsters in range of that HEX; can be used to use AOE runes when blocker is surrounded or alot of mobs around target.
$hex-level:HEX$,$hex-vocation:HEX$ - Getting information about players
$hex-partylowesthp$ - HEX of lowest hitpoint partymember
$membersinparty$ - Number of players in party
$name-partymember:X$,$hex-partymember:X$,$hp-partymember:X$ - Info on partymember X (Perfect for making healbot)

Cavebot Functions

openDoor X,Y,Z - Simply open the door, gate, whatever. Use item on that slot until it changes pretty much.
setLootON/setLootOFF - Like the others ON/OFF switches? :p


That's it for now, a few of them should be real easy and I hope Hans Henrik can take a look.

Hurriel
03-04-2012, 17:01
Huh....I see a lot of tricks there :D
Those variables would be great, specially $monstersinrange:X$ and $hex-monstersinrangeof:HEX:X$. I'd consider those high priority one's.

Pompos17
01-27-2013, 23:04
i've tried the opendoor comand and didnt work. It says "unknown comand at script line xxx"

How does it work?

BldMx
01-28-2013, 03:43
i've tried the opendoor comand and didnt work. It says "unknown comand at script line xxx"

How does it work?

Maybe cause this is a proposal board?

TeamSurge
07-21-2014, 10:03
bump!!! this has some great stuff but (find xyz of hex, would be needs be on this list because that would make so much more posible)