Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- action pause 1; put $lastcommand when \.\.\.wait
- pause 10
- var titleArray warmage Initiate Warrior Mage|warmage Novice Mage|warmage Apprentice Summoner
- CHANGETITLE:
- eval numberOfTitles count("%titleArray", "|")
- random 0 %numberOfTitles
- #echo --- Title Array: %titleArray ---
- #echo --- Number Of Titles: %numberOfTitles ---
- #echo --- Random Number: %r ---
- #echo --- Selected Title: %titleArray(%r) ---
- #Hmmm, genie has a bug and will return -1 as the random number at times
- #This will catch it and send it back to recalculate
- pause 1
- if %r = -1 THEN GOTO CHANGETITLE
- put title pre choose %titleArray(%r)
- pause 5
- GOTO CHANGETITLE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement