View Full Version : Old Message script
Trinitis
08-25-2004, 03:36 PM
A long time ago, I found a script on a website somewhere that ran messages in Ta'Vaalor. This script had a "subroutine" in it that stopped at the back, and through 4 or 5 checks of INFO, figured out how many silvers you had on you and deposited that ammount. Anyone have this old script by chance? I'm wanting to steal/convert that part into a script I'm making.
Thanks :)
Just curious but why not use deposit all?
Nakiro
08-25-2004, 05:06 PM
If you have a script that does the same thing, but doesn't deposit silver, you can set it to go to the bank and do a depo all.
That'll get rid of your silvers for you.
Trinitis
08-25-2004, 08:58 PM
Thought of that already..problem is Pinefar is not a bank. you GIVE the guy your silvers, and he puts them in the bank :(
This is a lot dirtier and lower tech, but before depo all I just put "depo 10000" and had that loop until I didn't have enough, then 5000 once, then 1000 until I didn't have enough, then 500 once. It got the job done at least.
Latrinsorm
08-25-2004, 09:06 PM
Sounds like you're going to have to set up a crapload of matches or do the ol' depo 10000, depo 1000, depo 100, depo 10, depo 1 trick (only with give).
Trinitis
08-25-2004, 09:08 PM
Well, I'm really wanting to find this script for more then just adding that part. The person that made this script had a a way of ignoring parts of a string..and I wanna know how he did it. I looked at it when I had it, I just forgot how he did it.
It was something like ...
put info
match 1000 Silver : 1***
match 2000 Silver : 2***
etc etc
But I already tried that, and it don't work.
AnticorRifling
08-25-2004, 09:10 PM
Just do a
deposit1:
put deposit 200
match deposit1 You deposit
match start you don't have that much
matchwait
That way it will deposit and deposit and deposit until you're at <199 which isn't enough silver to matter.
Enchanter
08-25-2004, 09:14 PM
Learn how to use matchRE's. They aren't that hard.
Bobmuhthol
08-25-2004, 09:17 PM
I'm working on one. It works.
>
.breakgs
[Press the ESCape key to abort script.]
wealth
12
[Script finished!]
You have 12 coins with you.
Trinitis
08-25-2004, 09:17 PM
funny, I've never heard of a MatchRE
Latrinsorm
08-25-2004, 09:31 PM
Originally posted by LordAdredrin
The person that made this script had a a way of ignoring parts of a string..and I wanna know how he did it.Me too, because I could've sworn that was impossible. Are you sure it wasn't a WizTrigger (or whatever it's called) thing?
(lol @ a script called break gs)
Bobmuhthol
08-25-2004, 09:33 PM
This works up to 19. Yay.
#breakgs.cmd
put wealth
Start:
match a 1
match b 2
match c 3
match d 4
match e 5
match f 6
match g 7
match h 8
match i 9
match fuckyou You have no silver coins with you.
matchwait
a:
match aa 1
match ab 2
match ac 3
match ad 4
match ae 5
match af 6
match ag 7
match ah 8
match ai 9
match enda coins
matchwait
enda:
save %1
echo 1
exit
aa:
match aaa 1
match aab 2
match aac 3
match aad 4
match aae 5
match aaf 6
match aag 7
match aah 8
match aai 9
match endaa coins
matchwait
ab:
match aba 1
match abb 2
match abc 3
match abd 4
match abe 5
match abf 6
match abg 7
match abh 8
match abi 9
match endab coins
matchwait
ac:
match aca 1
match acb 2
match acc 3
match acd 4
match ace 5
match acf 6
match acg 7
match ach 8
match aci 9
match endac coins
matchwait
ad:
match ada 1
match adb 2
match adc 3
match add 4
match ade 5
match adf 6
match adg 7
match adh 8
match adi 9
match endad coins
matchwait
ae:
match aea 1
match aeb 2
match aec 3
match aed 4
match aee 5
match aef 6
match aeg 7
match aeh 8
match aei 9
match endae coins
matchwait
af:
match afa 1
match afb 2
match afc 3
match afd 4
match afe 5
match aff 6
match afg 7
match afh 8
match afi 9
match endaf coins
matchwait
ag:
match aga 1
match agb 2
match agc 3
match agd 4
match age 5
match agf 6
match agg 7
match agh 8
match agi 9
match endag coins
matchwait
ah:
match aha 1
match ahb 2
match ahc 3
match ahd 4
match ahe 5
match ahf 6
match ahg 7
match ahh 8
match ahi 9
match endah coins
matchwait
ai:
match aia 1
match aib 2
match aic 3
match aid 4
match aie 5
match aif 6
match aig 7
match aih 8
match aii 9
match endai coins
matchwait
endaa:
save 11
echo %s
exit
endab:
save 12
echo %s
exit
endac:
save 13
echo %s
exit
endad:
save 14
echo %s
exit
endae:
save 15
echo %s
exit
endaf:
save 16
echo %s
exit
endag:
save 17
echo %s
exit
endah:
save 18
echo %s
exit
endai:
save 19
echo %s
exit
Bobmuhthol
08-25-2004, 09:34 PM
P.S. It does not work with 1 because of the stupid "You have but one coin on you" message.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.