Hey use this..
elseif ($3 == saveloc) {
if ($4) {
writeini -n " $+ $scriptdirSavedLocs.ini" SavedLocs $4 $WSV.location($2)
WSV.say New Location saved by $WSV.name($2) at $4
}
else WSV.msg $2 Please type a name after !saveloc
}
elseif ($3 == gotoloc) {
if ($readini(" $+ $scriptdirSavedLocs.ini",SavedLocs,$4)) {
WSV.setlocation $2 $readini(" $+ $scriptdirSavedLocs.ini",SavedLocs,$4)
WSV.msg $2 Taking you to $4
}
else WSV.msg $2 Invalid Location
}
Cya
Punjabi_goli