Guest
May 20, 2012, 3:52 pm UTCHome arrow Commands arrow Wolfscript arrow Actions
header image
Actions
Written by Dream Dancer   
Apr 16, 2008 at 07:09 AM

These make the bot interact with the server, some of the actions cause the bot to do something like move, or say something, or emit a message. These can even be commands to the dream to cause the dragon speak of the dream to do something. 

DESC NewDescription
0 New Description
Set's the description of the bot to NewDescription
DO DoWhat
0 What To Emote
Makes the bot Emote an action. (Do Something You Stupid Bot!)
Name: Return Hugs
If {*} Does {hugs *}
AND: if variable {[word2]} is the same as {[botname]}
(text comparison)
THEN:
$ Wolfscript
// return hug
&do {returns the hug 'Aww, thanks'}
EMIT Message
0 Message To Emit
Emits message in the dream, must be shared in the dream.
EMITLOUD Message
0 Message To Emitloud
Just a means to use emitloud over having to store the desired emit to a botscript variable then exiting wolfscript to emitloud it with botscript. Must be shared. (Seemed kind of silly to have EMIT but not EMITLOUD in WolfScript.)
MOVEBOT MovementString
0 Movement String
Moves the bot according to MovementString, available movements:
ROLL DiceRoll / ROLLSEP DiceRoll
0 Dice Roll
Simple roll of the dice, conventional Dice format rules are used, (NumberOfDice)d(NumberOfSides) for DiceRoll . You can add text after the dice roll format so &ROLL { 2d6 wanting seven for luck } works as expected, you do have to put braces {} around the DiceRoll and desired string for it to work. ROLLSEP displays the result of each die in the roll.
SAY SayWhat
0 What To Say
Makes the bot say something. (Say something dumb bot!)
Name: Say Something
If {*} Says {stupid bot}
No Additional Conditions.
THEN:
$ Wolfscript
// says bot
&say {I"m just a bot you know.}
WHISPER WhisperWho WhisperWhat
0 Who To Whisper
1 What To Whisper
Whispers message WhisperWhat to WhisperWho .
Last Updated ( Jun 21, 2008 at 09:23 AM )
<Previous   Next>
header image