mob
verb
say(T as text)
if(T=="/Teleport 1")
src<<"<font color=red>Warped!</font color>"
src.loc=locate(/area/Town1)
if(T=="/Teleport 2")
src<<"<font color=red>Warped!</font color>"
src.loc=locate(/area/Town2)
if(T=="/Teleport 3")
src<<"<font color=red>Warped!</font color>"
src.loc=locate(/area/Town3)
if(T=="/Teleport 4")
src<<"<font color=red>Warped!</font color>"
src.loc=locate(/area/Town4)
if(T=="/Teleport 5")
src<<"<font color=red>Warped!</font color>"
src.loc=locate(/area/Town5)
if(T=="/Spell 1")
src<<"You cast spell 1"
//Spell stuff here!
return
if(T=="/Spell 2")
src<<"You cast spell 2"
//Spell stuff here!
return
if(T=="/Spell 3")
src<<"You cast spell 3"
//Spell stuff here!
return
if(T=="/Spell 4")
src<<"You cast spell 4"
//Spell stuff here!
return
if(T=="/Spell 5")
src<<"You cast spell 5"
//Spell stuff here!
return
else
view()<<"\[Say\] \<[src]\>, \"[T]\""
As you can see its not very good, and i need the FindText & Invalid Command part, the main problem with my version is that it'll teleport me to town 1 then it'll go and say what i said... Can you all help me?
If so... Thanks!
P.s.: I couldent remember what i named the project so i couldent put the Invalid Command part in, but i just found it!