Auto Spells for Lifco's 2.6 Files

TheMightyOne

Golden Oldie
Golden Oldie
Jun 14, 2004
722
3
124
UnitedKingdom
Just thought i'd post the Auto Spells i've written for Lifco's 2.6 server files, they are setup for use as the server files are at the moment, so if you've edited to magic.db they might not work.
anyway im always being helped so thought i could do some helping. Might not be useful but it was to me so here you go lol.

The spells are auto until level 35.

This is the QFunction.txt

[@LevelUp]
#IF
CHECKLEVELEX = 7
#CALL [..\QuestDiary\LevelUp\Lvl7.txt] @lvl7
break
#IF
CHECKLEVELEX = 9
#CALL [..\QuestDiary\LevelUp\Lvl9.txt] @lvl9
break
#IF
CHECKLEVELEX = 12
#CALL [..\QuestDiary\LevelUp\Lvl12.txt] @lvl12
break
#IF
CHECKLEVELEX = 13
#CALL [..\QuestDiary\LevelUp\Lvl13.txt] @lvl13
break
#IF
CHECKLEVELEX = 14
#CALL [..\QuestDiary\LevelUp\Lvl14.txt] @lvl14
break
#IF
CHECKLEVELEX = 15
#CALL [..\QuestDiary\LevelUp\Lvl15.txt] @lvl15
break
#IF
CHECKLEVELEX = 16
#CALL [..\QuestDiary\LevelUp\Lvl16.txt] @lvl16
break
#IF
CHECKLEVELEX = 17
#CALL [..\QuestDiary\LevelUp\Lvl17.txt] @lvl17
break
#IF
CHECKLEVELEX = 18
#CALL [..\QuestDiary\LevelUp\Lvl18.txt] @lvl18
break
#IF
CHECKLEVELEX = 19
#CALL [..\QuestDiary\LevelUp\Lvl19.txt] @lvl19
break
#IF
CHECKLEVELEX = 20
#CALL [..\QuestDiary\LevelUp\Lvl20.txt] @lvl20
break
#IF
CHECKLEVELEX = 21
#CALL [..\QuestDiary\LevelUp\Lvl21.txt] @lvl21
break
#IF
CHECKLEVELEX = 22
#CALL [..\QuestDiary\LevelUp\Lvl22.txt] @lvl22
break
#IF
CHECKLEVELEX = 23
#CALL [..\QuestDiary\LevelUp\Lvl23.txt] @lvl23
break
#IF
CHECKLEVELEX = 24
#CALL [..\QuestDiary\LevelUp\Lvl24.txt] @lvl24
break
#IF
CHECKLEVELEX = 25
#CALL [..\QuestDiary\LevelUp\Lvl25.txt] @lvl25
break
#IF
CHECKLEVELEX = 26
#CALL [..\QuestDiary\LevelUp\Lvl26.txt] @lvl26
break
#IF
CHECKLEVELEX = 30
#CALL [..\QuestDiary\LevelUp\Lvl30.txt] @lvl30
break
#IF
CHECKLEVELEX = 31
#CALL [..\QuestDiary\LevelUp\Lvl31.txt] @lvl31
break
#IF
CHECKLEVELEX = 32
#CALL [..\QuestDiary\LevelUp\Lvl32.txt] @lvl32
break
#IF
CHECKLEVELEX = 35
#CALL [..\QuestDiary\LevelUp\Lvl35.txt] @lvl35
break


Here is the file for your QuestDiary Folder

Just noticed that SoulFireBall won't work becuase in the Magic.db it's set as SoulFireball... whereas in the stditems it's set as SoulFire"B"all... The capital or non capital matters. So just change it to which ever you like.

Everything else should work ok though.



:)
 

Attachments

  • LevelUp.rar
    5.4 KB · Views: 13
Last edited:

Primal

LOMCN VIP
VIP
Jun 28, 2004
1,756
102
259
can i ask why uve used the #CALL thing? why not just learn the spell there?

iv never understood them either, id hav thought the #CAL makes it run slower as it has to find stuff?
 

TheMightyOne

Golden Oldie
Golden Oldie
Jun 14, 2004
722
3
124
UnitedKingdom
I'm not sure. i didn't know of any other way of doing it. just thought i'd post something that i thought might be of some use to people. Sorry.
 

Chriz

Captain Lurker
VIP
Mar 24, 2003
1,163
287
335
LOMCN
Personally, i prefer the #CALL keeps things organized and doesnt make Qfunction too cluttered!

Thanks for this mate :)