Skip to content
General Chat Talk

Switch

A TG007 community discussion started by JOhnson.

Discussion 4 posts
Page 1 of 1
Open
Topic #15377 · 4 published posts · 912 views

:lmaojump: hi iv been using this as a switch in some of my codes and iv found since I upgrade mirc it shows like this all the time now link (0) and not like this link on / link off ... err0r gave me one ages ago but I cant find it in my files :shock: as always thank you for any replies :D

 

menu channel {
  -
  .link  ( $+ %link $+ )
  ..On:{ .enable #link | set %link On | echo $active 8,4-=[ link On ]=- }
  ..Off:{ .disable #link  | set %link Off | echo $active 8,4-=[ link Off ]=- }
}

instead of using .link ( $+ %link %+ ) try using .link ( $+ $group(#link) $+ )

Edited Dec 3, 2011 4:46 PM by err0r

Get information about ircWx here

:lmaojump: err0r that did the job ... works a treat ... thanks for your help :D

you are welcome, glad you got it going

Get information about ircWx here