For changing command [!] to this /c ::
U must replace these lines..
replace this:
on *:SIGNAL:vcmp.command2:{
var %id = $1
var %name = $vcmp.name($1)
With this:
on *:SIGNAL:vcmp.command2:{
var %id = $1
var %name = $vcmp.name($1)
var %a = $iif($3,$iif($3 !isnum,$iif($vcmp.getid($3) != Unknown,$v1,-1),$iif($vcmp.name($3) != Unknown,$3,-1)),%id)
var %b = $vcmp.getid(%name)
And paste ur heal command under:
on *:SIGNAL:vcmp.command2:{
Like:
on *::vcmp.command2:{
var %id = $1
var %name = $vcmp.name($1)
if ($2 == register) {
if ($vcmp.pass(%id) != $null) vcmp.msg %id Error - Nick is already registered..
elseif (!$3) vcmp.msg %id Error - Missing Information, /c $2 <password>
else {
vcmp.announce %id ~t~Welcome to Carbon Gear..
vcmp.msg Player %name Registered & Logged In (Admin Level: 1)
vcmp.msg %id $chr(91) %name $chr(93) Registered successfully..
vcmp.msg %id $chr(91) %name $chr(93) Logged in successfully..
vcmp.msg %id Level: [1]
vcmp.msg %id Password: $chr(91) $3 $chr(93)
vcmp.announce %id ~y~Registartion Complete
vcmp.setmoney %id 0
!writeini -n vcmp.admin.ini LEVELS %name 1
!writeini -n vcmp.admin.ini PASSWORDS %name $3
!writeini -n vcmp.admin.ini LIN %name 1
}
}
elseif ($2 == heal) {
if ($vcmp.cmdcheck(!heal,%id) == fail) !halt
elseif ($vcmp.setting.heal != on) vcmp.msg %id Error - $2 is Currently Set Off
elseif ($vcmp.cost(%b) > $vcmp.cash(%b)) vcmp.msg %id Error - You need atleast $ $+ $bytes($vcmp.cost(%b),b) to use this command
else {
vcmp.cmdsay $2 %id >> Healed - Name: %name $+ , Cost: $ $+ $bytes($vcmp.cost(%b),b)
vcmp.cash- %b $vcmp.cost(%b)
vcmp.sethp $vcmp.getid(%name) 100
}
}