My first time scripting something. I was told the best way to learn is to have a need you want addressed. I like to keep the cash on the main toon and hand it out for spells or other purchases. I was tired of manually collecting money from my toons, so I thought, why not script it?
This script will check if the toon has coins, if not send you a tell. Check for items on your cursor. Check to see if you have slots to auto inventory to clear your cursor and let you know otherwise. Then navigate the character to the group leader (GL), the target toon can then trade the units they have, giving all coins to the GL. You can run it on the toons to make they give the money up or use target command to make them run it on themselves. The target toon need to be close, (I only accounted for 3 secs of travel time) to properly transfer.
This script will check if the toon has coins, if not send you a tell. Check for items on your cursor. Check to see if you have slots to auto inventory to clear your cursor and let you know otherwise. Then navigate the character to the group leader (GL), the target toon can then trade the units they have, giving all coins to the GL. You can run it on the toons to make they give the money up or use target command to make them run it on themselves. The target toon need to be close, (I only accounted for 3 secs of travel time) to properly transfer.