yojimbos_law

splitting CONSUME output (example)

Aug 13th, 2025
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. string consume_out = cli_execute_output("CONSUME NIGHTCAP SIM");
  2. string[int][int] split_list = consume_out.group_string("Your ideal diet: (.*?drinksilent[^\;]*;)( drinksilent.*)");
  3. cli_execute(split_list[0][1]);
  4. if($familiar[cooler yeti].experience > 800){
  5. use_familiar($familiar[cooler yeti]);
  6. visit_url("main.php?talktoyeti=1",false,true);
  7. run_choice(2);
  8. use_familiar($familiar[stooper]);
  9. }
  10. cli_execute(split_list[0][2]);
Advertisement
Add Comment
Please, Sign In to add comment