mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2014
Posts: 20
R
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Mar 2014
Posts: 20
so for this if statement $2 is a nick but i dont know how i would have it check to see if nick 2's points are 0-20 i already have a an if statement checking to see if nick 1 has a certain amount of points to do the command.

if ($2 %points isnum 0-20) {

heres the whole code code script

http://pastebin.com/Uw9u3BiA

Joined: Apr 2014
Posts: 191
B
Vogon poet
Offline
Vogon poet
B
Joined: Apr 2014
Posts: 191
it should be
Code:
if ($readini(points.ini,$+(#,.,$2),points) isnum 0-20) {

Joined: Mar 2014
Posts: 20
R
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Mar 2014
Posts: 20
thank you so much


Link Copied to Clipboard