My Brute Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeSearchLatest imagesRegisterLog in
Registration DOES NOT need an email verification.
Welcome to the biggest MyBrute forum on the internet.
Look at the sections' stickies: you'll find there everything you need to know about the game!

 

 pupi prefix

Go down 
3 posters
AuthorMessage
CypriaN
* * * * * * * * *
* * * * * * * * *
CypriaN


Posts : 867
Join date : 2009-11-08
Age : 30
Location : New Zealand

pupi prefix Empty
PostSubject: pupi prefix   pupi prefix Icon_minitimeSun 13 Jun 2010, 06:34

i forgot where to putt the name in for the pupil prefix for the new version where does it go?

Quote :
function rnd(minv, maxv){
if (maxv < minv) return 0;
return Math.floor(Math.random()*(maxv-minv+1)) + minv;
}

function createName()
{
var letters = 'abcdefghijklmnopqrstuvwxyz';
var s = '';
for (var i=0; i<8; i++) {
s = s + letters.charAt(rnd(0, letters.length - 1));
}
return s;
}


where do you put it on that??
Back to top Go down
Sioc
admin
admin
Sioc


Posts : 2785
Join date : 2009-12-19

pupi prefix Empty
PostSubject: Re: pupi prefix   pupi prefix Icon_minitimeSun 13 Jun 2010, 06:50

You don't need to change name.js.
Use the old one.
Or take the pronounceable names generator: https://mybrute.forumotion.com/cheats-scripts-f13/bc-namejs-pronounceable-names-generator-t8240.htm#107292]

OPtherwise to answer your question, it goes there:

var s= "";

to be replaced by

var s="mao-";
Back to top Go down
CypriaN
* * * * * * * * *
* * * * * * * * *
CypriaN


Posts : 867
Join date : 2009-11-08
Age : 30
Location : New Zealand

pupi prefix Empty
PostSubject: Re: pupi prefix   pupi prefix Icon_minitimeSun 13 Jun 2010, 07:00

Sioc wrote:
You don't need to change name.js.
Use the old one.
Or take the pronounceable names generator: https://mybrute.forumotion.com/cheats-scripts-f13/bc-namejs-pronounceable-names-generator-t8240.htm#107292]

OPtherwise to answer your question, it goes there:

var s= "";

to be replaced by

var s="mao-";

thanx sioc but in the pronounceable names thread i cant open the spoilers can you send me the download link please ? :)
Back to top Go down
Sioc
admin
admin
Sioc


Posts : 2785
Join date : 2009-12-19

pupi prefix Empty
PostSubject: Re: pupi prefix   pupi prefix Icon_minitimeSun 13 Jun 2010, 08:00

Oh yes, that damn Forumotion bug... here is the content of the Name.js file:
Code:

