Author Topic: can some one help me to fix this script  (Read 2225 times)

0 Members and 1 Guest are viewing this topic.

Offline Scripter

  • Wiseguy
  • **
  • Posts: 62
    • View Profile
can some one help me to fix this script
« on: December 04, 2010, 12:33:56 pm »
Quote
can some one help mt to fix this lms script for mirc when i do !lms it says lms is alerady in progress and when i do !join it says taking u too in lms but nothing happens here is code

 }
  elseif ($3 == lms) {
    if (%lms == on) vcmp.say $1 ** LastManStanding already in progress!
    else {
      set %lms on
      timer 1 1 vcmp.say $1 ** LastManStanding has started! Type !join within 20 seconds.
      timer 1 20 set %lms off
    }
     }
  elseif ($3 == join) {
    if (%lms == on) vcmp.say $1 ** $vcmp.name($1, $2) has joined LastManStanding!
    else {
    vcmp.setlocation $1 $2 -754.187866 -1602.638916 23.734970
    vcmp.setarmour $1 $vcmp.name($1, $2) 100
    vcmp.sethealth $1 $vcmp.name($1, $2) 100
    vcmp.msg $1 $2 Taking you to LastManStanding. Enjoy!
      timer 1 1 vcmp.setcontrols $1 $vcmp.name($1, $2) 0
      timer 1 2 vcmp.say $1 LastManStanding starting in:
      timer 1 5 vcmp.say $1 ---- 1 ----
      timer 1 6 vcmp.say $1 ---- 2 ----
      timer 1 7 vcmp.say $1 ---- 3 ----
      timer 1 8 vcmp.say $1 ---- GO! ----
      timer 1 8 vcmp.setcontrols $1 $vcmp.name($1, $2) 1
     }
   else {
         if (%lms == off) {
    vcmp.say $1 ** LastManStanding is not active!
      }    
    }
« Last Edit: December 14, 2010, 09:46:03 am by Scripter »

Offline Scripter

  • Wiseguy
  • **
  • Posts: 62
    • View Profile
Re: can some one help me to fix this script
« Reply #1 on: December 14, 2010, 09:46:59 am »
can anyone know how to fix it ::)