Search ini file for a name - 14/09/15 08:37 PM
Now I know this is simple However I know you can search for $null but how do you search if there IS a name IE return if there is a name there but else continue, Here is the code I am working on.
As you can see I am stuck at that last part, How do I set it so that it's the opposite of null, IE not caring if his name is timmy or bob, if there is a HeadAdmin it will not continue, Any help?
Code:
$readini(derp.ini, herps, $2/$nick)
Code:
///////////////// ///Head Admin/// /////////////// on *:text:!hadmin:#: { var %permstat = $readini(adminlist.ini, HeadAdmin) if (%permstat == $null) { msg $chan No Head Admin is set! } elseif (%permstat =)
As you can see I am stuck at that last part, How do I set it so that it's the opposite of null, IE not caring if his name is timmy or bob, if there is a HeadAdmin it will not continue, Any help?