IPB

Welcome Guest ( Log In | Register )

> Fun with Scripts, and numbers!
Tsithlis
post Mar 7 2010, 08:18 PM
Post #1


Target
*

Group: Members
Posts: 92
Joined: 28-August 08
Member No.: 16,286



So here are some scripts I've been writing up for my nodes and IC

Script 1 (Node script)
Line1:
Do until global.Active_Alert = 1
Icon_Scantime.getlowerbound(0)
scan.icon
If icon.unauthorized = true then
global.Active_Alert = 1
Exit Do
Else
Icon_Scantime(icon, time)
Loop

If global.Active_Alert = 1 then
Security_Node.logoff
security.notify
Terminate icon.unauthorized
else goto Line1

Script 2 (Attack IC Script)
Line1:
Do until global.Active_Alert = 1
Icon_Scantime.getlowerbound(0)
scan.icon
If icon.unauthorized = true then
global.Active_Alert = 1
Exit Do
Else
Icon_Scantime(icon, time)
Loop

If global.Active_Alert = 1 then
Attack(icon.unauthorized)
else goto Line1

Script 3 (Support IC script)
Line1:
Do until global.Active_Alert = 1
If icon.new then
scan.icon
Else
Icon_Scantime.getlowerbound(0)
scan.icon
If icon.unauthorized = true then
global.Active_Alert = 1
Exit Do
Else
Icon_Scantime(icon, time)
Loop

If global.Active_Alert = 1 then
Do until global.Active_Alert = 0
If Old_Man1.active = false then
Old_Man1.activate
Elseif Old_Man2.active = false then
Old_Man2.activate
Else
Encrypt(access.log)
Loop
else goto Line1
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 16th November 2025 - 06:30 AM

Topps, Inc has sole ownership of the names, logo, artwork, marks, photographs, sounds, audio, video and/or any proprietary material used in connection with the game Shadowrun. Topps, Inc has granted permission to the Dumpshock Forums to use such names, logos, artwork, marks and/or any proprietary materials for promotional and informational purposes on its website but does not endorse, and is not affiliated with the Dumpshock Forums in any official capacity whatsoever.