mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2005
Posts: 2
G
Bowl of petunias
OP Offline
Bowl of petunias
G
Joined: Apr 2005
Posts: 2
I really feel like a noob for this...But I've been trying various methods for a few hours without success.

I need to see if a variable string, %who, evaluates out to $me.

if($me != %who) { blah }

Hasn't shown me much success...I tried searching before posting this, but couldn't seem to find anything 100% on the nose.

Also help with if(name != %var) { xxx } would be appreciated, too.

Joined: Apr 2005
Posts: 18
B
Pikka bird
Offline
Pikka bird
B
Joined: Apr 2005
Posts: 18
try a space between if and (

Code:
  
if ($me != %who) { blah }

Joined: Apr 2005
Posts: 2
G
Bowl of petunias
OP Offline
Bowl of petunias
G
Joined: Apr 2005
Posts: 2
Wow...I can't believe I missed that blush Just shows sometimes all you need is a 3rd party to look at it...


Link Copied to Clipboard