Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ore Downgrade
azurerogue Offline
One Dogma: THROW AD!
*****

Posts: 2,408
Threads: 104
Joined: Aug 2007
#5
RE: Ore Downgrade
I've never understood 100% of how RO reads scripts, but I'm pretty sure this is what you're looking for (isn't there more to the script, though?).

Quote:input .@input,0,11;
if ((.@input > 0) && (.@input < 11)) {
if (countitem(.@divide) >= .@input) {
if (checkweight(908,(.@input * 30)) == 0) {

Line 1 opens the input box where a player can enter 0-10
Line 2 makes sure the number is both greater than 0 (if it is 0, I believe the script stops, which is intended), and less than 11.
Line 3 makes sure than there are at least as many stones in your inventory as you asked it to divide.
Line 4 makes sure you have enough weight to run the script.

There should be more to this after the last dialogue though that actually carries the script out, and that's important too. But the part you're looking for is what I quoted above (out of what you posted).
- Albus Dumbledore 99/70 Professor - Albus DumbIedore 92/59 Professor
- AIbus Dumbledore 93/50 Wizard - AIbus DumbIedore 1/1 Novice
- Astaroth 99/70 Creator - Dawkins 99/70 Creator
- Exemplar 98/69 Paladin - Equitas 80/47 Paladin
- Mephistopheles 95/65 Lord Knight - Shogo Kawada 97/67 Stalker
09-26-2009, 10:31 AM
Find Reply


Messages In This Thread
Ore Downgrade - by Snapplewee - 09-25-2009, 02:46 PM
RE: Ore Downgrade - by Snapplewee - 09-25-2009, 03:13 PM
RE: Ore Downgrade - by G?n?ral_Argos - 09-25-2009, 11:31 PM
RE: Ore Downgrade - by Snapplewee - 09-26-2009, 04:52 AM
RE:??Ore Downgrade - by Aaronock - 09-26-2009, 02:05 PM
RE: Ore Downgrade - by azurerogue - 09-26-2009, 10:31 AM
RE: Ore Downgrade - by G?n?ral_Argos - 09-26-2009, 02:04 PM
RE: Ore Downgrade - by GM-Pandora - 09-29-2009, 11:41 AM
RE: Ore Downgrade - by Snapplewee - 10-01-2009, 07:05 PM
RE: Ore Downgrade - by Matsu - 10-06-2009, 03:48 AM

Forum Jump: