mIRC Home    About    Download    Register    News    Help

Print Thread
#43625 22/08/03 08:52 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
Code:
  elseif ($2 == part) { 
    dline $window(@sockbot* $+ $3,1) $&
      $fline($window(@sockbot* $+ $3,1),$+(*,$remove($gettok($1,1,33),:),*),1,1) $&
      $fline($window(@sockbot* $+ $3,1),$+(*,$remove($gettok($1,1,33),:),*),1,1) 
  }

sockread echos:
Code:
:phoenix!~force_n_s@serverhere-329A8BA5.nott.cable.ntl.com PART #channelhere

i was hoping this would delete a nickname from the side listbox in a custom window, when $2 = part in sockread.
the sockread echos the above^, the window is in the following format:
@sockbot|serverhere|#channelhere
it doesn't do what i want or echo an error :tongue:
anyone know the problem frown?

Last edited by Hammer; 23/08/03 11:14 AM.

new username: tidy_trax
#43626 22/08/03 09:10 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
To use /dline on the listbox, you need to specify -l

/dline -l @window .....

#43627 22/08/03 09:19 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
shocked, i used that about 20 times in this script, but forgot on that one, thanks for spotting that grin


new username: tidy_trax

Link Copied to Clipboard