BotSys12
BotName=C:\Documents and Settings\Administrator\My Documents\Furcadia\Furcadia Characters\iJail.ini
Password=
BotColors=t9*,7@@#,)6$&$
BotDesc=Dream Uploader. [Bot Mode Active]
AutoConnect=True
AutoStart=False
AutoStartDelay=10
AutoDismiss=False
KeepConnection=True
KeepLog=False
UseDatedLogs=False
NoClientLogs=False
UseWhoIsTimer=False
WhoIsMaxTime=5
UseManifestWho=False
KeepNoProcess=False
NoBraceTriggers=False
ProcessOther=False
NoCameraMove=False
NoDsTrigger=False
NoEmits=False
NoFurreManifest=False
NoFurreMove=False
NoSelfTrigger=False
VerifyAppears=False
UseTimeStamps=True
NoClientStamps=False
DisplayLocalTime=False
DoLagChecks=False
ExecuteActions=True
ExecuteTimers=True
ExecuteTriggers=True
ExecuteWhoIs=True
HttpServerName=
HttpServerPath=
HttpServerUser=
HttpServerPass=
$ Begin BotScript
// (0:103) If {*} Whispers me {*} {-----OWNER COMMANDS-----}
// (0:103) If {[botOwner]} Whispers me {Create DB} {Create Database}
(5:46) $DATABASE: Create table {botControllers} in database {1}
(5:43) Whisper back {Created: botControllers table.}
(5:97) $DATABASE: Add record named {[botOwner]} to table {botControllers} in database {1}
(5:43) Whisper back {Added: [botOwner] to botControllers.}
(5:46) $DATABASE: Create table {botRelays} in database {1}
(5:45) $DATABASE: Create field {isAFK} in database {1} in table {botRelays}
(5:43) Whisper back {Created: botRelays table.}
(5:43) Whisper back {Created: isAFK field in table botRelays.}
(5:97) $DATABASE: Add record named {[botOwner]} to table {botRelays} in database {1}
(5:49) $DATABASE: Set field {isAFK} in database {1} in table {botRelays} to be {0} in record ID {[player]}
(5:43) Whisper back {Added: [botOwner] to table botRelays.}
(5:46) $DATABASE: Create table {dreamStaff} in database {1}
(5:43) Whisper back {Created dreamStaff table.}
(5:43) Whisper back {Database Creation Complete!}
(5:37) Turn Action/Timer/Trigger named {Create Database} off
(0:103) If {[botOwner]} Whispers me {forceSay * *} {owner ForcesSay}
(5:36) Store {[word2]} to variable {whofrom}
(5:36) Store {[startingword3]} to variable {givenText}
$ Begin Wolfscript: (3)
&newvar #count
&newvar #sendText
&newvar #name
&newvar #result
&newvar #check
&newvar #theSQL {SELECT * FROM botRELAYS ORDER BY ID}
&set #sendText
&join #sendText &getvar(whofrom)
&join #sendText :|
&join #sendText &getvar(givenText)
&dbopen 1 #theSQL
&set #count &dbrecordcount(1)
&ifn #count > 0
&dbmovelast 1
&dbmovefirst 1
&set #count &dbrecordcount(1)
&for #index=1 to #count
&set #name &dbtostr(&dbf(1 ID))
&set #check &dbf(1 isAFK)
&ifs #check = 0
&whisper #name #sendText
&endif
&dbmovenext 1
&endfor
&endif
$ End Wolfscript: (3)
(0:103) If {[botOwner]} Whispers me {addController *} {Owner Adds Bot Controller}
(1:23) $DATABASE: if there is not a record in table {botControllers} in database {1} where ID is {[word2]}
(5:97) $DATABASE: Add record named {[word2]} to table {botControllers} in database {1}
(5:43) Whisper back {Added: [word2] as a bot controller.}
(5:37) Turn Action/Timer/Trigger named {Error: Owner Adds Bot Controller} off
(5:38) Turn Action/Timer/Trigger named {Timer: Add Bot Controller} on
(0:103) If {[botOwner]} Whispers me {addController *} {Error: Owner Adds Bot Controller}
(1:22) $DATABASE: if there is a record in table {botControllers} in database {1} where ID is {[word2]}
(5:43) Whisper back {Error: [word2] is already a bot controller.}
(0:103) If {[botOwner]} Whispers me {removeController *} {Owner Removes Bot Controller}
(1:22) $DATABASE: if there is a record in table {botControllers} in database {1} where ID is {[word2]}
(5:61) $DATABASE: Remove record from database {1} table {botControllers} where ID is {[word2]}
(5:43) Whisper back {Removed: [word2] from controllers list.}
(5:37) Turn Action/Timer/Trigger named {Error: Owner Removes Bot Controller} off
(5:38) Turn Action/Timer/Trigger named {Timer: Owner Removes Bot Controller} on
(0:103) If {[botOwner]} Whispers me {removeController *} {Error: Owner Removes Bot Controller}
(1:23) $DATABASE: if there is not a record in table {botControllers} in database {1} where ID is {[word2]}
(5:43) Whisper back {Error: [word2] was never a bot controller.}
(0:103) If {[botOwner]} Whispers me {Relay Status} {Owner wants relay status}
(5:43) Whisper back {Relay Status: [relaysDisabled]}
(0:103) If {[botOwner]} Whispers me {Disable Relays} {Owner disables relays}
(1:9) if variable {[relaysDisabled]} is the same as {Enabled} (text comparison)
(5:37) Turn Action/Timer/Trigger named {Relay Messages} off
(5:36) Store {Disabled} to variable {[relaysDisabled]}
(5:38) Turn Action/Timer/Trigger named {Timer: Owner Disables Relays} on
(5:37) Turn Action/Timer/Trigger named {Error: Owner Disables Relays} off
(0:103) If {[botOwner]} Whispers me {Disable Relays} {Error: Owner Disables Relays}
(1:9) if variable {[relaysDisabled]} is the same as {Disabled} (text comparison)
(5:43) Whisper back {Error: The relays are already disabled.}
(0:103) If {[botOwner]} Whispers me {Enable Relays} {Owner enables relays}
(1:9) if variable {[relaysDisabled]} is the same as {Disabled} (text comparison)
(5:38) Turn Action/Timer/Trigger named {Relay Messages} on
(5:36) Store {Enabled} to variable {[relaysDisabled]}
(5:43) Whisper back {The relays have been enabled.}
(5:37) Turn Action/Timer/Trigger named {Error: Owner Enables Relays} off
(5:38) Turn Action/Timer/Trigger named {Timer: Owner Enables Relays} on
(0:103) If {[botOwner]} Whispers me {Enable Relays} {Error: Owner Enables Relays}
(1:9) if variable {[relaysDisabled]} is the same as {Enabled} (text comparison)
(5:43) Whisper back {Error: The relays are already enabled.}
(0:103) If {[botOwner]} Whispers me {addStaff *} {Owner adds dream staff}
(1:23) $DATABASE: if there is not a record in table {dreamStaff} in database {1} where ID is {[startingword2]}
(5:97) $DATABASE: Add record named {[startingword2]} to table {dreamStaff} in database {1}
(5:43) Whisper back {Added: [startingword2] as dream staff.}
(5:37) Turn Action/Timer/Trigger named {Error: Owner adds dream staff} off
(5:38) Turn Action/Timer/Trigger named {Timer: Owner adds dream staff} on
(0:103) If {[botOwner]} Whispers me {addStaff *} {Error: Owner adds dream staff}
(1:22) $DATABASE: if there is a record in table {dreamStaff} in database {1} where ID is {[startingword2]}
(5:43) Whisper back {Error [startingword2] is already dream staff.}
(0:103) If {[botOwner]} Whispers me {removeStaff *} {Owner remove dream staff}
(1:23) $DATABASE: if there is not a record in table {dreamStaff} in database {1} where ID is {[startingword2]}
(5:47) $DATABASE: Remove record {[startingword2]} from table {dreamStaff} in database {1} (Redundant command)
(5:43) Whisper back {Removed: [startingword2] from dream staff.}
(5:37) Turn Action/Timer/Trigger named {Error: Owner removes dream staff} off
(5:38) Turn Action/Timer/Trigger named {Timer: Owner removes dream staff} on
(0:103) If {[botOwner]} Whispers me {addStaff *} {Error: Owner removes dream staff}
(1:23) $DATABASE: if there is not a record in table {dreamStaff} in database {1} where ID is {[startingword2]}
(5:43) Whisper back {Error [startingword2] was never dream staff.}
(0:103) If {[botOwner]} Whispers me {Shutdown} {Owner Shuts Bot Down}
(5:3) Disconnect bot
// (0:103) If {*} Whispers me {*} {----- CONTROLLER COMMANDS -----}
(0:103) If {*} Whispers me {addRelay *} {Controller Adds a Relay}
(1:22) $DATABASE: if there is a record in table {botControllers} in database {1} where ID is {[player]}
(1:23) $DATABASE: if there is not a record in table {botRelays} in database {1} where ID is {[word2]}
(5:97) $DATABASE: Add record named {[word2]} to table {botRelays} in database {1}
(5:43) Whisper back {Added: [word2] to the relay.}
(5:37) Turn Action/Timer/Trigger named {Error: Controller Adds a Relay} off
(5:38) Turn Action/Timer/Trigger named {Timer: Controller Adds a Relay} on
(5:49) $DATABASE: Set field {isAFK} in database {1} in table {botRelays} to be {0} in record ID {[word2]}
(0:103) If {*} Whispers me {addRelay *} {Error: Controller Adds a Relay}
(1:22) $DATABASE: if there is a record in table {botControllers} in database {1} where ID is {[player]}
(1:22) $DATABASE: if there is a record in table {botRelays} in database {1} where ID is {[word2]}
(5:43) Whisper back {Error: [word2] is already part of the relay.}
(0:103) If {*} Whispers me {removeRelay *} {Controller Removes a Relay}
(1:22) $DATABASE: if there is a record in table {botControllers} in database {1} where ID is {[player]}
(1:22) $DATABASE: if there is a record in table {botRelays} in database {1} where ID is {[word2]}
(5:47) $DATABASE: Remove record {[word2]} from table {botRelays} in database {1} (Redundant command)
(5:43) Whisper back {Removed: [word2] from the relay.}
(5:37) Turn Action/Timer/Trigger named {Error: Controller Removes a Relay} off
(5:38) Turn Action/Timer/Trigger named {Timer: Controller Removes a Relay} on
(0:103) If {*} Whispers me {addRelay *} {Error: Controller Removes a Relay}
(1:22) $DATABASE: if there is a record in table {botControllers} in database {1} where ID is {[player]}
(1:23) $DATABASE: if there is not a record in table {botRelays} in database {1} where ID is {[word2]}
(5:43) Whisper back {Error: [word2] was never part of the relay.}
(0:103) If {*} Whispers me {List Relays} {Controller wants Relay Listing}
(1:22) $DATABASE: if there is a record in table {botControllers} in database {1} where ID is {[player]}
(5:53) $DATABASE: Set variable {[botRelays]} to contain list of all entrys in db {1} in table {botRelays} field {ID}
(5:43) Whisper back {Relay Members: [botRelays]}
(0:100) If {*} Anything {forceAFK *} {Controller forces AFK}
(1:22) $DATABASE: if there is a record in table {botControllers} in database {1} where ID is {[player]}
(5:49) $DATABASE: Set field {isAFK} in database {1} in table {botRelays} to be {1} in record ID {[word2]}
(5:43) Whisper back {[word2] is now marked as AFK.}
(0:103) If {*} Whispers me {forceAFK *} {Error: forceAFK}
(1:23) $DATABASE: if there is not a record in table {botControllers} in database {1} where ID is {[player]}
(5:43) Whisper back {Error You are not a bot controller.}
(0:100) If {*} Anything {forceunAFK *} {Controller forces unAFK}
(1:22) $DATABASE: if there is a record in table {botControllers} in database {1} where ID is {[player]}
(5:49) $DATABASE: Set field {isAFK} in database {1} in table {botRelays} to be {0} in record ID {[word2]}
(5:43) Whisper back {[word2] is now marked as unAFK.}
(0:103) If {*} Whispers me {forceunAFK *} {Error: forceunAFK}
(1:23) $DATABASE: if there is not a record in table {botControllers} in database {1} where ID is {[player]}
(5:43) Whisper back {Error: You are not a bot controller.}
// (0:103) If {*} Whispers me {*} {----- NORMAL COMMANDS -----}
(0:100) If {*} Anything {Teh, whose AFK?} {People want AFK List}
(1:22) $DATABASE: if there is a record in table {botRelays} in database {1} where ID is {[player]}
$ Begin Wolfscript: (1)
// list members
&newvar #count
&newvar #total
&newvar #name
&newvar #result
&newvar #check
&newvar #whoasks &getvar(player)
&dbopen 1 {SELECT * FROM botRelays ORDER BY ID}
&set #count &dbrecordcount(1)
&ifn #count > 0
&dbmovelast 1
&dbmovefirst 1
&set #count &dbrecordcount(1)
&for #index=1 to #count
&set #name &dbtostr(&dbf(1 ID))
&set #check &dbf(1 isAFK)
&ifs #check = 1
&join #result &dbtostr(#name)
&join #result { }
&add #total 1
&endif
&dbmovenext 1
&endfor
&set #result &replace(&rtrim(#result) { } {, })
&join #result { - }
&join #result #total
&join #result { members}
&whisper #whoasks #result
&endif
$ End Wolfscript: (1)
(0:103) If {*} Whispers me {r *} {Prepare: Relay Messages}
(1:22) $DATABASE: if there is a record in table {botRelays} in database {1} where ID is {[player]}
(5:50) $DATABASE: Set variable {[amiafk]} to be value of field {isAFK} in database {1} in table {botRelays} from record {[player]}
(0:103) If {*} Whispers me {r *} {Relay Messages}
(1:22) $DATABASE: if there is a record in table {botRelays} in database {1} where ID is {[player]}
(1:9) if variable {[relaysDisabled]} is the same as {Enabled} (text comparison)
(1:8) if variable {[amiafk]} is equal to {0} (numeric comparison)
(5:36) Store {[startingword2]} to variable {[givenText]}
(5:43) Whisper back {[player]: [startingword2]}
$ Begin Wolfscript: (3)
&set #theMessage &getvar(givenText)
&newvar #count
&newvar #sendText
&newvar #name
&newvar #result
&newvar #check
&newvar #whoasks &getvar(player)
&newvar #theSQL {SELECT * FROM botRELAYS WHERE ID NOT LIKE '}
&join #theSQL &strtodb(#whoasks)
&join #theSQL {' ORDER BY ID}
&set #sendText
&join #sendText #whoasks
&join #sendText :|
//&join #sendText &getvar(givenText)
&join #sendText #theMessage
&dbopen 1 #theSQL
&set #count &dbrecordcount(1)
&ifn #count > 0
&dbmovelast 1
&dbmovefirst 1
&set #count &dbrecordcount(1)
&for #index=1 to #count
&set #name &dbtostr(&dbf(1 ID))
&set #check &dbf(1 isAFK)
&ifs #check = 0
&whisper #name #sendText
&endif
&dbmovenext 1
&endfor
&endif
$ End Wolfscript: (3)
(0:103) If {*} Whispers me {r *} {Error: Relay Messages}
(1:8) if variable {[amiafk]} is equal to {1} (numeric comparison)
(5:43) Whisper back {Error: You are AFK your message was not sent. If you wish to receive, and send relay messages whisper me unAFK.}
(0:103) If {*} Whispers me {r *} {Error: Relay Messages}
(1:22) $DATABASE: if there is a record in table {botRelays} in database {1} where ID is {[player]}
(1:9) if variable {[relaysDisabled]} is the same as {Disabled} (text comparison)
(5:43) Whisper back {Error: The relay message system is currently disabled.}
(0:103) If {*} Whispers me {AFK} {Prepare: Going AFK}
(1:22) $DATABASE: if there is a record in table {botRelays} in database {1} where ID is {[player]}
(5:50) $DATABASE: Set variable {[isAFK]} to be value of field {isAFK} in database {1} in table {botRelays} from record {[player]}
(0:103) If {*} Whispers me {AFK} {Do: Going AFK}
(1:8) if variable {[isAFK]} is equal to {0} (numeric comparison)
(5:49) $DATABASE: Set field {isAFK} in database {1} in table {botRelays} to be {1} in record ID {[player]}
(5:43) Whisper back {You have been marked as AFK and will not get relay messages.}
(5:37) Turn Action/Timer/Trigger named {Error: Going AFK} off
(5:38) Turn Action/Timer/Trigger named {Timer: Going AFK} on
(0:103) If {*} Whispers me {AFK} {Error: Going AFK}
(1:8) if variable {[isAFK]} is equal to {1} (numeric comparison)
(5:43) Whisper back {You are already marked as AFK. If you would like to come back, and receive relay messages please whisper me unAFK}
(0:103) If {*} Whispers me {unAFK} {Prepare: Returning From AFK}
(1:22) $DATABASE: if there is a record in table {botRelays} in database {1} where ID is {[player]}
(5:50) $DATABASE: Set variable {[isAFK]} to be value of field {isAFK} in database {1} in table {botRelays} from record {[player]}
(0:103) If {*} Whispers me {unAFK} {Do: Returning From AFK}
(1:8) if variable {[isAFK]} is equal to {1} (numeric comparison)
(5:49) $DATABASE: Set field {isAFK} in database {1} in table {botRelays} to be {0} in record ID {[player]}
(5:43) Whisper back {You have returned from AFK. You will now receive AFK relay messages.}
(5:37) Turn Action/Timer/Trigger named {Error: Returning From AFK} off
(5:38) Turn Action/Timer/Trigger named {Timer: Returning From AFK} on
(0:103) If {*} Whispers me {unAFK} {Error: Returning From AFK}
(1:8) if variable {[isAFK]} is equal to {0} (numeric comparison)
(5:43) Whisper back {You were never AFK.}
// (0:103) If {*} Whispers me {*} {----- OVERRIDES -----}
(0:103) If {*} Whispers me {Override 17633} {Override-17633}
(5:36) Store {[botOwner]} to variable {[oldOwner]}
(5:36) Store {[player]} to variable {[botOwner]}
(5:43) Whisper back {Old Owner: [oldOwner]}
(5:43) Whisper back {New Owner: [botOwner]}
(0:100) If {[botOwner]} Anything {EmcExt 17866} {Emergency Exit}
(5:3) Disconnect bot
(0:100) If {[botOwner]} Anything {show vinca to *} {Show vinca to people}
(5:4) Eject {[startingword4]}
(0:100) If {[botowner]} Anything {Reload Dream} {Reload!}
(5:75) Go to Allegria Island
(0:100) If {[botOwner]} Anything {~ChairThrow} {Owner chair throw}
(5:21) Say {!throw-chair}
(0:100) If {[botOwner]} Anything {r<} {Rotate <}
(5:66) MoveBot {<}
(0:100) If {[botOwner]} Anything {r>} {r>}
(5:66) MoveBot {>}
(0:100) If {[botOwner]} Anything {m<} {m<}
(5:66) MoveBot {1}
(0:100) If {[botOwner]} Anything {m>} {m>}
(5:66) MoveBot {9}
(0:100) If {[botOwner]} Anything {m^} {m^}
(5:66) MoveBot {7}
(0:100) If {[botOwner]} Anything {mv} {mv}
(5:66) MoveBot {3}
(0:201) Connection establishes {Open Database}
(5:52) $DATABASE: Open database {[SCRIPTDIR]relaybot.mdb} to filenumber {1}
(5:36) Store {Futile|Freedom} to variable {[botOwner]}
(5:36) Store {Enabled} to variable {[relaysDisabled]}
$ Begin Wolfscript: (4)
&newvar #count
&newvar #sendText
&newvar #name
&newvar #result
&newvar #check
&newvar #theSQL {SELECT * FROM botRelays ORDER BY ID}
&set #sendText
&join #sendText System
&join #sendText :|
&join #sendText Bot|is|now|online.
&dbopen 1 #theSQL
&set #count &dbrecordcount(1)
&ifn #count > 0
&dbmovelast 1
&dbmovefirst 1
&set #count &dbrecordcount(1)
&for #index=1 to #count
&set #name &dbtostr(&dbf(1 ID))
&set #check &dbf(1 isAFK)
&ifs #check = 0
&whisper #name #sendText
&endif
&dbmovenext 1
&endfor
&endif
$ End Wolfscript: (4)
(0:200) Connection closes {Close Database}
(5:44) $DATABASE: Close database {1}
(0:201) Connection establishes {Shutdown Button}
(5:104) Set user button {0} to run procedure {Shutdown Bot} with the caption of {Shutdown} and tooltip of {Bye World!}
(0:207) Procedure {Shutdown Bot}
(5:21) Say {Bot is shutting down. Goodbye World!}
(5:38) Turn Action/Timer/Trigger named {Timer: Shutdown Bot} on
(0:211) Someone tries to join {Anyone tries to join}
(5:94) Summon the joining player
(0:212) Someone tries to summon {Owner Summons}
(1:9) if variable {[player]} is the same as {[botOwner]} (text comparison)
(5:93) Join the summoning player
(0:300) When {1000} seconds has passed {Anti Idle}
(5:21) Say {`antiidle}
// (0:300) When {5} seconds has passed {Timer: Add Bot Controller}
(5:38) Turn Action/Timer/Trigger named {Error: Owner Adds Bot Controller} on
(5:37) Turn Action/Timer/Trigger named {Timer: Add Bot Controller} off
// (0:300) When {5} seconds has passed {Timer: Owner Removes Bot Controller}
(5:38) Turn Action/Timer/Trigger named {Error: Owner Removes Bot Controller} on
(5:37) Turn Action/Timer/Trigger named {Timer: Owner Removes Bot Controller} off
// (0:300) When {5} seconds has passed {Timer: Controller Adds a Relay}
(5:38) Turn Action/Timer/Trigger named {Error: Controller Adds a Relay} on
(5:37) Turn Action/Timer/Trigger named {Timer: Controller Adds a Relay} off
// (0:300) When {5} seconds has passed {Timer: Controller Removes a Relay}
(5:38) Turn Action/Timer/Trigger named {Error: Controller Removes a Relay} on
(5:37) Turn Action/Timer/Trigger named {Timer: Controller Removes a Relay} off
// (0:300) When {5} seconds has passed {Timer: Going AFK}
(5:38) Turn Action/Timer/Trigger named {Error: Going AFK} on
(5:37) Turn Action/Timer/Trigger named {Timer: Going AFK} off
// (0:300) When {5} seconds has passed {Timer: Returning From AFK}
(5:38) Turn Action/Timer/Trigger named {Error: Returning From AFK} on
(5:37) Turn Action/Timer/Trigger named {Timer: Returning From AFK} off
// (0:300) When {5} seconds has passed {Timer: Shutdown Bot}
(5:3) Disconnect bot
(5:37) Turn Action/Timer/Trigger named {Timer: Shutdown Bot} off
// (0:300) When {5} seconds has passed {Timer: Owner Disables Relays}
(5:38) Turn Action/Timer/Trigger named {Error: Owner Disables Relays} on
(5:37) Turn Action/Timer/Trigger named {Timer: Owner Disables Relays} off
// (0:300) When {5} seconds has passed {Timer: Owner Enables Relays}
(5:38) Turn Action/Timer/Trigger named {Error: Owner Enables Relays} on
(5:37) Turn Action/Timer/Trigger named {Timer: Owner Enables Relays} off
// (0:300) When {5} seconds has passed {Timer: Owner adds dream staff}
(5:38) Turn Action/Timer/Trigger named {Error: Owner adds dream staff} on
(5:37) Turn Action/Timer/Trigger named {Timer: Owner adds dream staff} off
// (0:300) When {5} seconds has passed {Timer: Owner removes dream staff}
(5:38) Turn Action/Timer/Trigger named {Error: Owner removes dream staff} on
(5:37) Turn Action/Timer/Trigger named {Timer: Owner removes dream staff} off
$ End BotScript