Results 1 to 1 of 1

Thread: MQ2Randomstuff

  1. Top | #1
      Wiki-Post This is a Wiki Post.

    MQ2Randomstuff

    MQ2Randomstuff - Pulls random text strings from ini file and assigns them to ${RandomStuff}
    Code: 
    Commands:
    /randomstuff [section] - Picks a random key from [section] of the INI file, to be returned by ${RandomStuff}
    So.. with an ini file like this
    Code: 
    [hybrids]
    hybrid1=ranger
    hybrid2=shadow knight
    hybrid3=paladin
    hybrid4=bard
    hybrid5=beastlord
    [incoming]
    incoming1=Holy shit! %t incoming!
    incoming2=%t is a big nasty monster! kill it!
    incoming3=%t said he hates gnomes...then again who doesn't?
    incoming4=Look, over in the bushes! It's %t!
    [blackorwhite]
    bw1=black
    bw2=white
    You could do
    Code: 
    /multiline ; /randomstuff incoming ; /gsay ${RandomStuff}
    to trigger a random incoming message. Or maybe
    Code: 
    /multiline ; /randomstuff hybrid ; /raidsay some ${RandomStuff} needs to kite that add!
    Last edited by Maskoi; 08-03-2012 at 07:32 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •