Yep, as the title says.
More variables = more cool scripts.
Currently we can perfom any action we want with exiva > so the only limit for more advanced scripts is that we dont have the variables we need..
Let's do some brainstorming, this is what I can think of right now:
- $walkable:XYZ$ - returns 1 if its possible to walk on that sqm, 0 if it's blocking.
- $floorchange:XYZ$ -returns 1 if its a stair, ladder, hole etc.
- $monsterPos:ID$ - either this could return the whole coordinates or its position in relation of the own character (X+1, Y+3, Z=0 etc) This could be useful for keepDistance scripts and exori if surrounded etc.
- $monstersArund$ - this could take use of the above variable. It will simply check every creature on battlelist and return how many of them is standing around you. Could perhaps even be customized to determine how far away monsters should be counted - $monstersAround:4$ = 4sqm away.
And as for commands I would really love to see this feature:
exiva loadScript demons.txt
which could even be used inside a script.
also, it would be nice if we could allow scripts to run even while being offline.
This way we could allow scripts to bot a few hours on different characters.
and then, in those 2 scripts we could use $played$ or $expgained$ or whatever we prefer
IfTrue ($charactername$#string=#Noobchar) Goto $nlineoflabel:loadNoob$
IfTrue ($charactername$#string=#Mainchar) Goto $nlineoflabel:loadMain$
exiva loadScript rats.txt
rats txt could look something like:
I had a lot of great ideas but lost them as soon as I started writing here.. Ill edit later
setMeleeKill and all the other stuff
#if we gained 2k exp switch to the mainchar
IfTrue ($expgained$#number>#2000) Goto $nlineoflabel:switchChar$
move XYZ safe spot.
#check statusbit make sure we can logout.
exiva login Mainchar
exiva loadScript switchChar.txt
I realized now that the switchChar.txt was very unnecessary but at least I proved my point.