Author Topic: Working votekick for sansan  (Read 15381 times)

0 Members and 1 Guest are viewing this topic.

Offline bazza

  • Street Thug
  • *
  • Posts: 18
    • View Profile
Re: Working votekick for sansan
« Reply #15 on: July 27, 2008, 01:27:22 am »

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Working votekick for sansan
« Reply #16 on: July 27, 2008, 01:28:35 am »

Offline bazza

  • Street Thug
  • *
  • Posts: 18
    • View Profile
Re: Working votekick for sansan
« Reply #17 on: July 27, 2008, 02:23:51 am »
Thanks!

you use gus:

I was bored, so i decided to whip up a simple votekick script for GUS

http://lukerudge.ath.cx/votekick.html

http://lukerudge.ath.cx/votekick.html    ;)


link dosnt work
anyone have a mirror

 :o :o RULK DELATE WEBSITE SORRY  :(

ok thankyou
where can i find votekick for gus

no probelem  ;D
can u ask rulk to put it back up please
i need votekick for gus

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: Working votekick for sansan
« Reply #18 on: July 27, 2008, 03:30:20 am »
I puted the codes to the following locations:

Quote
;--- misc aliases
;--- account shite
;--- Vote Kick Alias'

alias vcmp.votes !return $iif($readini(vcmp.votes.ini,VOTES,$vcmp.hgetname($1)),$v1,0)

alias vcmp.vkick {
  if ($vcmp.votes($1) >= 2) {
    !writeini -n vcmp.votes.ini VOTES $vcmp.hgetname($1) 3
    vcmp.adminchat Kicking $vcmp.hgetname($1) - Reason: Vote - Kicked $+ , By Admin: $iif($2,$v1,Unknown)
    vcmp.kick $1
    hdel ToKick $1
  }
  else {
    !writeini -n vcmp.votes.ini VOTES $vcmp.hgetname($1) $calc($vcmp.votes($1) + 1)
    vcmp.adminchat $vcmp.votes($1) $+ /3 votes recieved!
  }
}

event.part code:

Quote
on *:SIGNAL:vcmp.event.part:{

  if ($hget(ToKick,$2) == voting) {
    vcmp.adminchat Vote Kick cancelled for $2 $+ , Reason: Left the server!
    !writeini -n vcmp.votes.ini VOTES $2 0
    remini vcmp.votes.ini VOTES $2
    hdel ToKick $2
    hfree VoteKick
    hdel VotedTable $2
  .signal vcmp.event.delplayer $1 $2
  if (%echolevel > 0) vcmp.echo 3**03 $1 $2 03left the game. $vcmp.quitreason($3)
}

And when i go to ingame than type !votekick nothing happen :(

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Working votekick for sansan
« Reply #19 on: July 27, 2008, 03:33:39 am »

Offline K.I.S.S

  • Street Thug
  • *
  • Posts: 16
    • View Profile
Re: Working votekick for sansan
« Reply #20 on: July 27, 2008, 03:34:00 am »
this script dosnt work, i tried it myself

Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Re: Working votekick for sansan
« Reply #21 on: July 27, 2008, 03:48:42 am »
It works fine so it has to be something your doing wrong  :-X

If it didn't work I would not have posted it =\

Offline bazza

  • Street Thug
  • *
  • Posts: 18
    • View Profile
Re: Working votekick for sansan
« Reply #22 on: July 27, 2008, 04:04:12 am »
It works fine so it has to be something your doing wrong  :-X

If it didn't work I would not have posted it =\

it dosnt work
do a better one

Offline ReVilo

  • Wiseguy
  • **
  • Posts: 64
  • Master of All that is Holy
    • View Profile
Re: Working votekick for sansan
« Reply #23 on: July 27, 2008, 04:09:36 am »
It works fine..

Offline Nemesis2500

  • Wiseguy
  • **
  • Posts: 63
  • The Joker
    • View Profile
    • Grand VCMP Server
Re: Working votekick for sansan
« Reply #24 on: July 27, 2008, 06:52:28 am »
for me too...


Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: Working votekick for sansan
« Reply #25 on: July 27, 2008, 11:54:59 am »
for me to.

Offline bazza

  • Street Thug
  • *
  • Posts: 18
    • View Profile
Re: Working votekick for sansan
« Reply #26 on: July 27, 2008, 12:15:17 pm »

I was bored, so i decided to whip up a simple votekick script for GUS

http://lukerudge.ath.cx/votekick.html



ok sorry but my team mate still needs rulk to put website up for gus one
« Last Edit: July 27, 2008, 12:18:18 pm by bazza »

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: Working votekick for sansan
« Reply #27 on: July 27, 2008, 08:03:35 pm »
If its work fine than what i puted to the wrong place?
The vote kick alias , or the vcmp.event.part?

Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Re: Working votekick for sansan
« Reply #28 on: July 27, 2008, 08:55:11 pm »
You need to put the following code at teh bottom of the part signal:

Code: [Select]
if ($hget(ToKick,$2) == voting) {
    vcmp.adminchat Vote Kick cancelled for $2 $+ , Reason: Left the server!
    !writeini -n vcmp.votes.ini VOTES $2 0
    remini vcmp.votes.ini VOTES $2
    hdel ToKick $2
    hfree VoteKick
    hdel VotedTable $2
}

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: Working votekick for sansan
« Reply #29 on: August 01, 2008, 10:35:41 pm »
Thanks, its work now  :D