2 castles q manage

Mu online season 21 - grand opening

jasper

Golden Oldie
Golden Oldie
Sep 10, 2005
890
3
105
took this from an old senture post, but says swmaster logged on when 2nd castle owner logs on

whats wrong with it?


[@Login]
#IF
ISCASTLEMASTER = SW
#ACT
goto @swmast
#ELSEACT
goto @dmast
[@dmast]
#IF
ISCASTLEMASTER = DrakenCastle
#ACT
goto @drmast
#ELSEACT
goto @swmem
[@swmast]
#ACT
Sendmsg 1 SwMaster<%S>Online.
close
[@drmast]
#ACT
Sendmsg 1 DrakenMaster<%S>Online.
close
[@swmem]
#IF
ISCASTLEGUILD = SW
#ACT
goto @swmemb
#ELSEACT
goto @dmem
[@swmemb]
Sendmsg 1 SwMember<%S>Online.
close

[@dmem]
#IF
ISCASTLEGUILD = DrakenCastle
#ACT Sendmsg 1 DrakenMember<%S>Online.
#ELSEACT
close



this is in my sabukwall.txt in the "0" folder in castle

[Setup]
CastleName=SW
ChangeDate=22/02/2007 21:24:09
WarDate=22/02/2007 20:00:42
IncomeToday=15/03/2007 20:50:30

this is in my sabukwall.txt in the "1" folder in castle

[Setup]
CastleName=DrakenCastle
ChangeDate=12/03/2007 20:11:31
WarDate=12/03/2007 20:01:30
IncomeToday=15/03/2007 20:50:30
 

koni

V.I.P
VIP
Mar 14, 2006
1,111
1
165
Southampton UK
we have the same issue on bandet, we havnt managed to find a way to sort it out, it does the same shouts for sw members for both castles, and the same shouts for the masters, good luck finding a way to fix it.
 
Upvote 0

GuildWars

Dedicated Member
Dedicated Member
Sep 28, 2004
164
0
42
[@Login]
#IF
ISCASTLEMASTER
checknamelist Sabukwall.txt
#ACT
Sendmsg 1 "SabukWall Master: <%S> Online."
#ELSEACT
goto @check

[@check]
#IF
ISCASTLEMASTER
#ACT
Sendmsg 1 "DrakenCastle Master: <%S> Online."

#IF
ISCASTLEGUILD
checknamelist Sabukwall.txt
#ACT
Sendmsg 1 "SabukWall Member: <%S> Online."
#ELSEACT
goto @check2

[@check2]
#IF
ISCASTLEGUILD
#ACT
Sendmsg 1 "DrakenCastle Member: <%S> Online.


;Put an NPC inside of SabukWall.. Will fix it so the login can tell the diff between 2 Castle's on server( Only for server's with 2 )

[@main]
#IF
checknamelist Sabukwall.txt
#SAY
What nice weather we are having today..\ \
<Close window/@exit>
#ELSEACT
goto @check
[@check]
#IF
ISCASTLEMASTER
#ACT
addnamelist Sabukwall.txt
#SAY
Your name will now be correctly shouted upon logging in..\ \
<Close window/@exit>
#IF
ISCASTLEGUILD
#ACT
addnamelist Sabukwall.txt
Your name will now be correctly shouted upon logging in..\ \
<Close window/@exit>
#ELSESAY
You don't own Sabukwall so bug off!\



I just made these like 2mins ago.. so if they don't work post what happened and i will try and fix!

Koni for your server just change Drakencastle stuff to Smugglerswall
 
Last edited:
Upvote 0

jasper

Golden Oldie
Golden Oldie
Sep 10, 2005
890
3
105
thanks both,,
yes guild wars, thats the only way we could think of doing it was checklist

just strange for someone to post a long script that doesnt work tho,,
but hey ho
 
Upvote 0

shunt

LOMCN Leecher
Feb 2, 2007
1
0
12
[@Login]
#IF
ISCASTLEMASTER
#ACT
goto @check1
#ELSEACT
goto @check
[@check1]
#IF
CHECKOFGUILD Lordsofmir
#ACT
Sendmsg 1 SwMaster<%S>Online.
#ELSEACT
Sendmsg 1 HopeMaster<%S>Online.
;==================================================
[@check]
#IF
ISCASTLEGUILD
#ACT
goto @check2
#ELSEACT
close
[@check2]
#IF
CHECKOFGUILD Lordsofmir
#ACT
Sendmsg 1 SwMember<%S>Online.
#ELSEACT
Sendmsg 1 HopeMember<%S>Online.
------------------------------------------------------------------
We went this way as the stronger guild owning Sabuk Wall is less likely to change as often as a weaker guild holding HopeCastle. but if Sabuk was to fall under new ownership its only a matter of manualy writing the new guilds name were lordsofmir is written ( and a reboot of caurse) but who ever owns Hopecastle will auto change with new owners.

Hope this helps
 
Upvote 0