question about an easymod command

Want to share what MODs you've gotten to work with EM? Happy about all the time your're saving? Want to say "thanks"? Here's the place.
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
Locked
duvelske
Registered User
Posts: 4
Joined: Fri Nov 28, 2003 10:12 pm

question about an easymod command

Post by duvelske »

Does the easymod command DELETE exist. Because i have a mod which must delete annother section in order to work :( It is only in an .tpl file so the other mods will work ;)

User avatar
Ptirhiik_
Registered User
Posts: 526
Joined: Tue Nov 18, 2003 8:35 am

Re: question about an easymod command

Post by Ptirhiik_ »

Sadly no, neither CHMOD command, nor delete statement in instructions.

duvelske
Registered User
Posts: 4
Joined: Fri Nov 28, 2003 10:12 pm

Re: question about an easymod command

Post by duvelske »

ok, wil this work then:

when you first find something

and then replace with

nothing??

octonion
Registered User
Posts: 3
Joined: Thu Aug 28, 2003 3:55 am
Location: New Jersey, USA
Contact:

Re: question about an easymod command

Post by octonion »

I tried that (albeit on an earlier version of EM) and it gave an error. What you can do is replace it with an HTML comment (<!-- -->).
/* randomized for your convenience: 42 */

User avatar
Ptirhiik_
Registered User
Posts: 526
Joined: Tue Nov 18, 2003 8:35 am

Re: question about an easymod command

Post by Ptirhiik_ »

For many reason, best is to find with something before or after, then replace with this thing. ie:

Code: Select all

#
#---[ FIND ]--------
#
</tr>
<tr>
      <td>{FOO}</td>
#
#---[ REPLACE WITH ]-------------------
#
</tr>

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: question about an easymod command

Post by GPHemsley »

<offtopic>

@octonion: That's not random, that's the meaning of life! :mrgreen:

</offtopic>

Locked