//BC pronounceable names generator v1.00 by Sioc.
//Inspired from Totro by David A. Wheeler
function createName() {
//=========================================================================================
//EDITABLE PARAMETERS
//=========================================================================================
var minsyl = 3; //Minimum number of syllables
var maxsyl = 6; //Maximum number of syllables
var prefix = "sioc-"; //Prefix: put "" if you don't want any prefix, otherwise for example "sioc-", "kn1-", etc.
var withnumber = false; //Do you want a number at the end of the name? Either true or false
var minnum = 1; //If you want a number at the end of the name, what is its minimum value?
var maxnum = 999; //If you want a number at the end of the name, what is its maximum value?
//=========================================================================================
//END OF PARAMETERS
//=========================================================================================
   var s = prefix;
   var vowels = new Array(["a", 7], ["e", 7], ["i", 7], ["o", 7], ["u", 7], ["a", 7], ["e", 7], ["i", 7], ["o", 7], ["u", 7], ["a", 7], ["e", 7], ["i", 7], ["o", 7], ["u", 7], ["a", 7], ["e", 7], ["i", 7], ["o", 7], ["u", 7], ["a", 7], ["e", 7], ["i", 7], ["o", 7], ["u", 7], ["a", 7], ["e", 7], ["i", 7], ["o", 7], ["u", 7], ["a", 7], ["e", 7], ["i", 7], ["o", 7], ["u", 7], ["a", 7], ["e", 7], ["i", 7], ["o", 7], ["u", 7], ["a", 7], ["e", 7], ["i", 7], ["o", 7], ["u", 7], ["a", 7], ["e", 7], ["i", 7], ["o", 7], ["u", 7], ["a", 7], ["e", 7], ["i", 7], ["o", 7], ["u", 7], ["a", 7], ["e", 7], ["i", 7], ["o", 7], ["u", 7], ["ae", 7], ["ai", 7], ["ao", 7], ["au", 7], ["aa", 7], ["ea", 7], ["eo", 7], ["eu", 7], ["ee", 7], ["ia", 7], ["io", 7], ["iu", 7], ["ii", 7], ["oa", 7], ["oe", 7], ["oi", 7], ["ou", 7], ["oo", 7], ["eau", 7], ["y", 7])
   var consonants = new Array(["b", 7],  ["c", 7],  ["d", 7],  ["f", 7], ["g", 7],  ["h", 7], ["j", 7],  ["k", 7],  ["l", 7],  ["m", 7], ["n", 7],  ["p", 7], ["qu", 6],  ["r", 7], ["s", 7],  ["t", 7], ["v", 7],  ["w", 7],["x", 7],  ["y", 7],  ["z", 7], ["sc", 7], ["ch", 7],  ["gh", 7],  ["ph", 7], ["sh", 7],  ["th", 7], ["wh", 6],["ck", 5],  ["nk", 5],  ["rk", 5], ["sk", 7],  ["wk", 0],["cl", 6],  ["fl", 6],  ["gl", 6], ["kl", 6],  ["ll", 6], ["pl", 6], ["sl", 6],["br", 6],  ["cr", 6],  ["dr", 6],  ["fr", 6],  ["gr", 6],  ["kr", 6], ["pr", 6],  ["sr", 6],  ["tr", 6],["ss", 5],["st", 7],  ["str", 6],["b", 7],  ["c", 7],  ["d", 7],  ["f", 7],  ["g", 7],  ["h", 7], ["j", 7],  ["k", 7],  ["l", 7],  ["m", 7],  ["n", 7],  ["p", 7], ["r", 7], ["s", 7],  ["t", 7],  ["v", 7],  ["w", 7],["b", 7],  ["c", 7],  ["d", 7],  ["f", 7],  ["g", 7],  ["h", 7], ["j", 7],  ["k", 7],  ["l", 7],  ["m", 7],  ["n", 7],  ["p", 7], ["r", 7], ["s", 7],  ["t", 7],  ["v", 7],  ["w", 7],["br", 6],  ["dr", 6],  ["fr", 6],  ["gr", 6],  ["kr", 6])
   var data = "";
   var leng = rnd(minsyl, maxsyl); // Compute number of syllables in the name
   var isvowel = rnd(0, 1); // randomly start with vowel or consonant
   for (var i = 1; i <= leng; i++) { // syllable #. Start is 1 (not 0)
      do {
         if (isvowel) {
            data = vowels[rnd(0, vowels.length - 1)];
         } else {
            data = consonants[rnd(0, consonants.length - 1)];
         }
         if ( i == 1) { // first syllable.
            if (data[1] & 2) {break;}
         } else if (i == leng) { // last syllable.
            if (data[1] & 1) {break;}
         } else { // middle syllable.
            if (data[1] & 4) {break;}
         }
      } while (1)
      s += data[0];
      isvowel = 1 - isvowel; // Alternate between vowels and consonants.
   }
   if(withnumber){s += rnd(minnum,maxnum)};
   return s;
}

function rnd(minv, maxv){
   if (maxv < minv) return 0;
   return Math.floor(Math.random()*(maxv-minv+1)) + minv;
}
Back to top Go down
CypriaN
* * * * * * * * *
* * * * * * * * *
CypriaN


Posts : 867
Join date : 2009-11-08
Age : 30
Location : New Zealand

pupi prefix Empty
PostSubject: Re: pupi prefix   pupi prefix Icon_minitimeSun 13 Jun 2010, 08:02

thanx sioc but it think the new version has something already simalir everybtuye i made has been all letters and pretty good did that get updated too?
Back to top Go down
Sioc
admin
admin
Sioc


Posts : 2785
Join date : 2009-12-19

pupi prefix Empty
PostSubject: Re: pupi prefix   pupi prefix Icon_minitimeSun 13 Jun 2010, 08:37

No.
It's random.
Back to top Go down
w13winni
VIP
VIP
w13winni


Posts : 282
Join date : 2009-04-17

pupi prefix Empty
PostSubject: Re: pupi prefix   pupi prefix Icon_minitimeSun 13 Jun 2010, 09:24

you can use http://scriptwin.netau.net/name/generer.html
Back to top Go down
Sponsored content





pupi prefix Empty
PostSubject: Re: pupi prefix   pupi prefix Icon_minitime

Back to top Go down
 
pupi prefix
Back to top 
Page 1 of 1
 Similar topics
-
» pupil me and u get a pupi back

Permissions in this forum:You cannot reply to topics in this forum
My Brute Forum :: Guides & Info :: Cheats & Scripts-
Jump to: