mIRC Homepage
Posted By: Marantz onjoin - 13/06/04 01:54 PM
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.
Posted By: Venoman Re: onjoin - 14/06/04 10:15 AM
you can't just use if (# isin blah); mirc tries to translate # into a channel name. Try substituting $chr(35) for #.

-Venoman
© mIRC Discussion Forums