mIRC Home    About    Download    Register    News    Help

Print Thread
#103810 25/11/04 09:30 AM
Joined: Jan 2003
Posts: 14
J
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

#103811 25/11/04 09:38 AM
Joined: Jan 2003
Posts: 53
Z
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..

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

#103813 25/11/04 10:25 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
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

Link Copied to Clipboard