HydraRancher
Truth begins in lies
- Reaction score
- 197
Description
Ever get that feeling when you want to make a random idea? Well this map allows you to add things to a list and choose a random thing from it using the commands provided.
Commands:
-Remove [Text] - This will remove a specific item from your list - it must exist
-Clear - this will clear all
-[Text] this will add to the list
-Display this will display all
-Choose this will choose a random item from the list
All commands are case sensitive.
Triggers:
Adding:
Event Adding:
Clear All:
Choose:
Remove Specific:
Display:
Changelog
1.0: Made
Description Updated
Ever get that feeling when you want to make a random idea? Well this map allows you to add things to a list and choose a random thing from it using the commands provided.
Commands:
-Remove [Text] - This will remove a specific item from your list - it must exist
-Clear - this will clear all
-[Text] this will add to the list
-Display this will display all
-Choose this will choose a random item from the list
All commands are case sensitive.
Triggers:
Adding:
Trigger:
- Add A Thing A Ling
- Events
- Conditions
- (Substring((Entered chat string), 1, 1)) Equal to (==) -
- (Substring((Entered chat string), 2, (Length of (Entered chat string)))) Not equal to (!=) <Empty String>
- (Entered chat string) Not equal to (!=) -Clear
- (Entered chat string) Not equal to (!=) -Choose
- (Substring((Entered chat string), 1, 7)) Not equal to (!=) -Remove
- (Entered chat string) Not equal to (!=) -Display
- Actions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- TingALingInteger Equal to (==) 100
- Then - Actions
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Game - Display to (Picked player), at offset (0.00, 0.00) the text: You have 100 string...
- Loop - Actions
- Player Group - Pick every player in (All players) and do (Actions)
- Else - Actions
- Set TingALingInteger = (TingALingInteger + 1)
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Game - Display to (Picked player), at offset (0.00, 0.00) the text: ((Substring((Entered chat string), 2, (Length of (Entered chat string)))) + has been added.)
- Loop - Actions
- Set TingALingString[TingALingInteger] = (Substring((Entered chat string), 2, (Length of (Entered chat string))))
- If - Conditions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
Trigger:
- Add A trigger
- Events
- Map initialization
- Conditions
- Actions
- Do Multiple ActionsFor each (Integer A) from 1 to 12, do (Actions)
- Loop - Actions
- Trigger - Add to Add A Thing A Ling <gen> the event (Player - (Player((Integer A))) types a chat message containing - as A substring)
- Trigger - Add to Remove Specific <gen> the event (Player - (Player((Integer A))) types a chat message containing -Remove as A substring)
- Trigger - Add to Clear A Thing A Ling <gen> the event (Player - (Player((Integer A))) types a chat message containing -Clear as An exact match)
- Trigger - Add to Random <gen> the event (Player - (Player((Integer A))) types a chat message containing -Choose as An exact match)
- Trigger - Add to Display <gen> the event (Player - (Player((Integer A))) types a chat message containing -Display as An exact match)
- Loop - Actions
- Do Multiple ActionsFor each (Integer A) from 1 to 12, do (Actions)
- Events
Trigger:
- Clear A Thing A Ling
- Events
- Conditions
- (Entered chat string) Equal to (==) -Clear
- Actions
- Set TingALingInteger = 0
- Do Multiple ActionsFor each (Integer A) from 1 to 99, do (Actions)
- Loop - Actions
- Set TingALingString[(Integer A)] = <Empty String>
- Loop - Actions
- Do Multiple ActionsFor each (Integer A) from 1 to 99, do (Actions)
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Game - Display to (Picked player), at offset (0.00, 0.00) the text: The Random Integers...
- Loop - Actions
- Set TingALingInteger = 0
Trigger:
- Random
- Events
- Conditions
- (Entered chat string) Equal to (==) -Choose
- Actions
- Set TingALingRandomInteger = (Random integer number between 1 and TingALingInteger)
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- TingALingString[TingALingRandomInteger] Not equal to (!=) <Empty String>
- Then - Actions
- Game - Display to (Picked player), at offset (0.00, 0.00) the text: (TingALingString[TingALingRandomInteger] + is chosen.)
- Else - Actions
- Game - Display to (Picked player), at offset (0.00, 0.00) the text: There is nothing to...
- If - Conditions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
Trigger:
- Remove Specific
- Events
- Conditions
- (Substring((Entered chat string), 1, 7)) Equal to (==) -Remove
- (Substring((Entered chat string), 9, (Length of (Entered chat string)))) Not equal to (!=) <Empty String>
- Actions
- Do Multiple ActionsFor each (Integer A) from 1 to TingALingInteger, do (Actions)
- Loop - Actions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- TingALingString[(Integer A)] Equal to (==) (Substring((Entered chat string), 9, (Length of (Entered chat string))))
- Then - Actions
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Game - Display to (Picked player), at offset (0.00, 0.00) the text: (TingALingString[(Integer A)] + has been erased.)
- Loop - Actions
- Set TingALingString[(Integer A)] = <Empty String>
- Set TingALingInteger = (TingALingInteger - 1)
- Set TingALingString[(Integer A)] = TingALingString[TingALingInteger]
- Skip remaining actions
- Player Group - Pick every player in (All players) and do (Actions)
- Else - Actions
- If - Conditions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Game - Display to (Picked player), at offset (0.00, 0.00) the text: ((Substring((Entered chat string), 9, (Length of (Entered chat string)))) + doesn't exist.)
- Loop - Actions
- Do Multiple ActionsFor each (Integer A) from 1 to TingALingInteger, do (Actions)
Trigger:
- Display
- Events
- Conditions
- (Entered chat string) Equal to (==) -Display
- Actions
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Game - Display to (Picked player), at offset (0.00, 0.00) the text: List:
- Do Multiple ActionsFor each (Integer A) from 1 to TingALingInteger, do (Actions)
- Loop - Actions
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Game - Display to (Picked player), at offset (0.00, 0.00) the text: TingALingString[(Integer A)]
- Loop - Actions
- Wait 0.50 seconds
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Loop - Actions
- Player Group - Pick every player in (All players) and do (Actions)
Changelog
1.0: Made
Description Updated