- Nov 19, 2005
- 180
- 2
- 65
Well even if you change its race it wouldn't effect it because the mob needs to respawn first so in essence its a NPC and therefore can't be removed until you reboot.is there any way to remove a trainer from sz without rebootin the server?
Isn't it a mob?i highly doubt this will work lol and i havent tried it.. but have you tried to create an
npcmove script? it works for normal NPC's, so you can move around NPC's while the server is live.. maybe works for trainers too.
[@ClearMapMobs1]
#ACT
Mov A0 %USERMAP
Mov A1 "*"
Goto @ClearMapMobs
[@ClearMapMobs]
#SAY
This will clear Mobs from a Map\
Please Choose which Mob and what Map\
If you Enter a "*" into the Mob Field it will\
Clear All Mobs\\
{FCOLOR/10}Map : {FCOLOR/1}<$OUTPUT(A0)>\
{FCOLOR/10}Mob : {FCOLOR/1}<$OUTPUT(A1)>\\
<[ Enter Map Name ]/@@ChangeMap>\
<[ Enter Mob Name ]/@@ChangeMob>\
<[ Clear Selected Mob ]/@ClearMapMobs3>\\
<[ Back ]/@AdminScript>
[@@ChangeMap]
#ACT
Mov A0 %INPUTSTR
goto @ClearMapMobs
[@@ChangeMob]
#ACT
Mov A1 %INPUTSTR
goto @ClearMapMobs
[@ClearMapMobs3]
#SAY
Are you Sure?\\
<[ Yes ]/@ClearMapMobs2>\
<[ Back ]/@AdminScript>
[@ClearMapMobs2]
#IF
EQUAL A1 "*"
#ACT
MonClear %A0
#SAY
Mob : {FCOLOR/10}All{FCOLOR/12} cleared from Map : {FCOLOR/10}<$OUTPUT(A0)>{FCOLOR/12}\
<[ Back ]/@AdminScript>
#IF
!EQUAL A1 "*"
#ACT
MonClear %A0 %A1
#SAY
Mob : {FCOLOR/10}<$OUTPUT(A1)> {FCOLOR/12}Cleared from Map : {FCOLOR/10}<$OUTPUT(A0)>{FCOLOR/12}\
<[ Back ]/@AdminScript>
[@Main]
#IF
#SAY
<[ Enter Mob Name ]/@@ChangeMob>\ ;Notice the 2 @@ Symbols
[@@ChangeMob] ;Notice the 2 @@ Symbols
#ACT
Mov A1 %INPUTSTR ;This brings up an Input Box
#SAY
<$OUTPUT(A1)> A1 Contains what you have just written!\\
#IF
Equal A1 "11"
#ACT
Goto @Part11
#IF
Equal A1 "12"
#ACT
Goto @Part12
[@main]
#ACT
MonGenP "10,354,237,0" Guard 1
[@SpawnSelection]
#ACT
Mov A1 %USERMAP
Mov D1 %USERX
Mov D2 %USERY
Mov D3 50
Mov D4 1
Mov A2 "Hen"
#SAY
Map - {FCOLOR/1}<$OUTPUT(A1)>{FCOLOR/10}\
X - {FCOLOR/1}<$OUTPUT(D1)>{FCOLOR/10}\
Y - {FCOLOR/1}<$OUTPUT(D2)>{FCOLOR/10}\
Rad - {FCOLOR/1}<$OUTPUT(D3)>{FCOLOR/10}\
Qty - {FCOLOR/1}<$OUTPUT(D4)>{FCOLOR/10}\
Mob - {FCOLOR/1}<$OUTPUT(A2)>{FCOLOR/10}\\
<[ Select Map ]/@@SelectMap>\
<[ Select X ]/@@SelectX>\
<[ Select Y ]/@@SelectY>\
<[ Select Radius ]/@@SelectRad>\
<[ Select Qty ]/@@SelectQty>\
<[ Select Mob ]/@@SelectMob>\\
<[ Spawn ]/@SpawnMobs>\\\
[@@SelectMap]
#ACT
Mov A1 %INPUTSTR
Goto @SpawnSelection
[@@SelectX]
#ACT
Mov D1 %INPUTSTR
Goto @SpawnSelection
[@@SelectY]
#ACT
Mov D2 %INPUTSTR
Goto @SpawnSelection
[@@SelectRad]
#ACT
Mov D3 %INPUTSTR
Goto @SpawnSelection
[@@SelectQty]
#ACT
Mov D4 %INPUTSTR
Goto @SpawnSelection
[@@SelectMob]
#ACT
Mov A2 %INPUTSTR
Goto @SpawnSelection
[@SpawnMobs]
#ACT
FormatStr "%s,%s,%s" %A1 %D1 %D2
Mov A0 %A9
FormatStr "%s,%s" %A0 %D3
Mov A8 %A9"
MonGenP %A8 %A2 %D4