Random number

Discussion in 'Archived: Plugin Requests' started by IdealIdeas, Jun 13, 2013.

  1. Offline

    IdealIdeas

    This plugin would generate a random number anytime RND(Low)(High) is written.
    It wouldnt use a / to use.
    The plugin would scan any chat for the RND and then replace it with a random number between a low and high number.
    Needs to work with server signs.
     
  2. Offline

    timtower Administrator Administrator Moderator

    IdealIdeas what do you mean with : needs to work with server signs?
     
  3. Offline

    IdealIdeas

    So say I did the command /svs add <server> /give <player> RND(1)(10) RND(5)(10) , bound it to a sign and then have someone use it, the sign would then give the player item 1-10 and would give them 5-10 of them.
     
  4. Offline

    timtower Administrator Administrator Moderator

    I dont think that this is possible, would require to modify every command that is fired
     
  5. Offline

    larperdoodle

    It could be set it to work with specific commands. Set up /rgive to work like he described having it choose random numbers and then make the player run /give with those numbers.
     
  6. Offline

    timtower Administrator Administrator Moderator

    This will require new commands for every function where he wants the random number, and he didn't wanted any commands
     
  7. Offline

    larperdoodle

    Hence this:

     
  8. Offline

    timtower Administrator Administrator Moderator

    Would still require that all those commands are converted / rebuild, kinda pain in the ass
     

Share This Page