Author Topic: I need idea :)  (Read 1929 times)

0 Members and 1 Guest are viewing this topic.

Offline ThimottyTopic starter

  • Jr. Member
  • **
  • Posts: 61
  • Activity:
    0%
  • Reputation Power: 0
  • Thimotty has no influence.
  • Respect: +7
  • Referrals: 0
    • View Profile
I need idea :)
« on: November 01, 2009, 06:15:31 PM »
0
Can anyone give me idea how to make something like this:
Code: [Select]
set %file c:\ignored.txt
call %file
if some_conditions_here
   {
   execute cmd.exe /c echo ignoreitem #FINDID >> %file
   }
This way it does not ignore the items from ignored.txt file on "call %file"


edit: I found the problem. It is working however the "exit" command reset all ignored items but preventing the "call" command to execute again. It is very strange.
« Last Edit: November 02, 2009, 02:14:16 AM by Thimotty »

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: I need idea :)
« Reply #1 on: November 02, 2009, 09:39:49 AM »
0
IF Exit reset ignore list perhaps you can create an array in the file

and after the call command run a sub that iterates throught the array ignoreing the items.
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Tags: