Home
Scripts
Malicious Scripts
DSINs
Help
About
Employment
Employees
Contact Us
Links
| |
Quote Of The Login v1.1
This script is a bit more complex. You need to put the
file quotes.txt into your DarkSigns user root directory
(eg. C:\games\Dark Signs\Data\Users\**yourusername***\root) and then add the
following to the bottom of startup.script (eg. C:\games\Dark
Signs\Data\Users\***yourusername***\root\system\startup.script)
//Quote Of The Login
var loop
var loopchecker
EXISTS quotes.txt
IF exisits = false
color red
SAY 1 Sorry, quotes.txt does not exist.
SAY 1 Aborting Quotes Of The Login Script.
goto end
ENDIF
! loop = 0
!loopchecker = 0
@loop
! loop = %loop% + 1
strline quotes.txt %loop%
IF strline =
! loopchecker = %loopchecker% + 1
ENDIF
IF loopchecker = 10
goto printquote
ENDIF
goto loop
@printquote
rndint %loop%
strline quotes.txt %rndint%
IF strline =
SAY 1 I didn't find anything to quote.
SAY 1 Are you sure there is something in quotes.txt?
goto end
ENDIF
SAY 10 The quote for this login is:
color blue
SAY 10 %strline%
@end |
|