Author Topic: right click  (Read 11483 times)

0 Members and 1 Guest are viewing this topic.

Herodes

  • Guest
Re: right click
« Reply #25 on: 07 October, 2006, 19:35:48 »
no....it is not a script or thread......i am just making my own right.....first i disable teh right click of all my scripts and thn cuztomizing my own right click.......in making my own right click i faced a porb while making a separator.......read my above post.....
yeap I noticed ;) nice to see you doing some stuff on your own :P

I just now saw the post from Rincewind
try changing the curUser to user ;o

PtokaX forum

Re: right click
« Reply #25 on: 07 October, 2006, 19:35:48 »

Offline Rincewind

  • Scripter
  • Lord
  • ******
  • Posts: 403
  • Karma: +60/-7
    • Rincewind's Scripts
Re: right click
« Reply #26 on: 07 October, 2006, 20:29:12 »
Sorry that was me not paying attenton to the variable names

Offline speedX

  • Lord
  • ***
  • Posts: 437
  • Karma: +59/-19
Re: right click
« Reply #27 on: 07 October, 2006, 20:53:52 »
hm.....so i guess tht my request is not possible to fulfill  :(
Thanking You,

speedX

Offline Rincewind

  • Scripter
  • Lord
  • ******
  • Posts: 403
  • Karma: +60/-7
    • Rincewind's Scripts
Re: right click
« Reply #28 on: 07 October, 2006, 21:30:26 »
as Herodes said change the curUser in the line I supplied to user and the separator should then work

Offline speedX

  • Lord
  • ***
  • Posts: 437
  • Karma: +59/-19
Re: right click
« Reply #29 on: 07 October, 2006, 21:37:18 »
The separator is working....but it is shoing the separator after Nick of IP.....I would like a separator between IP help and Alerts.........is it possible?? and i tried both curuser and user but still the separator comes after Nick from IP.....
Thanking You,

speedX

Offline Rincewind

  • Scripter
  • Lord
  • ******
  • Posts: 403
  • Karma: +60/-7
    • Rincewind's Scripts
Re: right click
« Reply #30 on: 07 October, 2006, 21:53:09 »
Is the code you have this;
Code: [Select]
user:SendData("$UserCommand 1 3 HOPS\\IP Help\\Nick From IP$<%[mynick]> +ip %[line:IP]&#124;")
user:SendData("$UserCommand 0 3 &#124;")
user:SendData("$UserCommand 1 3 HOPS\\Alerts\\Add Alert$<%[mynick]> +addalert %[line:nick]&#124;")

Offline speedX

  • Lord
  • ***
  • Posts: 437
  • Karma: +59/-19
Re: right click
« Reply #31 on: 07 October, 2006, 21:58:06 »
nope I m using this code...
Code: [Select]
   user:SendData("$UserCommand 1 3 HOPS\\IP Help\\Nick From IP$<%[mynick]> +ip %[line:IP]&#124;|")
   user:SendData("$UserCommand 0 3 ")
   user:SendData("$UserCommand 1 3 HOPS\\Alerts\\Add Alert$<%[mynick]> +addalert %[line:nick]&#124;|")

But i tried ur code also....not workin as per my request... :(  the separator is still coming after Nick from IP
« Last Edit: 07 October, 2006, 22:02:57 by speedX »
Thanking You,

speedX

Herodes

  • Guest
Re: right click
« Reply #32 on: 07 October, 2006, 22:19:05 »
it is impossible.. resistance is futile.

try making it without the sub-menus.. it'll work ;)

Code: [Select]
user:SendData("$UserCommand 1 3 HOPS\\IP Help - Nick From IP$<%[mynick]> +ip %[line:IP]&#124;|")
user:SendData("$UserCommand 0 3 ")
user:SendData("$UserCommand 1 3 HOPS\\Alerts - Add Alert$<%[mynick]> +addalert %[line:nick]&#124;|")

Probably the separator can be added only for just until one sub menu. no more. ( I don't know if its meant to work this way in the client, if not then its a bug that will not be fixed since the DC++ creators are going to remove all NMDC Protocol from the DC++ sooner than we can all imagine... )

Offline speedX

  • Lord
  • ***
  • Posts: 437
  • Karma: +59/-19
Re: right click
« Reply #33 on: 07 October, 2006, 22:33:27 »
ya even i knew it tht it would be impossible......but thought i shud once ask u all...... np
Thanking You,

speedX

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Emperor
  • **
  • Posts: 1 054
  • Karma: +112/-1
  • I am wherever i want to be
    • PtokaX Luaboard
Re: right click
« Reply #34 on: 07 October, 2006, 22:43:58 »
well i've been playing around a bit and this bit works for me

Code: [Select]
user:SendData("$UserCommand 1 3 HOPS\\IP Help - Nick From IP$<%[mynick]> +ip %[line:IP]&#124;");
user:SendData("$UserCommand 0 3 ");
user:SendData("$UserCommand 1 3 HOPS\\Alerts - Add Alert$<%[mynick]> +addalert %[line:nick]&#124;");

either that way or this way

Code: [Select]
user:SendData("$UserCommand 1 3 HOPS\\IP Help\\Nick From IP$<%[mynick]> +ip %[line:IP]&#124;");
user:SendData("$UserCommand 0 3 ");
user:SendData("$UserCommand 1 3 HOPS\\Alerts\\Add Alert$<%[mynick]> +addalert %[line:nick]&#124;");
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Offline Rincewind

  • Scripter
  • Lord
  • ******
  • Posts: 403
  • Karma: +60/-7
    • Rincewind's Scripts
Re: right click
« Reply #35 on: 07 October, 2006, 23:04:03 »
Yeah sorry I was forgetting about rhe submenus  :P

The separator will appear at the bottom of the previous submneu rather than ijn the top level. As far as I know there is no way round that

Offline speedX

  • Lord
  • ***
  • Posts: 437
  • Karma: +59/-19
Re: right click
« Reply #36 on: 07 October, 2006, 23:13:26 »
hm......unfortunately the 2nd one is not working for me......would not like if it is displayed like the first one.......
Thanking You,

speedX

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Emperor
  • **
  • Posts: 1 054
  • Karma: +112/-1
  • I am wherever i want to be
    • PtokaX Luaboard
Re: right click
« Reply #37 on: 07 October, 2006, 23:45:59 »
what client are you using?

like i said they both work for me and i'm using CZDC 0.666[P2]
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Offline speedX

  • Lord
  • ***
  • Posts: 437
  • Karma: +59/-19
Re: right click
« Reply #38 on: 08 October, 2006, 07:42:50 »
i m using Strong DC 1 rc10
Thanking You,

speedX

PtokaX forum

Re: right click
« Reply #38 on: 08 October, 2006, 07:42:50 »