mIRC Home    About    Download    Register    News    Help

Print Thread
#245760 07/05/14 12:21 AM
Joined: Apr 2014
Posts: 19
R
Pikka bird
OP Offline
Pikka bird
R
Joined: Apr 2014
Posts: 19
I was trying to add the option to have another user be able to use this script as well as myself but I just can't get it. Maybe someone could be of assistance smile



on $*:text:/^!point (on|off):#:{
if $nick != rapidhaste { return }
if $2 == off {
set -e %point.off 1
msg # Points turn off
}
else {
unset %point.off
msg # Points turn on
}
}

Joined: Mar 2014
Posts: 52
P
Babel fish
Offline
Babel fish
P
Joined: Mar 2014
Posts: 52
Code:
if ($nick != rapidhaste) || ($nick != billgates) { return }

Joined: Apr 2014
Posts: 191
B
Vogon poet
Offline
Vogon poet
B
Joined: Apr 2014
Posts: 191
It should use && not ||
Code:
if ($nick != rapidhaste) && ($nick != billgates) { return }

Joined: Dec 2013
Posts: 779
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net

Link Copied to Clipboard