mIRC Homepage
Posted By: Julepils Easy Question (I think) - 25/11/04 09:30 AM
When I load a script, Ive encountered a little boggle..

on *:load: {
/.set %nothing $me
}

This sets the variable %nothing as my nickname. (Julepils)
So,
%nothing Julepils

But I want it to set it as,
%nothing $me
instead... its doable when you write /.set %nothing $me while your in mIRC, but I cant seem to manage it to do so when it's loaded...

What might be wrong? smile
Posted By: Zonk Re: Easy Question (I think) - 25/11/04 09:38 AM
use set %nothing $eval($me,0)
that will set it to $me instead of your actual nick..
Posted By: Iori Re: Easy Question (I think) - 25/11/04 10:22 AM
Code:
on *:load:{
  set %nothing $[color:red]![/color]me
}
Posted By: landonsandor Re: Easy Question (I think) - 25/11/04 10:25 AM
or you could do (any of the following):

set %nothing $!me
set %nothing $ $+ me
set %nothing $+($,me)

They should all work as well
© mIRC Discussion Forums