Forum rules
- Use common sense and be respectful towards each other at all times, even when disagreeing.
- Do not reveal sensitive game information. Guild secrets, player seconds are examples of things not allowed.
|
Page 1 of 1
|
[ 1 post ] |
|
Author |
Message |
bashere
Beginner
Joined: 12 Oct 2017 19:31 Posts: 10
|
/* Description: random mana herb array alias. Basically, I wanted some way to grab a mana herb quickly without searching through my container. Alias Command: mana Script Type: Javascript Synopsis: Usage: will randomly attempt to get one of the herbs defined in the mana array. I'll spam the command until it comes up with an herb from my container. Required changes: change 'qarraba' below to whatever container you use. */
mana = [ "sebre", "simbelmyne", "fordinfa", "angeltear", "chantrelle", "ramira", "vampiric moss", "oakmoss", "sargassum", "drakeroot", "tilhiyin root", "morel", ];
gwc.connection.send('open qarraba'); var item = mana[Math.floor(Math.random()*mana.length)]; gwc.connection.send( 'get ' + item + ' from jar' ); gwc.connection.send( 'eat ' + item); gwc.connection.send('close qarraba');
|
15 Nov 2017 00:11 |
|
|
|
Page 1 of 1
|
[ 1 post ] |
|
Who is online |
Users browsing this forum: No registered users and 3 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|