Difference between revisions of "Current mcd"

From Kolmafia
Jump to navigation Jump to search
imported>Efilnikufecin
imported>ZammyWarrior
Line 1: Line 1:
 
'''int current_mind_control_level()'''<br/>
 
'''int current_mind_control_level()'''<br/>
 
Returns the level of the Super-Secret Canadian Mind-Control Device
 
Returns the level of the Super-Secret Canadian Mind-Control Device
 +
 +
<pre>#This script simply checks to see if the Super-Secret Canadian Mind-Control Device
 +
#is set at level 5 if it is then it will adventure once to attempt to kill the bonerdrag.
 +
 +
boolean Bonerdrag(){
 +
 +
if(in_mysticality_sign() && current_mind_control_level() == 5){
 +
 +
adventure(1, $location[Haert of the Cyrpt])
 +
}
 +
}
 +
 +
</pre>
 +
 
[[Category:Your Character | Current mind control level()]]
 
[[Category:Your Character | Current mind control level()]]
 
[[Category:Ash Functions |Current mind control level()]]
 
[[Category:Ash Functions |Current mind control level()]]
 
[[Category:Needs Code Samples | Current mind control level()]]
 
[[Category:Needs Code Samples | Current mind control level()]]

Revision as of 23:40, 4 August 2007

int current_mind_control_level()
Returns the level of the Super-Secret Canadian Mind-Control Device

#This script simply checks to see if the Super-Secret Canadian Mind-Control Device
#is set at level 5 if it is then it will adventure once to attempt to kill the bonerdrag.

boolean Bonerdrag(){

if(in_mysticality_sign() && current_mind_control_level() == 5){

adventure(1, $location[Haert of the Cyrpt])
}
}