> Here's a slightly revised version: > - expanded debug line and added how to comment it out > - made PATH escape-character independent
Hi SGP, I was looking over your code and noticed that you use the MiscPlugin to check that an argument is an integer: local ms=ifelse(miscplugin.is_int(arg(2)),arg(2),0) It is possible to do this without the use of MiscPlugin for the sake of people who don't yet have it (no offense to Russel of course): local ms = arg(2) + 0 This has virtually the same effect with the added bonus of truncating decimal values (which MiscPlugin.is_int() seems not to). -- Regards, Alex Peters Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
