That signal thing isn't a good idea, because vcmp 0.3z doesn't support the signal (map radar delete functions)
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuoteelseif (pmarker iswm $3) {
WSV.cmdlevelcheck $1-
if (!$4) WSV.msg $2 Syntax: /c pmarker + or - <name/id>
if ($4 == +) {
if ($6) {
if ($6 isnum) {
if ($WSV.pconnected($5)) {
WSV.removemarker $5
WSV.setplayermarker $WSV.id($5) $6
WSV.msg $2 $WSV.name($5) $+ 's Radar Marker has been changed to: $chr(91) $6 $chr(93)
}
else WSV.msg $2 Error: Invalid Player
}
else WSV.msg $2 Error: Invalid Syntax! Value must be a number.
}
else WSV.msg $2 Syntax: /c pmarker < + > <name/id>
}
elseif ($4 == -) {
if ($WSV.pconnected($5)) {
WSV.removemarker $5
WSV.msg $2 $WSV.name($5) $+ 's Radar Marker has been dleted.
}
else WSV.msg $2 Error: Invalid Player
}
}
Quoteelseif ($3 == saveloc) && ($2 < 100) {
WSV.cmdlevelcheck $1-
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>
}