- Aug 6, 2008
- 193
- 2
- 45
Im trying to write a script that boosts the exp of the person who a expscroll.... not hard, but when i tryed to add in error handling so that u couldnt use more then 1 potion at a time it gets tricky... here is my code so far
Ive thought of trying to use a flag to tell me when 1 is in use but there is no way to know when or how to turn the flag off lol
ive tryed the command checkexp but i think it checks your total exp for your char instead. there has to be a command to check the current exprate
PLS HELP
Code:
[@StdModeFunc90]
#If
; If the current rate is => 150 then
NEED CHECKER HERE
#Act
LineMSG 6 "Exp potion is in use already
#ElseAct
LineMSG 6 "Exp multiplied X1.5 for 1 An Hour"
KILLMONEXPRATE 150 3600
break
Ive thought of trying to use a flag to tell me when 1 is in use but there is no way to know when or how to turn the flag off lol
ive tryed the command checkexp but i think it checks your total exp for your char instead. there has to be a command to check the current exprate
PLS HELP
Last edited:
