[Release]!exp command

Status
Not open for further replies.
Newbie Spellweaver
Joined
Apr 4, 2008
Messages
6
Reaction score
0
Here is my simple first script :D

It gives you exp
example !Exp 50000000 "you gaind 50000000 experiance"
!!!!!!!!!It's Litterly to get exp you need to type exact!!!!!! so "!Exp with a Capital E
Note:just founded out typing a number then 11 "9's" (99999999999)
makes you bugd just type 9999999999 to get out :P

else if(strcmp(command, "Exp") == 0){ //Made By Darkninja
Levels::giveEXP(player, strval(strtok_s(NULL, " ",&next_token)));
}

Insert it in the players.ccp
I putted the coded behind the Summon command

Have Fun power leveling

BTW if that "//made by darkninja" makes script non working DELETE IT
 
Last edited:
elseif(strcmp(command, "Exp") == 0){ //Made By Darkninja
Levels::giveEXP(player, strval(strtok_s(NULL, " ",&next_token)));
}

wrong code,
use a space between 'elsf' and 'if'
that should fix.
 
:D it work btw: you can only level 1 level 1 level at a time but that is not a bug beacause its meant to be so
i could make a script that levels you level for level like
!level XX
!exp 99999999
Repeating so its like automated until 200
 
Status
Not open for further replies.
Back