#CLASS {spellbookcopy}
#ALIAS copybook {#var spellb "";l in %1;#var spellno 1;#wa 5000;scribe %word( @spellb, @spellno, "|")}
#TRIGGER {It contains the spells: (*) and has %d free pages.} {#var spellb "%1";#var spellb %replace( @spellb, ", ", "|")}
#TRIGGER {You have the spell already in your spellbook, boggle?} {#Add spellno 1;#if (@spellno > %numwords( @spellb, "|")) {#sa done copying} {scribe %word( @spellb, @spellno, "|")}}
#TRIGGER {You finish scribing spell } {#Add spellno 1;#if (@spellno > %numwords( @spellb, "|")) {#sa done copying} {scribe %word( @spellb, @spellno, "|")}}
#CLASS 0
USAGE:
A book you are holding must be bigger or equal size of a book being copied.
Then just sit down relax and : copybook <spellbook to be copied>
Enjoy:)
Thanks to Mielikki and Lenefir for some jump start on this
Universal book copier
Universal book copier
Last edited by oteb on Thu Oct 21, 2004 11:24 am, edited 2 times in total.
You group-say 'who is da red shape?'
A red shape group-says 'I'm a shape'
A red shape group-says 'I'm a shape'
Hmm reread the trigger
It wont work if spellbook you are copying is full.
You would have to change trigger that captures spells
Dont have any full book so not sure what is the end of full spellbook phrase.
If 'it and has no free pages' change %d in trigger to %a
It wont work if spellbook you are copying is full.
You would have to change trigger that captures spells
Dont have any full book so not sure what is the end of full spellbook phrase.
If 'it and has no free pages' change %d in trigger to %a
You group-say 'who is da red shape?'
A red shape group-says 'I'm a shape'
A red shape group-says 'I'm a shape'
Who is online
Users browsing this forum: No registered users and 11 guests