User panel stuff on forum
  2 posts on 1 page  1
Advanced Configuration
2009-02-11, 16:18
Member
121 posts

Registered:
May 2006
i'm trying to make some anti-flood alias so that i can use my both right sided buttons from diamondback 3g without hitting it by mistake ALL THE TIME.. i thought about getting some bind such as +MOVEDOWN and associate it with an alias to modify those two mouse buttons .. the problem is that any "+command " that comes after another one simply won't do the -command after the button is pressed


lemme illustrate :

being[/b]:

alias +mousetp "bind MOUSE4 _need ; bind MOUSE5 _qdead"
alias -mousetp "bind MOUSE4 echo + alt = need ; bind MOUSE5 echo + alt = %q dead"

[i]if try
:
bind ALT "+movedown;+mousetp" // my buttons will keep the SAY_TEAM binds when i realease it..

bind ALT "+mousetp;+movedown" // my buttons will work right, say_team binds when ALT is pressed ; echoes when ALT is not pressed. BUT +movedown will keep going forever and i would sink like a rock under water.


why can't the client read more than a +command alias in the same bind ?
. - - -- Words are stones in my Mouth.. -- - - . [url=http://profile.xfire.com/katataniel][img]http://miniprofile.xfire.com/bg/sh/type/2/katataniel
2009-02-11, 16:24
Member
121 posts

Registered:
May 2006
hm.... solution to that was :

bind ALT "+movedown;+mousetp"

alias +movedownmousetp "+movedown; bind MOUSE4 _need ; bind MOUSE5 _qdead"
alias -movedownmousetp "-movedown; bind MOUSE4 echo + alt = need ; bind MOUSE5 echo + alt = %q dead"
. - - -- Words are stones in my Mouth.. -- - - . [url=http://profile.xfire.com/katataniel][img]http://miniprofile.xfire.com/bg/sh/type/2/katataniel
  2 posts on 1 page  1