Fanfare Posted January 12, 2010 Report Share Posted January 12, 2010 I think the last part of code can be shortened a bit: if ($istok(306 822,$numeric,32)) if ($istok(305 821,$numeric,32)) Link to comment Share on other sites More sharing options...
Warrior124 Posted January 12, 2010 Report Share Posted January 12, 2010 nais tuke = thank you Warrior124 fella that works a treat on all the sounds even if someone comes into the room and goes into there cup it does it No problem, lol. Link to comment Share on other sites More sharing options...
takaharu_ Posted January 12, 2010 Report Share Posted January 12, 2010 Isn't $nofile($mircexe) the same as $mircdir or has that changed? Link to comment Share on other sites More sharing options...
Warrior124 Posted January 13, 2010 Report Share Posted January 13, 2010 (edited) With the new versions of mirc they mainly install into your C:\Users\... directory for Windows 7, and somewhere else in Windows Vista as well as the directory you choose to install to. However, the mirc.ini file will more than likely not be in the directory you have chosen, and therefore the $mircdir will not be accurate. $mircdir/$scriptdir will refer to the directory the mirc.ini file is located in. $nofile($mircexe) refers to the directory the current mirc.exe is being run in. Edited January 13, 2010 by Warrior124 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now