Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: Punjabi on August 14, 2008, 11:04:05 AM

Title: Change Admin level
Post by: Punjabi on August 14, 2008, 11:04:05 AM
Hi,
can anyone tell me how to change admin level from 10 to 1337 from mirc or by any other way............
Title: Re: Change Admin level
Post by: Windlord on August 14, 2008, 12:09:16 PM
I think you are using WSV

In WSV you'll need to use

/hadd WSV.Admins Punjabi 1337
Title: Re: Change Admin level
Post by: Badboy on August 18, 2008, 02:13:48 AM
 :D :D hi windlord hi punjabi...
Windlord, but where i have to put it in remote????
Title: Re: Change Admin level
Post by: Windlord on August 18, 2008, 10:42:10 AM
That isn't a script ;)

Type it in your mIRC.
btw the script automatically sets you to level 10 when you join.
Therefore you need to alter the scripts if you want to be level 1337.

Change
on *:SIGNAL:vcmp.player.join:{
  ; $1 = ServerID, $2 = PlayerID, $3 = PlayerName
  vcmp.addchat $1 --> $3 joined the game.
  vcmp.playerlistupdate $1

  !.signal vcmp.join $1-

  if (c isin $chan(%echochan).mode) mode %echochan -c
  c.echorand $3
  echo.msg  $+ $c.echoa($3,$3) $+  3joined the game.
  WSV.savehashes
  WSV.loadhashes
  vcmp.announce $1 $2 ~w~Welcome to ~n~~o~ $+ %servername
  vcmp.msg $1 $2 Welcome, $3 to %servername
  if ($vcmp.players($1) == 1) {
    !.timernews 0 150 /WSV.news
    ;!.timermap 0 1800 /WSV.mapchange
  }
  if ($3 == %owner) hadd -m WSV.admins $3 10
  !.timer 1 3 /WSV.onjoin $1-
}

into

on *:SIGNAL:vcmp.player.join:{
  ; $1 = ServerID, $2 = PlayerID, $3 = PlayerName
  vcmp.addchat $1 --> $3 joined the game.
  vcmp.playerlistupdate $1

  !.signal vcmp.join $1-

  if (c isin $chan(%echochan).mode) mode %echochan -c
  c.echorand $3
  echo.msg  $+ $c.echoa($3,$3) $+  3joined the game.
  WSV.savehashes
  WSV.loadhashes
  vcmp.announce $1 $2 ~w~Welcome to ~n~~o~ $+ %servername
  vcmp.msg $1 $2 Welcome, $3 to %servername
  if ($vcmp.players($1) == 1) {
    !.timernews 0 150 /WSV.news
    ;!.timermap 0 1800 /WSV.mapchange
  }
  if ($3 == %owner) hadd -m WSV.admins $3 1337
  !.timer 1 3 /WSV.onjoin $1-
}


Note the if ($3 == %owner) hadd -m WSV.admins $3 1337 part