Author Topic: Question Please Help  (Read 4204 times)

0 Members and 1 Guest are viewing this topic.

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Question Please Help
« on: July 03, 2008, 06:48:40 am »
Hai All Please Help My

In:

** 4 finalchiky joined the server.

Quote
<Marcispeems>    [KFD]Rackball: !getcar39
   <Marcispeems>   [KFD]Rackball: !getcar 39
   <Marcispeems>   panguino: pues fui ala casa de un amigo
   <Marcispeems>   panguino: Xd
   <Marcispeems>   [KFD]Rackball: o


Why Not

Quote
<Marcispeems>    [1][KFD]Rackball: !getcar39
   <Marcispeems>   [1][KFD]Rackball: !getcar 39
   <Marcispeems>   
  • panguino: pues fui ala casa de un amigo

   <Marcispeems>   
  • panguino: Xd

   <Marcispeems>   [1][KFD]Rackball: o

[ID] User Chat : Hi

[5]TanaX01: Hi All

Please Help
« Last Edit: July 03, 2008, 06:50:12 am by TanaX01 »

Offline Nemesis2500

  • Wiseguy
  • **
  • Posts: 63
  • The Joker
    • View Profile
    • Grand VCMP Server
Re: Question Please Help
« Reply #1 on: July 03, 2008, 02:16:28 pm »
 ??? what is your point?  ???


Offline ReVilo

  • Wiseguy
  • **
  • Posts: 64
  • Master of All that is Holy
    • View Profile
Re: Question Please Help
« Reply #2 on: July 03, 2008, 04:21:23 pm »
He wants the ID to show before the play name in the echo:
Here's how to do it in sansan:
Here'e the edited CHAT EVENT:
Code: [Select]
on *:SIGNAL:vcmp.event.chat:{
  var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $vcmp.hgetname(%id) $+ :
  vcmp.enforcelogin %id
  vcmp.enforcestfu %id
  vcmp.enforce.censor %id $2-
  if ($left($2,1) == !) {
    { inc -u4 $+(%,anticmdspam.,[ %name ]) | .signal vcmp.event.gamecmd $1- }
  }
  if (%echolevel > 2) vcmp.echo 4 $+ $+($chr(91),%id,$chr(93)) $+ 7 %cname $+ 1 $2-
It's mostly that last line you're gonna want to look at ^^
Here's the edited JOIN EVENT:
Code: [Select]
on *:SIGNAL:vcmp.event.join:{
  if (%echolevel > 0) vcmp.echo 7** $vcmp.nameid($1) $2 joined the server.
  .signal vcmp.event.addplayer $1 $2
  vcmp.gametext $1 ~h~Welcome $2 $+ !
You can see the rest of it is default, you may make other changes.

Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Re: Question Please Help
« Reply #3 on: July 03, 2008, 07:17:38 pm »
Or you could use my method :P

Code: [Select]
on *:SIGNAL:vcmp.event.chat:{
  var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $vcmp.hgetname(%id) $+ :
  vcmp.enforcelogin %id
  vcmp.enforcestfu %id
  vcmp.enforce.censor %id $2-
  if ($left($2,1) == !) {
    { inc -u4 $+(%,anticmdspam.,[ $+ %id $+ ]) | .signal vcmp.event.gamecmd $1- }
  }
  if (%echolevel > 2) vcmp.echo 4 $+ $+($chr(91),%id,$chr(93)) $+ 7 %cname $+ 1 $2-

Offline ReVilo

  • Wiseguy
  • **
  • Posts: 64
  • Master of All that is Holy
    • View Profile
Re: Question Please Help
« Reply #4 on: July 03, 2008, 08:13:59 pm »
that's the same thing for what he wants to do .-.

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Question Please Help
« Reply #5 on: July 03, 2008, 08:34:26 pm »
Thank Revilo  ;D

Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Re: Question Please Help
« Reply #6 on: July 03, 2008, 09:27:46 pm »
that's the same thing for what he wants to do .-.

Lol I know but mine looks like
  • instead of [ 0 ]

Offline ReVilo

  • Wiseguy
  • **
  • Posts: 64
  • Master of All that is Holy
    • View Profile
Re: Question Please Help
« Reply #7 on: July 04, 2008, 12:59:19 am »
.-.