Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Amenine

Pages: [1] 2 3 4
1
mIRC/pawn Scripting / Re: nogoto for fbs?
« on: March 26, 2009, 08:30:41 am »
No problem  ;)

2
mIRC/pawn Scripting / Re: nogoto for fbs?
« on: March 25, 2009, 04:23:46 pm »
Here for GUS..Works 100%.. :P
Here replace your old goto command with this one!!
Code: [Select]
elseif ($2 == goto) {
    if ($vcmp.cmdcheck(!goto,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Correct Syntax: $2 <name>
    elseif (%a == -1) vcmp.msg %id Error - Absent ID/Name
    elseif ($hget(gotooff,$vcmp.name(%a)) == off ) vcmp.say $vcmp.name(%a) $+ 's goto is currently disabled.
    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.cash- %b $vcmp.cost(%b)
      vcmp.setcont %a 0
      vcmp.msg %id [Transferring]: $chr(91) %name $chr(93) $+ , [To]: $chr(91) $vcmp.name(%a) $chr(93)
      .timer 1 1 vcmp.announce %id Teleporting.
      .timer 1 2 vcmp.announce %id Teleporting..
      .timer 1 3 vcmp.goto %b %a
      .timer 1 3 vcmp.setcont %a 1
    }
  }

And for doing nogoto on or off!!
Code: [Select]
elseif ($2 == nogoto) {
    if ($vcmp.cmdcheck(!goto,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Correct Syntax: /c nogoto <on/off?
    elseif ($3 == $chr(79)) vcmp.msg %id Absent parameter on/off
    elseif ($hget(gotooff,$vcmp.name(%a)) == off ) vcmp.say $vcmp.name(%a) $+ 's has /c nogoto on.
    elseif ($3 == on) {
      if ($hget(gotooff,$vcmp.name(%id)) == off ) vcmp.msg $vcmp.name(%id) - your goto is already disabled.
      else {
        vcmp.msg %id NoGoto - Old Setting:Off , New Setting:On
        vcmp.msg %id All players cannot teleport to you now
        !hadd -m gotooff $vcmp.name(%id) off
      }
    }
    elseif ($3 == off) {
      if ($hget(gotooff,$vcmp.name(%id)) != off ) vcmp.msg %id your goto is already enabled.
      else {
        vcmp.msg %id NoGoto - Old Setting:On , New Setting:Off
        vcmp.msg %id All players can teleport to you now
        !hdel gotooff $vcmp.name(%id)
      }
    }
  }

Cheers
Amenine

3
mIRC/pawn Scripting / Re: nogoto for fbs?
« on: March 25, 2009, 07:19:44 am »
Here try this..
First You need to identify that player has nogoto on or off..so change ur goto command with this one..
Code: [Select]
elseif ($3 == goto) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 You must either register or be logged in as Admin Level 2.
    elseif ($FBS.Level($1, $2) < 2) vcmp.msg $1 $2 Error, You need to be at least level 2 to use this command.
    elseif (!$4) vcmp.msg $1 $2 Error - Correct Syntax: /c $3 <Nick/ ID>
    elseif ($hget(gotooff,$vcmp.name( $1, $2 )) == off ) vcmp.say $1 $vcmp.name( $1, $2 ) $+ 's goto is currently disabled.
    elseif ($vcmp.getid($1, $4) == 255) vcmp.msg $1 $2 Error: Invalid Nick-Name
    elseif ($FBS.rwarstatus($FBS.ID($4)) == 1) vcmp.msg $1 $2 This person is taking part in the roof fighters mingame, wait until the round is over.   
    else {
      vcmp.say $1 ** Sending:[ $vcmp.name($1, $2) $chr(93) to:[ $vcmp.name($1, $FBS.ID($4)) $chr(93)
      vcmp.msg $1 $2 District:[ $+ $vcmp.area($1, $FBS.ID($4)) $+ $chr(93)
      vcmp.setlocation $1 $2 $calc($vcmp.location($1, $FBS.ID($4)).x + 2) $vcmp.location($1, $FBS.ID($4)).y $calc($vcmp.location($1, $FBS.ID($4)).z - 1.12)
    }
  }

And for doing nogoto on or off..
Code: [Select]
elseif ($3 == nogoto) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 You must either register or be logged in as Admin Level 2.
    elseif ($FBS.Level($1, $2) < 2) vcmp.msg $1 $2 Error, You need to be at least level 2 to use this command.
    elseif ($hget(gotooff,$vcmp.name( $1, $2 )) == off ) vcmp.say $1 $vcmp.name( $1, $2 ) $+ 's has /c nogoto on.
    elseif ($4 == on) {
      if ($hget(gotooff,$vcmp.name( $1, $2 )) == off ) vcmp.msg $1 $vcmp.name( $1, $2 ) - your goto is already disabled.
      else {
        vcmp.msg $1 $2 NoGoto - Old Setting:Off , New Setting:On
        vcmp.msg $1 $2 All players cannot teleport to you now
        !hadd -m gotooff $vcmp.name( $1, $2 ) off
      }
    }
    elseif ($4 == off) {
      if ($hget(gotooff,$vcmp.name( $1, $2 )) != off ) vcmp.msg $1 your goto is already enabled.
      else {
        vcmp.msg $1 $2 NoGoto - Old Setting:On , New Setting:Off
        vcmp.msg $1 $2 All players can teleport to you now
        !hdel gotooff $vcmp.name( $1, $2 )
      }
    }
  }
Although i didnt use FBS but tried to make one..hope it will work..
Note:Untested

Regards
Amenine

4
mIRC/pawn Scripting / Re: Self-Heal..
« on: March 23, 2009, 01:26:58 pm »
1)With new DLL u need to convert your whole GUS..which i think not possible for u..
2)No need of that command unless u convert your GUS script..

Regards
Amenine

5
here try this..timer jail..
Usage !jail <player> <time/sec>..
Enjoy.../
Code: [Select]
elseif (jail* iswm $3) {
      if ($WSV.pconnected($4)) {
        if ($5) {
          if $WSV.levels($2) >= $WSV.levels($4) {
          WSV.cmdlevelcheck3 $1-
          WSV.say Admin $WSV.name($2) Jailed player: $chr(91) $WSV.name($4) $chr(93) For: $chr(91) $5- $chr(93) seconds.
          WSV.setlocation $WSV.id($4) 381.6198 -504.7959 9.3956
          WSV.setweapon $WSV.id($4) 0 1
          WSV.announce $WSV.id($4) You are ~o~jailed! ~u~for $5- seconds
          WSV.setcontrols $WSV.id($4) 0
          !.timer 1 $5- /WSV.setcontrols $WSV.id($4) 1
          !.timer 1 $5- /WSV.announce $WSV.id($4) Jailing over! you can go now
         }
         else WSV.msg $2 You can't jail someone who has higher level than you.
         }
         else WSV.msg $2 Please set the jailing time.
         }
         else WSV.msg $2 Player unavailable!
    }

6
mIRC/pawn Scripting / Re: IRC Problem
« on: March 09, 2009, 10:37:26 pm »
Big Thanks to Thijn.. :D

Regards
Amenine

7
mIRC/pawn Scripting / IRC Problem
« on: March 09, 2009, 03:10:15 pm »
Can someone help me through out the Irc ...
Like:
Code: [Select]
on *:JOIN:*:{
Code: [Select]
on *:Quit
And other actions and alll means i need all like in GUS
In Gus there are signals according to which script works..i too want that like JOIN and Quit if there are any...

Thanks
Amenine

8
XE Servers (Legacy) / My Rights
« on: March 06, 2009, 12:25:32 am »
Dear Admins of XE..

Shocking
I dont know why my admin rights have been taken back..
I was not given any warning though..but i got pm from Head that Chucky blamed me as i am hacing on the name of [DU]Darfy...lol never why i gonna use other name and about hacing i havent done it..it was alright first but i dont know why it happens so do something about thi issue.... :-\

Thanks
Amenine

9
mIRC/pawn Scripting / Re: InVaLiD NiCk..
« on: March 03, 2009, 03:24:06 pm »
If this is GUS with the old DLL, It's $1 ;)
Yup Thijn is right ,its $1...
Now working fine ..
Nvm Thanks to all for their suggestions.. :P

10
mIRC/pawn Scripting / InVaLiD NiCk..
« on: March 02, 2009, 09:50:14 am »
Hey i am trying to convert WSV little but getting problem here...about invalid nick gets a kick...but its kicking everyone in server with name as [CG]Amenine or with invalid name as !!35433%%#...Plz try to sort this out...

Here.
Code: [Select]
if ($len($3) < 3) || ($left($3,1) isnum) || ($chr(35) isin $3) || ($chr(36) isin $3) || ($chr(37) isin $3) || ($3 == none) {
    vcmp.say *** $3 has been auto-kicked. [Invalid Nick]
    vcmp.announce %id ~y~Please change your nick-name..
    .timer 1 2 /vcmp.kick %id
  }

11
XE Servers (Legacy) / Re: Server Admin
« on: February 11, 2009, 06:24:16 am »
I am Not...and i dont care to bother what he is ...so plz stop calling me that idiot..maybe our Ip address matches bcoz of country ahh see this..
Amenine Ip=122.x.x something
Same
Punjabi=122.x.x.x
I need to convey that Subnet alias are same but not the persons so plzz...

Amenine

12
mIRC/pawn Scripting / Re: Help With ...
« on: January 09, 2009, 09:18:04 pm »
No problem..and i am Amenine not Amenime ;)

13
mIRC/pawn Scripting / Re: Help With ...
« on: January 09, 2009, 02:37:12 pm »
Here..by [XE]Tommis..

Code: [Select]
alias vcmp.before.findskin {

  ;$1 == ID
  ;$2 == NAME

  timer -m 1 1000 vcmp.findskin $1-
}
alias vcmp.findskin {

  ;$1 == ID
  ;$2 == NAME

  if (Biker1 isin $vcmp.area($1)) {
    !writeini -n vcmp.skin.ini SKINS $1 Biker-Boy
    vcmp.msg $1 You spawned as a Biker-Boy.
  }
  elseif (Biker2 isin $vcmp.area($1)) {
    !writeini -n vcmp.skin.ini SKINS $1 Biker-Buddy
    vcmp.msg $1 You spawned as a Biker-Buddy.
  }
  elseif (Biker isin $vcmp.area($1)) {
    !writeini -n vcmp.skin.ini SKINS $1 Biker
    vcmp.msg $1 You spawned as a Biker.
  }
}

Althouh u can chnage the locations and skin names..as these are written by me..for testing..

Code: [Select]
on *:SIGNAL:vcmp.spawn:{
  var %name = $1
  var %id = $vcmp.getid($1)

  timer -m 1 500 vcmp.before.findskin %id %name
}

Regards

Amenine

14
mIRC/pawn Scripting / Re: Help With Pickups
« on: January 05, 2009, 01:11:24 pm »
That i dont know sorry... :-X

15
mIRC/pawn Scripting / Re: Help With Pickups
« on: January 05, 2009, 12:55:50 pm »
What u mean dude?  :P

Pages: [1] 2 3 4