• Welcome to Vice City Multiplayer.
 

need help in script sansan

Started by Cristian, August 23, 2008, 12:58:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cristian

need help in script sansan for " hop and higher commands ", the script that need is:

!setcash <name/id> <cash>
!setarmour <name/id> <armour>
!carchangeowner <name/id> <car/id> (but that is changing the owner of the car)
!password <name/id> or !getpassword <name/id>
!banlist (failed my !banlist)

and this



<ArgentinaSpoon> [] testman: -----
<ArgentinaSpoon> [] testman: -----
<ArgentinaSpoon> [] testman: -----



I do not understand this



" [] " testman :



and the number ??  ???

this is script:

Quote
on *:SIGNAL:vcmp.event.chat:{
var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $iif($vcmp.hgetteam(%id),$vcmp.nickcolor(%name $+ $par(%team)) $+ :,01 $+ $1 $+ )
  $iif($($+(%,antispam.,[ %name ]),2) == 5,vcmp.kicknow %id flooding,inc -u5 $+(%,antispam.,[ %name ]))
  vcmp.enforcelogin %id
  vcmp.enforcestfu %id
  vcmp.enforce.censor %id $2-
  if ($left($2,1) == !) {
    if ($($+(%,anticmdspam.,[ %name ]),2) > 0) { vcmp.adminmsg %id ** Error: You must use the commands between 4secs. }
    else { inc -u4 $+(%,anticmdspam.,[ %name ]) | .signal vcmp.event.gamecmd $1- } 
  }
  if (%echolevel > 2) vcmp.echo 2 $+ $+($chr(91),%id,$chr(93)) $+ 7 %name $+  $+ : $2-
}

thanks for help  ;) and sorry for my english  :(



Cristian




<ArgentinaSpoon> [] testman: -----
<ArgentinaSpoon> [] testman: -----
<ArgentinaSpoon> [] testman: -----



I do not understand this



" [] " testman :



and the number ??  ???

this is script:

Quote
on *:SIGNAL:vcmp.event.chat:{
var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $iif($vcmp.hgetteam(%id),$vcmp.nickcolor(%name $+ $par(%team)) $+ :,01 $+ $1 $+ )
  $iif($($+(%,antispam.,[ %name ]),2) == 5,vcmp.kicknow %id flooding,inc -u5 $+(%,antispam.,[ %name ]))
  vcmp.enforcelogin %id
  vcmp.enforcestfu %id
  vcmp.enforce.censor %id $2-
  if ($left($2,1) == !) {
    if ($($+(%,anticmdspam.,[ %name ]),2) > 0) { vcmp.adminmsg %id ** Error: You must use the commands between 4secs. }
    else { inc -u4 $+(%,anticmdspam.,[ %name ]) | .signal vcmp.event.gamecmd $1- } 
  }
  if (%echolevel > 2) vcmp.echo 2 $+ $+($chr(91),%id,$chr(93)) $+ 7 %name $+  $+ : $2-
}

***  this solutions  ***

need help in script sansan for " hop and higher commands ", the script that need is:
!setcash <name/id> <cash>
!setarmour <name/id> <armour>
!carchangeowner <name/id> <car/id> (but that is changing the owner of the car)
!password <name/id> or !getpassword <name/id>
!banlist (failed my !banlist)


TanaX01

Stop Doble Post Type Botton Modific  :)

thijn

!setcash

elseif ($1 == !setcash) vcmp.setmon $vcmp.nameid($vcmp.hgetname($2)) $3

!setarmour

elseif ($1 == !setarmour) vcmp.setarm $vcmp.nameid($vcmp.hgetname($2)) $3

!changeowner
I donnu this, because u didnt post ur aliases
!password
This is not possible because the passwords are encrypted.
!banlist

elseif ($1 == !banlist) {
      var %a = 1
      while (%a <= 100) {
        msg $nick $read($scriptdirvcmp.bans.ini,%a)
        inc %a
      }
    }

Quote
I do not understand this

Code:


" [] " testman :


and the number ??  Huh

this is script:

Quote
on *:SIGNAL:vcmp.event.chat:{
var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $iif($vcmp.hgetteam(%id),$vcmp.nickcolor(%name $+ $par(%team)) $+ :,01 $+ $1 $+ )
  $iif($($+(%,antispam.,[ %name ]),2) == 5,vcmp.kicknow %id flooding,inc -u5 $+(%,antispam.,[ %name ]))
  vcmp.enforcelogin %id
  vcmp.enforcestfu %id
  vcmp.enforce.censor %id $2-
  if ($left($2,1) == !) {
    if ($($+(%,anticmdspam.,[ %name ]),2) > 0) { vcmp.adminmsg %id ** Error: You must use the commands between 4secs. }
    else { inc -u4 $+(%,anticmdspam.,[ %name ]) | .signal vcmp.event.gamecmd $1- }
  }
  if (%echolevel > 2) vcmp.echo 2 $+ $+($chr(91),%id,$chr(93)) $+ 7 %name $+  $+ : $2-
}
U allready post this problem, Here is the answer ;)

NOTE: ALL SCRIPT ARE NOT TESTED!




Cristian