Page 1 of 4 123 ... LastLast
Results 1 to 10 of 40

Thread: Bored! Give me some script ideas!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Bored! Give me some script ideas!

    Give me some script ideas for scripts that don't already exist. I'm bored!

  2. #2

    Default

    Write a 'bescort' script, like dragonrealms has, for all of the stringproc movements in the game so we can remove them from the mapdb.

  3. Default

    Magic item recharging script?

  4. #4

    Default

    along the same line of thought, scroll unlocks and charging

  5. #5

    Default

    Quote Originally Posted by SonoftheNorth View Post
    Magic item recharging script?
    There isn't already a script that does this?

    Quote Originally Posted by Realk View Post
    along the same line of thought, scroll unlocks and charging
    Or this?

  6. Default

    Quote Originally Posted by Tgo01 View Post
    There isn't already a script that does this?



    Or this?

    No

  7. #7

    Default

    Quote Originally Posted by SonoftheNorth View Post
    No
    ;chargeitem is on the repo, it doesn't work, or are you referring to something else?

  8. #8

    Default

    Making an Urven'eth potion, I started one in wizard, less than ideal I know but I suck at real scripting, but have not had a chance to finish and test it.

  9. #9

    Default

    How about cast a disk on everyone in the room that doesn't already have a disk, rapid fire friendly.

  10. #10

    Default

    Quote Originally Posted by onurb View Post
    How about cast a disk on everyone in the room that doesn't already have a disk, rapid fire friendly.
    Code:
    if !Spell[511].known?
    	echo "You don't know 511. What you trying to pull here?"
    else
    	GameObj.pcs.each{ |person|
    		if !checkmana(50) && Spell[515].known? && !Spell[515].active?
    			echo "Waiting for mana."
    			wait_until{ checkmana(50) }
    		end
    		Spell[515].cast if !Spell[515].active? && Spell[515].known?
    		if !checkmana(16)
    			echo "Waiting for mana."
    			wait_until{ checkmana(16) }
    		end
    		Spell[511].cast("##{person.id}") if checkmana(16) && !GameObj.loot.find{ |item| item.noun =~ /disk|coffin/ && item.name =~ /#{person}/ }
    	}
    	Spell[511].cast(checkname) if checkmana(16) && !GameObj.loot.find{ |item| item.noun =~ /disk|coffin/ && item.name =~ /#{checkname}/ }
    end
    Last edited by Tgo01; 03-27-2023 at 09:50 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
  •