me again .. sry to bug u ppl but i cant seem to be able to make some simple commands work .. so this is my script for entering a kr (script is triggered from mapquest) with key that u get when u kill a km ,
mapquest :
script :
all script works fine exept the mongen .. i get in and i dont have a boss to kill , i tryed
tryed to change the "mongen" position in the script but that didnt worked eighter , tryed with "goto @ogrers" and after a lil down from the script i made
, but nothing works atm
mapquest :
Code:
D2005 [0] 0 [Enter] * * [MapQuest_Def\EnterKR] [@ogreKR]
Code:
[@ogrekr]
#if
check [401] 1
#act
enter_ok
#elseact
goto @ogrekr_1
[@ogrekr_1]
#IF
#ACT
FormatStr "FLD_nume='%s'" %USERNAME
ReadValueSql "TBL_KeyMaker" %A9 "FLD_nume,FLD_ogrekey" @LoadKeys
[@LoadKeys()]
#ACT
Mov A1 %ARG(1)
Mov D1 %ARG(2)
#if
Large D1 0
#act
set [401] 1
Mov A1 %USERNAME
DEC D1 1
FormatStr "FLD_ogrekey=%s" %D1
Mov A8 %A9
FormatStr "FLD_nume='%s'" %A1
UpdateValueSql "TBL_KeyMaker" %A9 %A8
Enter_OK
mongen demon 1 ;[COLOR="Red"]were this should be to work ? [/COLOR]
#elseact
enter_fail
#elsesay
u have <$output(D1)> key's how do u whant to go in
Code:
mongen D2005 demon 1 ; d2005 map name
mongen d2005 53 27 demon 1 1 ; map name coords and radius
mongen "demon" 1 ; i saw the name betwen the " " in the mon_ai so i tryed that to
Code:
[@ogrers]
#act
mongen demon 1
Last edited: