editLogs()

From Hack Wars Wiki

Jump to: navigation, search


Function information for editLogs()
Function editLogs(string original, string replacement)
API Attacking
Cost $1,500
Level 55
CPU Usage 4
Description Replaces all instances of the original string in the opponent's log with the replacement string.


Example

editLogs(getSourceIP(),"Hacked!");

If placed in the finalize event of your attack script, this will search for your IP in the target's log and replaced it with "Hacked!".

Personal tools