YASSE Climbing (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
Line 5: Line 5:
}}
}}


==Description==
Simple climbing script for YASSE.
Simple climbing script for YASSE.


==Syntax==
Find an object you can practice climb and run script as <name> <climbing object> <humming level>
Find an object you can practice climb and run script as <name> <climbing object>.
* Uses the [[YASSE Global Variables (script)]]

==Updates==
Last Updated:
*'''03/30/2011''': Revision 2.

==Script==


<pre>
<pre>
set predefined on
set predefined on
counter set 0
counter set 0

put hum %2
humit:
pause
put hum $humstyle$


climbit:
climbit:
Line 18: Line 30:
put climb practice %1
put climb practice %1
waitfor take a well-earned break
waitfor take a well-earned break

humit:
pause
put hum %2
goto expcheck
goto expcheck


Line 30: Line 38:
getinfo climbingState
getinfo climbingState
if %result >= 30 goto report
if %result >= 30 goto report
else
if %result < 30
goto climbit
goto humit


report:
report:
boxmessage You climbed %1 %c times to get to %report/34.
boxmessage You climbed %1 %c times to get to at %result/34.
</pre>
</pre>

Revision as of 22:11, 30 March 2011

YASSE Climbing (script)
Category training
Front-end YASSE
Author Hithrael


Description

Simple climbing script for YASSE.

Syntax

Find an object you can practice climb and run script as <name> <climbing object>.

Updates

Last Updated:

  • 03/30/2011: Revision 2.

Script

set predefined on
counter set 0

humit:
pause
put hum $humstyle$

climbit:
counter inc
put climb practice %1
waitfor take a well-earned break
goto expcheck

expcheck:
pause
put exp skill climbing
waitfor Overall state of mind
getinfo climbingState 
if %result >= 30 goto report
	else
	goto humit

report:
boxmessage You climbed %1 %c times to get to at %result/34.