Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [script]
- n0=on 500,543:TEXT:*:#: { halt }
- n1=on *:LOAD: {
- n2= echo -at Loaded CPU Control
- n3= echo -at No new variables added, all are global
- n4=}
- n5=on *:UNLOAD: {
- n6= echo -at Unloaded CPU Control
- n7= echo -at No variables unset, all are global
- n8=}
- n9=on *:TEXT:!open*:#[MM]IKKE,#[MM]IKKE.echo: {
- n10= if ($me == %bot1 && $nick == %owner && $1 == !open) {
- n11= if ($2 == $null) { scon $bot_say($chan) msg $chan 4ERROR: Usage: !open <file|profile> }
- n12= elseif ($2 == profile) {
- n13= if ($isfile(Stats\ $+ $3 $+ .txt)) {
- n14= run notepad.exe "\Stats\ $+ $3 $+ "
- n15= scon $bot_say($chan) msg $chan Opening user profile " $+ $3 $+ .txt"
- n16= }
- n17= else {
- n18= scon $bot_say($chan) msg $chan 4ERROR: File doesn't exist
- n19= }
- n20= }
- n21= /*
- n22= elseif (.doc isin $2-) {
- n23= if ($isfile("C:\Users\user\Desktop\ $+ $2- $+ ")) {
- n24= run WINWORD.EXE /q /t "C:\Users\user\Desktop\ $+ $2- $+ "
- n25= scon $bot_say($chan) msg $chan Opening document "C:\Users\user\Desktop\ $+ $2- $+ " in Microsoft Office Word 2007
- n26= }
- n27= elseif ($isfile("C:\Users\user\Documents\ $+ $2- $+ ")) {
- n28= run WINWORD.EXE /q /t "C:\Users\User\Documents\ $+ $2- $+ "
- n29= scon $bot_say($chan) msg $chan Opening document "C:\Users\User\Documents\ $+ $2 $+ " in Microsoft Office Word 2007
- n30= }
- n31= else {
- n32= scon $bot_say($chan) msg $chan 4ERROR: File does not exist (maybe search other directories?)
- n33= }
- n34= }
- n35= elseif (.xls isin $2-) {
- n36= if ($isfile("C:\Users\User\Desktop\ $+ $2- $+ ")) {
- n37= run EXCEL.EXE /t "C:\Users\User\Desktop\ $+ $2- $+ "
- n38= scon $bot_say($chan) msg $chan Opening document "C:\Users\User\Desktop\ $+ $2- $+ " in Microsoft Office Excel 2007
- n39= }
- n40= elseif ($isfile("C:\Users\User\Documents\ $+ $2- $+ ")) {
- n41= run EXCEL.EXE /t "C:\Users\User\Documents\ $+ $2- $+ "
- n42= scon $bot_say($chan) msg $chan Opening document "C:\Users\User\Documents\ $+ $2- $+ " in Microsoft Office Excel 2007
- n43= }
- n44= else {
- n45= scon $bot_say($chan) msg $chan 4ERROR: File does not exist (maybe search other directories?)
- n46= }
- n47= }
- n48= elseif (.txt isin $2-) {
- n49= if ($isfile($2)) {
- n50= run notepad.exe $2
- n51= scon $bot_say($chan) msg $chan Opening document $2 in notepad
- n52= }
- n53= elseif ($exists(PMs\ $+ $2- )) {
- n54= run notepad.exe "C:\Users\user\Documents\mIRC\PMs\ $+ $2 $+ "
- n55= scon $bot_say($chan) msg $chan Opening PMs with $2 (" $+ $2 $+ ")
- n56=
- n57= }
- n58= elseif ($isfile("C:\Users\User\Desktop\ $+ $2- $+ ")) {
- n59= run notepad.exe "C:\Users\User\Desktop\ $+ $2- $+ "
- n60= scon $bot_say($chan) msg $chan Opening document "C:\Users\User\Desktop\ $+ $2- $+ " in notepad
- n61= }
- n62= elseif ($isfile("C:\Users\User\Documents\ $+ $2- $+ ")) {
- n63= run notepad.exe "C:\Users\User\Documents\ $+ $2- $+ "
- n64= scon $bot_say($chan) msg $chan Opening document "C:\Users\User\Documents\ $+ $2- $+ " in notepad
- n65= }
- n66= elseif ($isfile(Stats\ $+ $2)) {
- n67= run notepad.exe "C:\Users\user\Documents\mIRC\Stats\ $+ $2 $+ "
- n68= scon $bot_say($chan) msg $chan Opening user profile " $+ $remove($2,.txt) $+ "
- n69= }
- n70= else {
- n71= scon $bot_say($chan) msg $chan 4ERROR: File does not exist (maybe search other directories?)
- n72= }
- n73= }
- n74= elseif (.tif isin $2- || .gif isin $2- || .dib isin $2- || .bmp isin $2- ||.jfif isin $2- || .jpe isin $2- || .jpg isin $2- || .jpeg isin $2- || .png isin $2-) {
- n75= if ($isfile($2)) {
- n76= run OIS.EXE $2
- n77= scon $bot_say($chan) msg $chan Opening picture $2 in Microsoft Office Picture Manager
- n78= }
- n79= elseif ($isfile("C:\Users\User\Desktop\ $+ $2- $+ ")) {
- n80= run OIS.EXE "C:\Users\User\Desktop\ $+ $2- $+ "
- n81= scon $bot_say($chan) msg $chan Opening picture "C:\Users\User\Desktop\ $+ $2- $+ " in Microsoft Office Picture Manager
- n82= }
- n83= elseif ($isfile("C:\Users\User\Documents\ $+ $2- $+ ")) {
- n84= run OIS.EXE "C:\Users\User\Documents\ $+ $2- $+ "
- n85= scon $bot_say($chan) msg $chan Opening picture "C:\Users\User\Documents\ $+ $2- $+ " in Microsoft Office Picture Manager
- n86= }
- n87= elseif ($isfile("C:\Users\user\Pictures\ $+ $2- $+ ")) {
- n88= run OIS.EXE "C:\Users\user\Pictures\ $+ $2- $+ "
- n89= scon $bot_say($chan) msg $chan Opening picture "C:\Users\user\Pictures\ $+ $2- $+ " in Microsoft Office Picture Manager
- n90= }
- n91= else {
- n92= scon $bot_say($chan) msg $chan 4ERROR: File does not exist (maybe search other directories?)
- n93= }
- n94= }
- n95= elseif (.ini isin $2-) {
- n96= if ($isfile($2)) {
- n97= run notepad.exe $2
- n98= scon $bot_say($chan) msg $chan Opening ini file $2 in notepad
- n99= }
- n100= elseif ($isfile(channels\ $+ $2 )) {
- n101= run notepad.exe "C:\Users\user\Documents\mIRC\channels\ $+ $2 $+ "
- n102= scon $bot_say($chan) msg $chan Opening ini file $2 in notepad (channel file)
- n103= }
- n104= }
- n105= elseif ($left($2,1) == $chr(35)) {
- n106= if ($isfile(channels\ $+ $2 $+ .ini)) {
- n107= run notepad.exe "C:\Users\user\Documents\mIRC\channels\ $+ $2 $+ .ini"
- n108= scon $bot_say($chan) msg $chan Opening ini file $2 $+ .ini in notepad (channel file)
- n109= }
- n110= }
- n111= */
- n112= else {
- n113= scon $bot_say($chan) msg $chan 4ERROR: Unknown file extension
- n114= }
- n115= }
- n116= elseif ($me == %bot1 && $1 == !open) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
- n117=}
- n118=on *:TEXT:!trace*:#: {
- n119= if ($me == %bot1 && $nick == %owner && $1 == !trace) {
- n120= run chrome.exe http://www.ip-adress.com/ip_tracer/ $+ $2
- n121= scon $bot_say($chan) msg $chan Opening IP-tracer...
- n122= }
- n123= elseif ($me == %bot1 && $1 == !trace) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
- n124=}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement