Log in

View Full Version : String for Magic Spell?



xtrapsp
02-12-2012, 04:24 PM
Hey guys writing a script. Looked at someone elses script and to pick a spell they have


Spell := DTMFromString('m6wAAAHic42ZgYMhmYmAoBuJSKAax85gg4h lAnAbEmVAxXUYGBiMg1gNiLSBWB2JVKAaxQfLGQGwCxDKbmBik +ViIwlwMxANGEjASAACR+wlw');

How do I do this for a teleport spell? also what does all the coding mean xd

Ontop of that:


procedure Statistics4bot;
begin
Clock := [0,0];
ConvertTime(GetTimeRunning,Clock[0],Clock[1])
Writeln('Time Running ' +tostr(Clock[0])+':'+tostr(Clock[1]))
Writeln('You have made ' + IntToStr(t * 27) + ' This is how many you have enchanted')
end;

it says the 3rd line is wrong? [Error] (62:9): Invalid number of parameters at line 61
Compiling failed.

Chrome
02-12-2012, 04:43 PM
I think you need a space after each comma.

xtrapsp
02-12-2012, 04:48 PM
I think you need a space after each comma.

Thanks Chrome, Did some changes and whatnot:


begin
Clock := [0,0,0];
ConvertTime(GetTimeRunning,Clock[0],Clock[1],Clock[2])
Writeln('Time Running ' +tostr(Clock[0])+':'+tostr(Clock[1])+':'+tostr(Clock[2]))
Writeln('We have made ' + IntToStr(t * 27) + ' Rings this Session')
Writeln('We have earned ' + IntToStr(t * 27 * 140) + ' Gold Pieces this Session')
Writeln('Magic Exp Earned ' + IntToStr(t * 27 * 55) + ' xp this Session')
end;