mIRC Home    About    Download    Register    News    Help

Print Thread
#86703 13/06/04 01:54 PM
Joined: Mar 2003
Posts: 160
Marantz Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Mar 2003
Posts: 160
ok, just been doing a basic aligned on text and on input
but i noticed when i hopped the channel, if an onjoin is set
it wouldn't show the channel name

< > hi, welcome to #blah
so i thought i could come up with a solution
Code:
  if (# isin $right($chan,$calc($len($chan) - 1)))  { return &lt;whatever here }  

but that doesn't work, any ideas?
thanks.

#86704 14/06/04 10:15 AM
Joined: Apr 2004
Posts: 45
V
Ameglian cow
Offline
Ameglian cow
V
Joined: Apr 2004
Posts: 45
you can't just use if (# isin blah); mirc tries to translate # into a channel name. Try substituting $chr(35) for #.

-Venoman


Link Copied to Clipboard