ID:262577
 
Code:
mob
verb
Super_Saiyan()
set category = "Skills"
if(usr.maxpowerlevel>= 100000)
usr << "<b>You begin release your energy!"
sleep(rand(1,100))
usr << "<b>You transformed into a Super Saiyan!!!"
flick("SSJ Goku2",usr)
view()<< "<b>[usr] has transformed into a Super Saiyan"
usr.icon = 'SSJ Goku.dmi'
usr.ssj = 1


Revert()
set category = "Skills"
usr << "<font color=yellow><B>You revert from Super Saiyan..."
usr.icon = 'Goku.dmi'
if(usr.PL >= src.maxPL)
usr.PL = src.maxPL


Problem description:transoformations.dm:16:error:set :invalid proc definition
transoformations.dm:17:error:<< :invalid proc definition
transoformations.dm:18:error::invalid proc definition
transoformations.dm:5:error::invalid expression

DragonBall No Return.dmb - 4 errors, 0 warnings (double-click on an error to jump to it)

ok i am a Ok.. coder now ive been reading the dm guide and refrence and looking at demos and asking friends but ive never known what these errors mean u no i can do most errors : undifine var / proc iconsitant u no im ok with coding but i have a prob here help me plz

Read the DMguide on indentation.
mob
verb
Super_Saiyan()
set category = "Skills"
if(usr.maxpowerlevel>= 100000)
usr << "<b>You begin release your energy!"
sleep(rand(1,100))
usr << "<b>You transformed into a Super Saiyan!!!"
flick("SSJ Goku2",usr)
view()<< "<b>[usr] has transformed into a Super Saiyan"
usr.icon = 'SSJ Goku.dmi'
usr.ssj = 1
Revert()
set category = "Skills"
usr << "<font color=yellow><B>You revert from Super Saiyan..."
usr.icon = 'Goku.dmi'
if(usr.PL >= src.maxPL)
usr.PL = src.maxPL
In response to Ol' Yeller
ok thanks u 2 ol'yeller for telling me where in the dm guide and SSJ4 Compufreak thanks for the code


THANK YOU
think of identation of a line of events, a web some might say.

lol i added the rong icons to that 1 and now ive got 2 more errors
mob
verb
Super_Saiyan()
set category = "Skills"
if(usr.maxpowerlevel>= 300000)
usr << "<b>You transformed into a Super Saiyan!!!"
flick("SSJ",usr)
view()<< "<b>[usr] has transformed into a Super Saiyan"
usr.overlays-=/obj/Goku
sleep(1)
usr.overlays+=/obj/SSJGoku
usr.ssj = 1

Revert()
set category = "Skills"
usr << "<font color=yellow><B>You revert from Super Saiyan..."
usr.overlays-=/obj/SSJGoku
sleep(1)
usr.overlays+=/obj/Goku
if(usr.powerlevel >= src.maxpowerlevel)
usr.powerlevel = src.maxpowerlevel




<dm/>problem:
transoformations.dm:19:error: bad argument definition

DragonBall No Return.dmb - 2 errors, 0 warnings (double-click on an error to jump to it)

what do i do here :S ok if no 1 helps i thats ok i guess seeing if ive justed been helped i guess ill just keep looking but help plz