• Welcome to Vice City Multiplayer.
 

can some one help me to fix this script

Started by Scripter, December 04, 2010, 09:33:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Scripter

Quotecan 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!
     }    
   }

Scripter