Template:Script: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Updating documentation (StormFront to Wrayth)) |
||
(16 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> |
|||
# Set $container $cambrinth and $instrument to what you want to use |
|||
This template is used to properly categorize and tag Scripts. |
|||
# Change var to what you want to appraise |
|||
# Requires a compendium |
|||
# To run script type .(script name) (what you want to forage) |
|||
# If you want to play a different song alter the perform section |
|||
# Will add more as I get the inclination or requests |
|||
To use it, copy and paste: |
|||
<pre> |
|||
{{Script |
|||
|cat=combat, crafting, information, magic, quest, survival, training, travel, utility, Barbarian, Bard, Cleric, Empath, Moon Mage, Necromancer, Paladin, Ranger, Thief, Trader, Warrior Mage |
|||
|fe=Wrayth, Wizard, Lich, Genie, Outlander, VIPMud, Warlock, YASSE, Zmud (delete the incompatible ones) |
|||
|auth= |
|||
}} |
|||
</pre> |
|||
{{Cat|Templates}} |
|||
</noinclude><includeonly> |
|||
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" |
|||
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big> |
|||
|- |
|||
! Category |
|||
| {{#if:{{{cat|}}}|{{#arraymap:{{{cat}}}|,|x|[[Category:x scripts]]x}}|''Unknown''}} |
|||
|- |
|||
! Front-end |
|||
| {{#if:{{{fe|}}}|{{#arraymap:{{{fe}}}|,|x|[[Category:x scripts]]x}}|''Unknown''}} |
|||
|- |
|||
! Author |
|||
| {{#if:{{{auth|}}}|{{{auth}}}|'''Unknown'''}} |
|||
|} |
|||
{{Cat|Scripts}} |
|||
</includeonly> |
|||
var app1 gem pouch |
|||
var app2 hauberk |
|||
var app3 amulet |
|||
var app4 parry stick |
|||
put avoid !drag |
|||
waitforre ^You're now avoiding |
|||
put avoid !hold |
|||
waitforre ^You're now avoiding |
|||
put avoid !join |
|||
waitforre ^You're now avoiding |
|||
pause |
|||
put open my $container |
|||
pause |
|||
send stow right |
|||
waitforre ^You put|^Stow what |
|||
send stow left |
|||
waitforre ^You put|^Stow what |
|||
put close my $container |
|||
pause |
|||
forage: |
|||
if ($Perception.LearningRate > 33) then goto comp |
|||
else goto forage2 |
|||
forage2: |
|||
pause |
|||
put collect %1 |
|||
waitfor Roundtime |
|||
pause |
|||
put kick pile |
|||
goto forage |
|||
comp: |
|||
if (First_Aid.LearningRate >= 33) then goto magic |
|||
else goto comp2 |
|||
comp6: |
|||
if ($First_Aid.LearningRate >= 33) then goto comp4 |
|||
else goto comp5 |
|||
comp2: |
|||
pause |
|||
put open my $container |
|||
pause |
|||
put get my compendium |
|||
pause |
|||
put open my compendium |
|||
pause |
|||
put close my $container |
|||
goto comp3 |
|||
comp3: |
|||
pause |
|||
match comp5 Why do you |
|||
match comp3 You begin studying |
|||
match comp4 In a sudden |
|||
match comp4 With a sudden |
|||
put study my compendium |
|||
matchwait |
|||
comp4: |
|||
pause |
|||
put turn my compendium |
|||
goto comp3 |
|||
comp5: |
|||
pause |
|||
put open my $container |
|||
pause |
|||
put close my compendium |
|||
pause |
|||
put stow compendium in my $container |
|||
goto magic |
|||
magic: |
|||
if ($mana < 80) then goto app |
|||
else goto magic2 |
|||
magic2: |
|||
pause |
|||
put prep es |
|||
pause |
|||
put rem my $cambrinth |
|||
pause |
|||
put charge my $cambrinth 6 |
|||
waitfor Roundtime |
|||
pause |
|||
put invoke my $cambrinth |
|||
waitfor Roundtime |
|||
pause |
|||
put cast |
|||
pause |
|||
put wear my $cambrinth |
|||
goto magic |
|||
app: |
|||
if ($Appraise.LearningRate >= 34) then goto perform |
|||
else goto app2 |
|||
app2: |
|||
pause |
|||
put app my %app1 |
|||
waitfor Roundtime |
|||
pause |
|||
put app my %app2 |
|||
waitfor Roundtime |
|||
pause |
|||
put app my %app3 |
|||
waitfor Roundtime |
|||
pause |
|||
put app my %app4 |
|||
waitfor Roundtime |
|||
goto app |
|||
perform: |
|||
if ($Performance >= 34) then goto forage |
|||
else goto perform2 |
|||
perform2: |
|||
pause |
|||
put open my $container |
|||
pause |
|||
put get my $instrument |
|||
pause |
|||
put close my $container |
|||
goto perform3 |
|||
perform3: |
|||
pause |
|||
match perform4 You have finished |
|||
put play ditty on my $instrument |
|||
perform4: |
|||
if ($Performance >= 34) then goto perform5 |
|||
else goto perform3 |
|||
perform5: |
|||
pause |
|||
put open my $container |
|||
pause |
|||
put stow my $instrument in my $container |
|||
pause |
|||
put close my $container |
|||
goto forage |
Latest revision as of 15:31, 3 February 2022
This template is used to properly categorize and tag Scripts.
To use it, copy and paste:
{{Script |cat=combat, crafting, information, magic, quest, survival, training, travel, utility, Barbarian, Bard, Cleric, Empath, Moon Mage, Necromancer, Paladin, Ranger, Thief, Trader, Warrior Mage |fe=Wrayth, Wizard, Lich, Genie, Outlander, VIPMud, Warlock, YASSE, Zmud (delete the incompatible ones) |auth= }}