parent
6b2ddb5bc9
commit
ea2ec16b6b
|
@ -11,11 +11,11 @@ alias screenshot_bof {
|
||||||
# figure out the arch of this session
|
# figure out the arch of this session
|
||||||
$barch = barch($1);
|
$barch = barch($1);
|
||||||
# read in the right BOF file
|
# read in the right BOF file
|
||||||
$handle = openf(script_resource("screenshotBOF. $+ $barch $+ .obj"));
|
$handle = openf(script_resource("ScreenshotBOF. $+ $barch $+ .obj"));
|
||||||
$data = readb($handle, -1);
|
$data = readb($handle, -1);
|
||||||
closef($handle);
|
closef($handle);
|
||||||
# announce what we're doing
|
# announce what we're doing
|
||||||
btask($1, "Running screenshot BOF by (@codex_tf2)");
|
btask($1, "Running screenshot BOF by (@codex_tf2)");
|
||||||
# execute it.
|
# execute it.
|
||||||
beacon_inline_execute($1, $data, "go", $args);
|
beacon_inline_execute($1, $data, "go", $args);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue