• Welcome to Vice City Multiplayer.
 

How To Use Rcon Commands In Mirc?

Started by capitanazo, September 01, 2007, 05:05:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

capitanazo

Thanks mbalee for the help =D.

this is my command based on mbalee Command !jail

elseif ($2 == !mansion) || ($2 == !pmmansion) {
    if ($vcmp.cmdcheck(!mansion,%id) == fail) !halt
    else {
      vcmp.setlocation %a -378.6533 -544.6484 17.2831

    }
  }

bye =D

mbalee

and this is mine:

  elseif ($2 == !jail) || ($2 == !pmjail) {
    if ($vcmp.cmdcheck(!jail,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Error - Missing Information, $2 <name> <reason>
    elseif (%a == -1) vcmp.msg %id Error - Invalid ID/Name
    else {
      vcmp.cmdsay $2 %id  $vcmp.name(%a) - Has been Jailed By Admin: %name $+ , Reason: $iif($4,$v1,None)
      vcmp.setlocation %a 388.669739 -509.847992 9.395614
      vcmp.setcont %a 0
    }

and unjail
:P:P:P:P:D:D

GTA-Roloboy