
Originally Posted by
subzero
You just need to have some sort of 'header' at the top of the script for the repo to accept it. This is the info given when using repo info scriptname.
=begin
put info stuffs here if joo want
=end
repo upload script
I did that, and now the script won't work anymore.
=begin
Created by Methais.
Requires ;famgo2 script
Uses your familiar and Familiar Gate to bypass "slip" rooms between the Landing, Icemule, and the Rift.
It's recommended that you have 5 silvers on you for gate fees for when the guard is present. If the guard is at the gate, your familiar will stop there.
It's recommended, though not required, that you start the script WITHOUT a familiar present. If your familiar isn't in the room with you when you start the script, it can sometimes mess up ;famgo2.
Landing to Icemule will dismiss your familiar when the script starts, and resummon it on the trail to Icemule.
;wizard_travel landice = Landing to Icemule
;wizard_travel iceland = Icemule to Landing
;wizard_travel icerift = Icemule to Rift
;wizard_travel riftice = Rift to Icemule
;wizard_travel rifticering = Runs you to room 2795 in Nightmare Gorge by Pinefar, then uses a gold ring. Assumes your ring is set to Icemule
=end
>;wizard_travel iceland
--- Lich: wizard_travel active.
--- Lich: wizard_travel has exited.
Strangely enough, I went back in and deleted the info section, and it still won't work. I didn't touch any of the actual code.
Entire script:
Code:
=begin
Created by Methais.
Requires ;famgo2 script
Uses your familiar and Familiar Gate to bypass "slip" rooms between the Landing, Icemule, and the Rift.
It's recommended that you have 5 silvers on you for gate fees for when the guard is present. If the guard is at the gate, your familiar will stop there.
It's recommended, though not required, that you start the script WITHOUT a familiar present. If your familiar isn't in the room with you when you start the script, it can sometimes mess up ;famgo2.
Landing to Icemule will dismiss your familiar when the script starts, and resummon it on the trail to Icemule.
;wizard_travel landice = Landing to Icemule
;wizard_travel iceland = Icemule to Landing
;wizard_travel icerift = Icemule to Rift
;wizard_travel riftice = Rift to Icemule
;wizard_travel rifticering = Runs you to room 2877 in Nightmare Gorge by Pinefar, then uses a gold ring. Assumes your ring is set to Icemule
=end
def cast_portal
wait_until { checkmana >= 30 }
result = dothistimeout 'inc 930', 2, /forms an elliptical portal of swirling blues and blacks/
if result =~ /forms an elliptical portal of swirling blues and blacks/
move 'go mist'
elsif result.nil?
cast_portal
end
end
def landing_ice_go
fput "tell familiar to leave" if Spell[920].active?
start_script "go2", [2547]
wait_while{ running?('go2') }
Spell[920].cast
start_script "famgo2", [2538]
wait_while{ running?('famgo2') }
cast_portal
fput "tell fam go ne"
move 'ne'
start_script "famgo2", [2517]
wait_while{ running?('famgo2') }
cast_portal
fput "tell fam go n"
move 'n'
start_script "famgo2", [2498]
wait_while{ running?('famgo2') }
cast_portal
start_script "go2", [2300]
wait_while{ running?('go2') }
exit
end
def ice_landing_go
fput "incant 920" if !Spell[920].active? && Spell[920].affordable? || Spell[920].timeleft <= 5 && Spell[920].affordable?
start_script "famgo2", [2497]
wait_while{ running?('famgo2') }
cast_portal
fput "tell familiar go sw"
move 'sw'
start_script "famgo2", [2516]
wait_while{ running?('famgo2') }
cast_portal
fput "tell familiar go s"
move 's'
start_script "famgo2", [2537]
wait_while{ running?('famgo2') }
cast_portal
fput "tell fam go sw"
move 'sw'
fput "tell familiar to go bridge"
move 'go bridge'
start_script "famgo2", [2554]
wait_while{ running?('famgo2') }
cast_portal
start_script "go2", [228]
wait_while{ running?('go2') }
put ;go2 228
exit
end
def ice_rift_go
fput "incant 920" if !Spell[920].active? && Spell[920].affordable? || Spell[920].timeleft <= 5 && Spell[920].affordable?
start_script "famgo2", [2877]
wait_while{ running?('famgo2') }
cast_portal
start_script "go2", [2635]
wait_while{ running?('go2') }
exit
end
def rift_ice_go
fput "tell familiar to leave" if Spell[920].active?
start_script "go2", [2795]
wait_while{ running?('go2') }
Spell[920].cast
start_script "famgo2", [3041]
wait_while{ running?('famgo2') }
cast_portal
start_script "go2", [2300]
wait_while{ running?('go2') }
exit
end
def rift_ice_ring_go
fput "incant 920" if !Spell[920].active? && Spell[920].affordable? || Spell[920].timeleft <= 5 && Spell[920].affordable?
start_script "go2", [2795]
wait_while{ running?('go2') }
multifput("remove my ring", "wear my ring")
exit
end
if script.vars[1] == "landingice"
landing_ice_go
elsif script.vars[1] == "icelanding"
ice_landing_go
elsif script.vars[1] == "icerift"
ice_rift_go
elsif script.vars[1] == "riftice"
rift_ice_go
elsif script.vars[1] == "rifticering"
rift_ice_ring_go
end