Author Topic: gotoloc commands  (Read 3612 times)

0 Members and 1 Guest are viewing this topic.

Offline [CB]CsabaBad

  • Street Thug
  • *
  • Posts: 9
    • View Profile
gotoloc commands
« on: November 20, 2008, 09:26:56 pm »
Hy!
mindt we know it they are good scriptelők who can write scripts
I am not on top with a word unfortunately I ask help of you script ointments the gotolocos commandban who can help I wait for his answer

Offline Knucis

  • Wiseguy
  • **
  • Posts: 82
  • u wot m9
    • View Profile
Re: gotoloc commands
« Reply #1 on: November 20, 2008, 10:38:32 pm »
Errr... For WSV, SANSAN, GUS or FBS??

Offline [CB]CsabaBad

  • Street Thug
  • *
  • Posts: 9
    • View Profile
Re: gotoloc commands
« Reply #2 on: November 22, 2008, 11:06:34 pm »
WSV

Offline Knucis

  • Wiseguy
  • **
  • Posts: 82
  • u wot m9
    • View Profile
Re: gotoloc commands
« Reply #3 on: November 22, 2008, 11:59:30 pm »
Code: [Select]
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
}
Next time search in the forum ;)

Offline [CB]CsabaBad

  • Street Thug
  • *
  • Posts: 9
    • View Profile
Re: gotoloc commands
« Reply #4 on: November 23, 2008, 01:32:03 am »
Thx