0 Members and 1 Guest are viewing this topic.
elseif ($3 == gotoloc) { if (!$4) { vcmp.msg $1 $2 Error - Invalid Syntax $+ , Usage: !gotoloc locationname } elseif ($5 != $null) vcmp.msg $1 $2 Error - Location Name Must be only One Word elseif ($readini(FBS.locations.ini, LOCS, $4) == $null) vcmp.msg $1 $2 Error - This Location Not Exists else { vcmp.msg $1 $2 Teleporting to Location: " $+ $4 $+ " vcmp.setcontrols $1 $2 0 vcmp.announce $1 $2 ~h~Teleporting to $4 !.timer 1 3 vcmp.setlocation $1 $2 $readini(FBS.locations.ini, LOCS, $4) !.timer 1 5 vcmp.setcontrols $1 $2 1 } }
elseif ($3 == saveloc) { if (!$4) { vcmp.msg $1 $2 Error - Invalid Syntax $+ , Usage: !saveloc locationname } elseif ($5 != $null) vcmp.msg $1 $2 Error - Location Name Must be only One Word elseif ($readini(FBS.locations.ini, LOCS, $4) != $null) { vcmp.msg $1 $2 Error - Location $4 is Already in Use } else { !writeini -n FBS.locations.ini LOCS $4 $vcmp.location($1, $2) vcmp.msg $1 $2 Location " $+ $4 $+ " Saved Successfully } }