7
« on: October 20, 2009, 01:47:45 pm »
k i have tamas code:
if ($4) {
if (!$hget(WSV.Savedlocks,$4)) {
hadd WSV.Savedlocks $4 $calc($WSV.location($2).x) $calc($WSV.location($2).y) $calc($WSV.location($2).z)
WSV.msg $2 Location saved sucessfully! Name: $chr(91) $4 $chr(93)
WSV.msg $2 Coord: $calc($WSV.location($2).x) $calc($WSV.location($2).y) $calc($WSV.location($2).z)
}
else WSV.msg $2 Error: This location name is allready saved!
}
else WSV.msg $2 Syntax: /c saveloc <locname>
}
elseif ($3 == gotoloc) && ($2 < 100) {
WSV.cmdlevelcheck $1-
if ($4) {
if ($hget(WSV.Savedlocks,$4)) {
WSV.setlocation $2 $WSV.savedloc($4)
WSV.say Teleporting: $WSV.name($2) To: $chr(91) $4 $chr(93)
WSV.msg $2 Location: $WSV.savedloc($4)
}
else WSV.msg $2 Error: This location name is not on the saved list.
}
else WSV.msg $2 Syntax: /c gotoloc <locname>
}
i put it in the end of wsv
and when i do the cmds its not work say invalid
and with greg lms i load it
it wrote this:HEF (Universal Public Version) LastManStanding Module v1.0 by Greg
---
-
Status - Successfully Loaded.
-
and no lms
what to do