mIRC Home    About    Download    Register    News    Help

Print Thread
Easy Question (I think) #103810 25/11/04 09:30 AM
Joined: Jan 2003
Posts: 14
J
Julepils Offline OP
Pikka bird
OP Offline
Pikka bird
J
Joined: Jan 2003
Posts: 14
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

Re: Easy Question (I think) #103811 25/11/04 09:38 AM
Joined: Jan 2003
Posts: 53
Z
Zonk Offline
Babel fish
Offline
Babel fish
Z
Joined: Jan 2003
Posts: 53
use set %nothing $eval($me,0)
that will set it to $me instead of your actual nick..

Re: Easy Question (I think) #103812 25/11/04 10:22 AM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Code:
on *:load:{
  set %nothing $[color:red]![/color]me
}

Re: Easy Question (I think) #103813 25/11/04 10:25 AM
Joined: Dec 2002
Posts: 1,527
L
landonsandor Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,527
or you could do (any of the following):

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

They should all work as well


Those who fail history are doomed to repeat it