Guest User

Untitled

a guest
May 15th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 102.00 KB | None | 0 0
  1. Global FactionPowers, TreasureList, CharList, LastPhoto, PhotoName, PhotoList, TodaysMonth, TimeOutGo
  2. Global gDispatcher, LotteryOnOff, LotteryItem, MapList, myPMovie, MobListCur, CharFiles, MapProperties, nPlayerMaps
  3. Global AttackValues, DefenseValues, TotalMaps, TheCurMobs, AllowedBCasters, MonthName, iDay, iMonth, iYear, PlayerSkillQueue, rUzrse
  4. Global PlayerFiles, PlayerAbs, PlayerConds, MobsMap, CurUserList, CurTimeOfDay, PlayerHungers, iCurUserList, BannedIPList, IsHelpOn
  5. Global DefPart1, DefPart2, DefPart3, DefPart4, HowManyBitchesAreOn, BigIPList, SuicideList, CTDay, PlayerSpells, PageTriggers, nPlayerPositions, MoonDay, PlayerStats
  6. Global ScramblerMap, PlayerGames, ShopGhosts, BannedAccounts, RedTeamEnrai, BlueTeamEnrai
  7. Global Trades, GuildAcpts, Murderers, Justicar, PardonsLeft, ReggedUsers, LegalCodes, Hirelings
  8. Global AllowedUsersToConverse, FriendsIN, FriendsOUT, ValidAttacks, PVPLockedOut, FreeBCastsOff, CanBeMurderered
  9. Global WhoImTracking, CharacterEventList, SavedImmortals, AllCTFPlayers, SrvPath, SavedMobSet, UseProStuff, EveryUserForFile, PlayerBattles
  10. Global BigRegCountList, BigUnreggedCountList, LastDateViewed
  11.  
  12.  
  13.  
  14. on IncomingMessage (me, movie, group, user, fullMsg)
  15.  
  16.  
  17. ---- if string(fullmsg.subject) <> VOID then put string(fullmsg.subject)
  18.  
  19. if BannedIPList contains string(user.ipaddress) then
  20. myPmovie.sendmessage("Admin", "kick", string(user.name))
  21. exit
  22. end if
  23.  
  24.  
  25. if string(user.name) = "Admin" then exit
  26.  
  27. if string(fullmsg.content) contains "/char" then exit
  28. if string(fullmsg.content) contains "char/" then exit
  29.  
  30. if string(fullmsg.content) contains ";" then -- i have no idea what this is for, heh.
  31. set the itemdelimiter = ";"
  32. set xxl = string(item 1 of fullmsg.content)
  33. set fullmsg.content = string(item 2 of fullmsg.content)
  34.  
  35. if xxl <> string(user.name) then
  36. -- exit
  37. end if
  38. end if
  39.  
  40.  
  41. if string(user.name) = WhoImTracking then
  42. put string(user.name) & " / " & string(fullmsg.subject) & " / " & string(fullmsg.content)
  43. end if
  44.  
  45.  
  46. if string(fullmsg.subject) contains "Track" then
  47. set WhoImTracking = string(fullmsg.content)
  48. end if
  49.  
  50.  
  51. if string(fullmsg.subject) = "GnaGalery" then
  52. if string(user.name) contains "admin3" then
  53.  
  54. set PaintDAT = string(fullmsg.content)
  55.  
  56. set the itemdelimiter = ":"
  57. set PaintingNum = item 1 of PaintDAT
  58. set PainterName = item 2 of PaintDAT
  59. set PaintingDate = item 3 of PaintDAT
  60.  
  61.  
  62. set AllPaintings = file("" & SrvPath & "NewWorldsOnlineServer\DAT\AllPaintings.txt").read()
  63. if AllPaintings = VOID then set AllPaintings = ""
  64. set AllPaintings = PaintDAT & "*" & AllPaintings
  65. file("" & SrvPath & "NewWorldsOnlineServer\DAT\AllPaintings.txt").write(AllPaintings)
  66.  
  67.  
  68. set MyPaintings = file("" & SrvPath & "NewWorldsOnlineServer\DAT\Art1\" & PainterName & ".txt").read()
  69. if MyPaintings = VOID then set MyPaintings = ""
  70. set MyPaintings = PaintDAT & "*" & MyPaintings
  71. file("" & SrvPath & "NewWorldsOnlineServer\DAT\Art1\" & PainterName & ".txt").write(MyPaintings)
  72.  
  73.  
  74. ComposeIndividualGalleryHTML(PainterName)
  75. ComposeGalleryHTML
  76.  
  77. end if
  78. end if
  79.  
  80.  
  81.  
  82. if string(user.name) <> string(fullmsg.SenderID) then
  83. User.sendMessage("DieScum", "byebye", 0, FALSE, user.name)
  84. myPmovie.sendmessage("Admin", "kick", string(user.name))
  85. exit
  86. end if
  87.  
  88.  
  89. if string(fullmsg.subject) contains "Updater:" then
  90. UpdateScript(me, movie, group, user, fullMsg)
  91. exit
  92. end if
  93.  
  94.  
  95.  
  96. if string(fullmsg.subject) contains "SavePainting1-" then
  97. set MyName = string(user.name)
  98. set the itemdelimiter = "-"
  99. set CdNum = item 2 of string(fullmsg.subject)
  100. set TheImage = fullmsg.content
  101. file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART1\" & CdNum).writevalue(TheImage)
  102. User.sendMessage("SendPainting2", "x", 0, FALSE, user.name)
  103.  
  104. set TheSub = "Painting-" & MyName & "-1"
  105. end if
  106.  
  107. if string(fullmsg.subject) contains "SavePainting2-" then
  108. set MyName = string(user.name)
  109. set the itemdelimiter = "-"
  110. set CdNum = item 2 of string(fullmsg.subject)
  111. set TheImage = fullmsg.content
  112. file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART2\" & CdNum).writevalue(TheImage)
  113. User.sendMessage("SendPainting3", "x", 0, FALSE, user.name)
  114.  
  115. set TheSub = "Painting-" & MyName & "-2"
  116. end if
  117.  
  118. if string(fullmsg.subject) contains "SavePainting3-" then
  119. set MyName = string(user.name)
  120. set the itemdelimiter = "-"
  121. set CdNum = item 2 of string(fullmsg.subject)
  122. set TheImage = fullmsg.content
  123. file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART3\" & CdNum).writevalue(TheImage)
  124. User.sendMessage("SendPainting4", "x", 0, FALSE, user.name)
  125.  
  126. set TheSub = "Painting-" & MyName & "-3"
  127. end if
  128.  
  129. if string(fullmsg.subject) contains "SavePainting4-" then
  130. set MyName = string(user.name)
  131. set the itemdelimiter = "-"
  132. set CdNum = item 2 of string(fullmsg.subject)
  133. set TheImage = fullmsg.content
  134. file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART4\" & CdNum).writevalue(TheImage)
  135. file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART5\" & CdNum & ".txt").write(string(user.name))
  136. set OtherThing = 1
  137. set ThisHisName = string(user.name)
  138. set ThisHisGets = "Painting" & "-" & CdNum
  139. AddSomeJunk(ThisHisName, ThisHisGets, OtherThing)
  140. User.sendMessage("WeAmDonePainting", "x", 0, FALSE, user.name)
  141.  
  142. set TheSub = "Painting-" & MyName & "-4"
  143.  
  144. set GalleryQueue = file("" & SrvPath & "NewWorldsOnlineServer\DAT\GalleryQueue.txt").read()
  145. if GalleryQueue = VOID then set GalleryQueue = ""
  146. set GalleryQueue = GalleryQueue & CdNum & ":"
  147. file("" & SrvPath & "NewWorldsOnlineServer\DAT\GalleryQueue.txt").write(GalleryQueue)
  148. end if
  149.  
  150.  
  151.  
  152.  
  153.  
  154. case fullMsg.subject of
  155.  
  156.  
  157. "LoadChar2":
  158. LoadChar2(me, movie, group, user, fullmsg)
  159.  
  160. "LoadChar":
  161. LoadChar(me, movie, group, user, fullmsg)
  162.  
  163. "QueryCreate":
  164. QueryCreate(me, movie, group, user, fullmsg)
  165.  
  166.  
  167. set SrchStr = "*" & string(user.name) & "*"
  168.  
  169. if AllowedUsersToConverse contains SrchStr then
  170.  
  171. else
  172.  
  173. exit
  174. end if
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181. "RtPasword":
  182.  
  183. set TheDat = string(fullmsg.content)
  184. set the itemdelimiter = ":"
  185. set EmAddy = item 1 of TheDat
  186. set HisName = item 2 of TheDat
  187.  
  188. set MyEMM = file("" & SrvPath & "NewWorldsOnlineServer\DAT\EmailAddresses\" & HisName & ".txt").read
  189.  
  190.  
  191. if MyEMM = VOID then
  192. myPmovie.sendmessage("Admin", "kick", string(user.name))
  193. User.sendMessage("SysAlert", "This character doesn't exist!", 0, FALSE, user.name)
  194. exit
  195. end if
  196.  
  197. if MyEMM <> EmAddy then
  198. User.sendMessage("SysAlert", "This email address/character do not match up!", 0, FALSE, user.name)
  199. myPmovie.sendmessage("Admin", "kick", string(user.name))
  200. exit
  201. end if
  202.  
  203. if MyEMM = EmAddy then
  204. User.sendMessage("SysAlert", "Your password has been sent to the email address " & EmAddy & "!", 0, FALSE, user.name)
  205. myPmovie.sendmessage("Admin", "kick", string(user.name))
  206.  
  207. set the itemdelimiter = ":"
  208. set CharFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\CHAR\" & string(HisName) & ".txt").read
  209.  
  210. if CharFile = VOID then exit
  211. set ThePassword = item 2 of CharFile
  212.  
  213. set TheDat = EmAddy & RETURN & HisName & RETURN & ThePassword
  214. myPmovie.sendmessage("Admin", "SendPassword", TheDat)
  215. exit
  216. end if
  217.  
  218.  
  219.  
  220. "cfvldso3j1":
  221. -- set rUzrse = rUzrse & string(user.name) & ":"
  222. User.sendMessage("fs3hsohshd", string(user.name), 0, FALSE, user.name)
  223.  
  224. "MapPaintingView1":
  225. set MyName = string(User.Name)
  226. set WhichC = string(fullmsg.content)
  227. set the itemdelimiter = "-"
  228. set SpriteNm = integer(item 1 of WhichC)
  229. set MapNm = string(item 2 of WhichC)
  230. set ConditionsFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\CONDITIONS\" & MapNm & ".txt").read()
  231. set the itemdelimiter = ":"
  232. set WhichCC = item SpriteNm of ConditionsFile
  233. set the itemdelimiter = "|"
  234. set TheNum = item 2 of WhichCC
  235. set ThePainting = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART1\" & TheNum).readvalue()
  236. User.sendMessage("HeresTheP1b", ThePainting, 0, FALSE, user.name)
  237.  
  238. "MapPaintingView2":
  239. set MyName = string(User.Name)
  240. set WhichC = string(fullmsg.content)
  241. set the itemdelimiter = "-"
  242. set SpriteNm = integer(item 1 of WhichC)
  243. set MapNm = string(item 2 of WhichC)
  244. set ConditionsFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\CONDITIONS\" & MapNm & ".txt").read()
  245. set the itemdelimiter = ":"
  246. set WhichCC = item SpriteNm of ConditionsFile
  247. set the itemdelimiter = "|"
  248. set TheNum = item 2 of WhichCC
  249. set ThePainting = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART2\" & TheNum).readvalue()
  250. User.sendMessage("HeresTheP2b", ThePainting, 0, FALSE, user.name)
  251.  
  252. "MapPaintingView3":
  253. set MyName = string(User.Name)
  254. set WhichC = string(fullmsg.content)
  255. set the itemdelimiter = "-"
  256. set SpriteNm = integer(item 1 of WhichC)
  257. set MapNm = string(item 2 of WhichC)
  258. set ConditionsFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\CONDITIONS\" & MapNm & ".txt").read()
  259. set the itemdelimiter = ":"
  260. set WhichCC = item SpriteNm of ConditionsFile
  261. set the itemdelimiter = "|"
  262. set TheNum = item 2 of WhichCC
  263. set ThePainting = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART3\" & TheNum).readvalue()
  264. User.sendMessage("HeresTheP3b", ThePainting, 0, FALSE, user.name)
  265.  
  266. "MapPaintingView4":
  267. set MyName = string(User.Name)
  268. set WhichC = string(fullmsg.content)
  269. set the itemdelimiter = "-"
  270. set SpriteNm = integer(item 1 of WhichC)
  271. set MapNm = string(item 2 of WhichC)
  272. set ConditionsFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\CONDITIONS\" & MapNm & ".txt").read()
  273. set the itemdelimiter = ":"
  274. set WhichCC = item SpriteNm of ConditionsFile
  275. set the itemdelimiter = "|"
  276. set TheNum = item 2 of WhichCC
  277. set ThePainting = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART4\" & TheNum).readvalue()
  278. User.sendMessage("HeresTheP4b", ThePainting, 0, FALSE, user.name)
  279. set ThePaintingNameGuy = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART5\" & TheNum & ".txt").read()
  280. User.sendMessage("HeresTheP5", ThePaintingNameGuy, 0, FALSE, user.name)
  281.  
  282.  
  283.  
  284.  
  285.  
  286. "p3jahdi4h2":
  287. set ServerInfo = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ServerInfo.txt").read
  288. User.sendMessage("sinoinfoe", ServerInfo, 0, FALSE, user.name)
  289.  
  290.  
  291.  
  292. "PaintingView1":
  293. set MyName = string(User.Name)
  294. set WhichC = integer(fullmsg.content)
  295. set ConditionsFile = GetProp(PlayerConds, Symbol(MyName))
  296. set the itemdelimiter = ":"
  297. set WhichCC = item WhichC of ConditionsFile
  298. set the itemdelimiter = "|"
  299. set TheNum = item 2 of WhichCC
  300. set ThePainting = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART1\" & TheNum).readvalue()
  301. User.sendMessage("HeresTheP1", ThePainting, 0, FALSE, user.name)
  302.  
  303.  
  304. "PaintingView2":
  305. set MyName = string(User.Name)
  306. set WhichC = integer(fullmsg.content)
  307. set ConditionsFile = GetProp(PlayerConds, Symbol(MyName))
  308. set the itemdelimiter = ":"
  309. set WhichCC = item WhichC of ConditionsFile
  310. set the itemdelimiter = "|"
  311. set TheNum = item 2 of WhichCC
  312. set ThePainting = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART2\" & TheNum).readvalue()
  313. User.sendMessage("HeresTheP2", ThePainting, 0, FALSE, user.name)
  314.  
  315.  
  316. "PaintingView3":
  317. set MyName = string(User.Name)
  318. set WhichC = integer(fullmsg.content)
  319. set ConditionsFile = GetProp(PlayerConds, Symbol(MyName))
  320. set the itemdelimiter = ":"
  321. set WhichCC = item WhichC of ConditionsFile
  322. set the itemdelimiter = "|"
  323. set TheNum = item 2 of WhichCC
  324. set ThePainting = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART3\" & TheNum).readvalue()
  325. User.sendMessage("HeresTheP3", ThePainting, 0, FALSE, user.name)
  326.  
  327.  
  328. "PaintingView4":
  329. set MyName = string(User.Name)
  330. set WhichC = integer(fullmsg.content)
  331. set ConditionsFile = GetProp(PlayerConds, Symbol(MyName))
  332. set the itemdelimiter = ":"
  333. set WhichCC = item WhichC of ConditionsFile
  334. set the itemdelimiter = "|"
  335. set TheNum = item 2 of WhichCC
  336. set ThePainting = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART4\" & TheNum).readvalue()
  337. User.sendMessage("HeresTheP4", ThePainting, 0, FALSE, user.name)
  338. set ThePaintingNameGuy = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ART5\" & TheNum & ".txt").read()
  339. User.sendMessage("HeresTheP5", ThePaintingNameGuy, 0, FALSE, user.name)
  340.  
  341.  
  342.  
  343. "NPCDrop":
  344. set TheNPC = file("" & SrvPath & "NewWorldsOnlineServer\DAT\MOBS\" & string(fullmsg.content) & ".txt").read
  345. User.sendMessage("HereAmNPC", TheNPC, 0, FALSE, user.name)
  346.  
  347.  
  348. "ho34hop34hop23hasgdijsgf":
  349. set TheGoods = string(fullMsg.content)
  350. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\gods.txt").read
  351. set MyNamee = "*" & string(user.name) & "*"
  352.  
  353. if FileAdmins contains MyNamee then
  354. file("" & SrvPath & "NewWorldsOnlineServer\DAT\BannedIPList.txt").write(TheGoods)
  355. User.sendMessage("al32hrt", "X", 0, FALSE, user.name)
  356. set BannedIPList = TheGoods
  357. end if
  358.  
  359.  
  360.  
  361. "dthii45hhgidfh":
  362. set TheGoods = string(fullMsg.content)
  363. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\gods.txt").read
  364. set MyNamee = "*" & string(user.name) & "*"
  365.  
  366. if FileAdmins contains MyNamee then
  367. ---- exit
  368. file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\Gods.txt").write(TheGoods)
  369. User.sendMessage("al32hrt", "X", 0, FALSE, user.name)
  370. end if
  371.  
  372.  
  373.  
  374.  
  375.  
  376. "f34h4h3g2f":
  377. set TheGoods = string(fullMsg.content)
  378. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\gods.txt").read
  379. set MyNamee = "*" & string(user.name) & "*"
  380.  
  381. if FileAdmins contains MyNamee then
  382. set the itemdelimiter = "~"
  383. set safeMap = item 1 of TheGoods
  384. set AMapNum = item 2 of TheGoods
  385. CheckPVPMap(SafeMap, AMapNum)
  386. end if
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395. "hi45hidfh":
  396. set TheGoods = string(fullMsg.content)
  397. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\gods.txt").read
  398. set MyNamee = "*" & string(user.name) & "*"
  399.  
  400. if FileAdmins contains MyNamee then
  401. ------ exit
  402. file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").write(TheGoods)
  403. User.sendMessage("al32hrt", "X", 0, FALSE, user.name)
  404. end if
  405.  
  406.  
  407.  
  408.  
  409. "j5j2hsg3":
  410. set TheGoods = string(fullMsg.content)
  411. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\gods.txt").read
  412. set MyNamee = "*" & string(user.name) & "*"
  413.  
  414. if FileAdmins contains MyNamee then
  415. file("" & SrvPath & "NewWorldsOnlineServer\DAT\ServerInfo.txt").write(TheGoods)
  416. User.sendMessage("al32hrt", "X", 0, FALSE, user.name)
  417. end if
  418.  
  419.  
  420.  
  421. "loadpages":
  422. set TheOne = string(fullmsg.content)
  423. set TheData = file("" & SrvPath & "NewWorldsOnlineServer\DAT\PAGES\" & TheOne & ".txt").read
  424. User.sendMessage("pageloaded", TheData, 0, FALSE, user.name)
  425.  
  426.  
  427. "savepages":
  428.  
  429. exit
  430. set TheGoods = string(fullmsg.content)
  431.  
  432. set the itemdelimiter = "|"
  433. set pagename = item 1 of TheGoods
  434. put "" into item 1 of theGoods
  435. if char 1 of theGoods = "|" then put "" into char 1 of TheGoods
  436.  
  437. file("" & SrvPath & "NewWorldsOnlineServer\DAT\PAGES\" & pagename & ".txt").write(TheGoods)
  438.  
  439.  
  440. "loadincludes":
  441. set TheGoods = string(fullMsg.content)
  442.  
  443. set TheField = word 1 of TheGoods
  444. set TheOne = word 2 of TheGoods
  445. set the itemdelimiter = ")"
  446. set TheOne = item 1 of TheOne
  447. set the itemdelimiter = "("
  448. set TheOne = item 2 of TheOne
  449. set TheData = file("" & SrvPath & "NewWorldsOnlineServer\DAT\PAGES\" & TheOne & ".txt").read
  450. set DatToSend = TheField & " " & TheData
  451. User.sendMessage("pageincludes", DatToSend, 0, FALSE, user.name)
  452.  
  453.  
  454.  
  455.  
  456.  
  457. "ghf2gf2f323f23ff":
  458.  
  459. User.sendMessage("BannedIPList", BannedIPList, 0, FALSE, user.name)
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. "yfu4fyu54yfu54":
  467. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\Gods.txt").read
  468. set MyNamee = "*" & string(user.name) & "*"
  469.  
  470. if FileAdmins contains MyNamee then
  471.  
  472. User.sendMessage("ff884411", FileAdmins, 0, FALSE, user.name)
  473. end if
  474.  
  475.  
  476.  
  477.  
  478. "LoadScript":
  479. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  480. set MyNamee = "*" & string(user.name) & "*"
  481. set MyName = string(user.name)
  482. set ScriptName = string(fullmsg.content)
  483.  
  484. if FileAdmins contains MyNamee then
  485. LoadNPCACtionScript(ScriptName)
  486. end if
  487.  
  488.  
  489. "KillScript":
  490.  
  491. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  492. set MyNamee = "*" & string(user.name) & "*"
  493. set MyName = string(user.name)
  494. set ScriptName = string(fullmsg.content)
  495.  
  496. if FileAdmins contains MyNamee then
  497. KillNPCACtionScript(ScriptName)
  498. end if
  499.  
  500.  
  501.  
  502. "Loadscrip":
  503. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  504. set MyNamee = "*" & string(user.name) & "*"
  505. set MyName = string(user.name)
  506. set SCFile = string(fullmsg.content)
  507.  
  508.  
  509. if FileAdmins contains MyNamee then
  510. set ThisScript = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SCRIPTS\" & SCFile & ".txt").read
  511. if ThisScript = VOID then exit
  512. User.sendMessage("scriptloaded", ThisScript, 0, FALSE, user.name)
  513. end if
  514.  
  515.  
  516.  
  517. "deletescrip":
  518. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  519. set MyNamee = "*" & string(user.name) & "*"
  520. set MyName = string(user.name)
  521. set SCFile = string(fullmsg.content)
  522.  
  523. if FileAdmins contains MyNamee then
  524. set AllScripts = file("" & SrvPath & "NewWorldsOnlineServer\DAT\AllScripts.txt").read
  525. if AllScripts = VOID then set AllScripts = ""
  526.  
  527. repeat with SCL = 1 to 1000
  528. set the itemdelimiter = "^"
  529. if item SCL of AllScripts = SCFile then put "" into item SCL of AllScripts
  530. end repeat
  531.  
  532. set NewSCL = ""
  533.  
  534. repeat with SCL = 1 to 1000
  535. set the itemdelimiter = "^"
  536. if item SCL of AllScripts <> "" then set NewSCL = NewSCL & item SCL of AllScripts & "^"
  537. end repeat
  538.  
  539. file("" & SrvPath & "NewWorldsOnlineServer\DAT\AllScripts.txt").write(NewSCL)
  540. set SCriptList = file("" & SrvPath & "NewWorldsOnlineServer\DAT\AllScripts.txt").read
  541. movie.sendMessage(string(user.name), "ScriptList", SCriptList)
  542. end if
  543.  
  544.  
  545.  
  546. "LoadGroupDAT":
  547. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  548. set MyNamee = "*" & string(user.name) & "*"
  549. set MyName = string(user.name)
  550. set SCFile = string(fullmsg.content)
  551.  
  552. if FileAdmins contains MyNamee then
  553. set GroupFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\GROUPS\" & SCFile & ".txt").read
  554. if GroupFile = VOID then exit
  555. movie.sendMessage(MyName, "TheGroupFile", GroupFile)
  556. put GroupFile
  557. end if
  558.  
  559. "savemapgroup":
  560.  
  561. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  562. set MyNamee = "*" & string(user.name) & "*"
  563. set MyName = string(user.name)
  564. set SCFile = string(fullmsg.content)
  565.  
  566. if FileAdmins contains MyNamee then
  567.  
  568. set the itemdelimiter = ":"
  569. set GroupName = item 1 of SCFile
  570. set GroupDAT = item 2 of SCFile
  571.  
  572. file("" & SrvPath & "NewWorldsOnlineServer\DAT\Groups\" & GroupName & ".txt").write(GroupDAT)
  573.  
  574. end if
  575.  
  576.  
  577.  
  578.  
  579. "savescrip":
  580.  
  581. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  582. set MyNamee = "*" & string(user.name) & "*"
  583. set MyName = string(user.name)
  584. set SCFile = string(fullmsg.content)
  585.  
  586. if FileAdmins contains MyNamee then
  587.  
  588. set the itemdelimiter = ":"
  589. set ScriptName = item 1 of SCFile
  590.  
  591. set AllScripts = file("" & SrvPath & "NewWorldsOnlineServer\DAT\AllScripts.txt").read
  592. if AllScripts = VOID then set AllScripts = ""
  593.  
  594. set AlreadyAScript = FALSE
  595.  
  596. repeat with Scrpts = 1 to 2000
  597. set the itemdelimiter = "^"
  598. if item Scrpts of AllScripts <> "" then
  599. set ThisSC = item Scrpts of AllScripts
  600. if ThisSC = ScriptName then set AlreadyAScript = TRUE
  601. end if
  602. end repeat
  603.  
  604. if AlreadyAScript = FALSE then set AllScripts = AllScripts & ScriptName & "^"
  605. file("" & SrvPath & "NewWorldsOnlineServer\DAT\AllScripts.txt").write(AllScripts)
  606. file("" & SrvPath & "NewWorldsOnlineServer\DAT\Scripts\" & ScriptName & ".txt").write(SCFile)
  607.  
  608. set SCriptList = file("" & SrvPath & "NewWorldsOnlineServer\DAT\AllScripts.txt").read
  609. movie.sendMessage(string(user.name), "ScriptList", SCriptList)
  610. end if
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620. "h4ish1ou":
  621. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  622. set MyNamee = "*" & string(user.name) & "*"
  623.  
  624. if FileAdmins contains MyNamee then
  625.  
  626. User.sendMessage("dmnt4u", FileAdmins, 0, FALSE, user.name)
  627. end if
  628.  
  629.  
  630.  
  631. "i3hsi1gf":
  632.  
  633. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  634. set MyNamee = "*" & string(user.name) & "*"
  635.  
  636. if FileAdmins contains MyNamee then
  637. set ThisToSend = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ServerInfo.txt").read
  638. User.sendMessage("dmnt5u", ThisToSend, 0, FALSE, user.name)
  639. end if
  640.  
  641.  
  642.  
  643.  
  644. "oahsonrbwla":
  645. set TheGoods = string(fullMsg.content)
  646. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\gods.txt").read
  647. set MyNamee = "*" & string(user.name) & "*"
  648.  
  649. if FileAdmins contains MyNamee then
  650. file("" & SrvPath & "NewWorldsOnlineServer\DAT\StartingMap.txt").write(TheGoods)
  651. User.sendMessage("al32hrt", "X", 0, FALSE, user.name)
  652. end if
  653.  
  654.  
  655.  
  656. "osh34ihapn2gi":
  657. set TheGoods = string(fullMsg.content)
  658. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\gods.txt").read
  659. set MyNamee = "*" & string(user.name) & "*"
  660.  
  661. if FileAdmins contains MyNamee then
  662. set PageTriggers = TheGoods
  663. file("" & SrvPath & "NewWorldsOnlineServer\DAT\PageTriggers.txt").write(TheGoods)
  664. User.sendMessage("al32hrt", "X", 0, FALSE, user.name)
  665. end if
  666.  
  667.  
  668.  
  669.  
  670. "foshrowjxhg":
  671.  
  672. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  673. set MyNamee = "*" & string(user.name) & "*"
  674.  
  675. if FileAdmins contains MyNamee then
  676. set ThisToSend = file("" & SrvPath & "NewWorldsOnlineServer\DAT\StartingMap.txt").read
  677. User.sendMessage("smmfpemap", ThisToSend, 0, FALSE, user.name)
  678. end if
  679.  
  680.  
  681. ----Global BigRegCountList, BigUnreggedCountList, LastDateViewed
  682.  
  683.  
  684. "HowManyRegsAndAtWhatTime":
  685. set MyName = string(user.name)
  686.  
  687. set NumRG = 0
  688. set NumOG = 0
  689.  
  690. set the itemdelimiter = "*"
  691.  
  692. repeat with Z = 1 to 5000
  693. if item Z of BigRegCountList <> "" then set NumRG = NumRG + 1
  694. if item Z of BigUnreggedCountList <> "" then set NumOG = NumOG + 1
  695. end repeat
  696.  
  697. set Lnee = "* " & NumRG & " regged users and " & NumOG & " unregged users since: " & LastDateViewed
  698. User.sendMessage("sqa", Lnee, 0, FALSE, user.name)
  699.  
  700. set LastDateViewed = the date & ", " & the time
  701. set BigRegCountList = "*"
  702. set BigUnreggedCountList = "*"
  703.  
  704.  
  705. "vldteMen":
  706. set MyName = string(user.name)
  707. set TheCode = ":XXXX-XXXX-XXXX-XXXX:"
  708.  
  709. SetProp ReggedUsers, Symbol(MyName), TheCode
  710.  
  711. set iSerr = "*" & string(user.name) & "*"
  712. if BigRegCountList contains iSerr then
  713. else
  714. set BigRegCountList = BigRegCountList & string(user.name) & "*"
  715. end if
  716.  
  717.  
  718.  
  719. "opsh4oaojdhap2i":
  720.  
  721. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  722. set MyNamee = "*" & string(user.name) & "*"
  723.  
  724. if FileAdmins contains MyNamee then
  725. set ThisToSend = file("" & SrvPath & "NewWorldsOnlineServer\DAT\PageTriggers.txt").read
  726. User.sendMessage("pagetriggers", ThisToSend, 0, FALSE, user.name)
  727. end if
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734. "LoadQuest4Admin":
  735. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  736. set MyNamee = "*" & string(user.name) & "*"
  737.  
  738.  
  739. set iscestarcst = ":" & string(user.name) & ":"
  740.  
  741.  
  742. if FileAdmins contains MyNamee then
  743. set QName = string(fullmsg.content)
  744. set QFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\QUESTS\" & QName & ".txt").read
  745. User.sendMessage("HereBeTheQuest", QFile, 0, FALSE, user.name)
  746. end if
  747.  
  748.  
  749. "SaveQuest4Admin":
  750. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  751. set MyNamee = "*" & string(user.name) & "*"
  752.  
  753. set iscestarcst = ":" & string(user.name) & ":"
  754.  
  755.  
  756. if FileAdmins contains MyNamee then
  757. set QtName = string(fullmsg.content)
  758. set the itemdelimiter = "@"
  759. set QName = item 1 of QtName
  760. set QDat = item 2 of QtName
  761. file("" & SrvPath & "NewWorldsOnlineServer\DAT\QUESTS\" & QName & ".txt").write(QDat)
  762. end if
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770. "MonDropsSave":
  771. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  772. set MyNamee = "*" & string(user.name) & "*"
  773.  
  774. set iscestarcst = ":" & string(user.name) & ":"
  775.  
  776.  
  777. if FileAdmins contains MyNamee then
  778. set the itemdelimiter = "-"
  779. set WhoName = item 1 of fullmsg.content
  780. set FileDat = item 2 of fullmsg.content
  781. file("" & SrvPath & "NewWorldsOnlineServer\DAT\MOBS\" & string(WhoName) & ".txt").write(FileDat)
  782. end if
  783.  
  784.  
  785.  
  786. "WarpType1":
  787. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  788. set MyNamee = "*" & string(user.name) & "*"
  789. if FileAdmins contains MyNamee then Warp(me, movie, group, user, fullmsg)
  790.  
  791. "GetStartUp":
  792. set MyFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\OnStartUp.txt").read
  793. User.sendMessage("gStartUp", MyFile, 0, FALSE, user.name)
  794.  
  795. "SaveBio":
  796. set HisName = string(user.name)
  797. set HisBio = string(fullmsg.content)
  798.  
  799. repeat with N = 1 to 700
  800. if char N of HisBio = ":" then put "" into char N of HisBio
  801. if char N of HisBio = "|" then put "" into char N of HisBio
  802. if char N of HisBio = "-" then put "" into char N of HisBio
  803. if char N of HisBio = "/" then put "" into char N of HisBio
  804. if char N of HisBio = "\" then put "" into char N of HisBio
  805. if char N of HisBio = "]" then put "" into char N of HisBio
  806. if char N of HisBio = "[" then put "" into char N of HisBio
  807. if char N of HisBio = "~" then put "" into char N of HisBio
  808. if char N of HisBio = "`" then put "" into char N of HisBio
  809. if char N of HisBio = "#" then put "" into char N of HisBio
  810. if char N of HisBio = "$" then put "" into char N of HisBio
  811. if char N of HisBio = "%" then put "" into char N of HisBio
  812. end repeat
  813.  
  814. repeat with N = 1 to 700
  815. if char N of HisBio = ":" then put "" into char N of HisBio
  816. if char N of HisBio = "|" then put "" into char N of HisBio
  817. if char N of HisBio = "-" then put "" into char N of HisBio
  818. if char N of HisBio = "/" then put "" into char N of HisBio
  819. if char N of HisBio = "\" then put "" into char N of HisBio
  820. if char N of HisBio = "]" then put "" into char N of HisBio
  821. if char N of HisBio = "[" then put "" into char N of HisBio
  822. if char N of HisBio = "~" then put "" into char N of HisBio
  823. if char N of HisBio = "`" then put "" into char N of HisBio
  824. if char N of HisBio = "#" then put "" into char N of HisBio
  825. if char N of HisBio = "$" then put "" into char N of HisBio
  826. if char N of HisBio = "%" then put "" into char N of HisBio
  827. end repeat
  828.  
  829. file("" & SrvPath & "NewWorldsOnlineServer\DAT\PROFILES\" & string(HisName) & ".txt").write(HisBio )
  830.  
  831. "ChangePW":
  832. set HisName = string(user.name)
  833. set MyFile = GetProp(PlayerFiles, Symbol(HisName))
  834. if MyFile = VOID then exit
  835. if MyFile = "" then exit
  836. set the itemdelimiter = ":"
  837. put string(fullmsg.content) into item 2 of MyFile
  838. SetProp PlayerFiles, Symbol(HisName), MyFile
  839.  
  840. "GetBio":
  841.  
  842. if fullmsg.content contains "./" then exit
  843. if fullmsg.content contains ".\" then exit
  844.  
  845. set HisName = string(fullmsg.content)
  846. set MyFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\CHAR\" & string(HisName) & ".txt").read
  847. if MyFile = VOID then exit
  848. if MyFile = "" then exit
  849. set the itemdelimiter = ":"
  850. set bDay = file("" & SrvPath & "NewWorldsOnlineServer\DAT\BIRTHDAYS\" & string(HisName) & ".txt").read
  851. put bDay into item 2 of MyFile
  852. set MyFile2 = "X"
  853. set MyFile3 = file("" & SrvPath & "NewWorldsOnlineServer\DAT\PROFILES\" & string(HisName) & ".txt").read
  854. set GuildNfo = file("" & SrvPath & "NewWorldsOnlineServer\DAT\GUILDS\" & string(HisName) & ".txt").read
  855.  
  856. set Absss = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ABILITIES\" & string(HisName) & ".txt").read
  857. set the itemdelimiter = "?"
  858. set Absss = item 1 of Absss
  859.  
  860. set MyOrbz = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ORBS\" & string(HisName) & ".txt").read
  861. if MyOrbz = VOID then set MyOrbz = "::::::::::::"
  862.  
  863. set the itemdelimiter = ":"
  864.  
  865. set GuildList = ""
  866.  
  867. if GuildNfo <> "NONE" then
  868. set GuildList = file("" & SrvPath & "NewWorldsOnlineServer\DAT\GUILDS\G-" & string(GuildNfo) & ".txt").read
  869. set IsSecret = file("" & SrvPath & "NewWorldsOnlineServer\DAT\GUILDS\X-" & string(GuildNfo) & ".txt").read
  870. end if
  871.  
  872. if IsSecret = "Secret" then set GuildNfo = "None"
  873.  
  874. if MyFile3 = VOID then set MyFile3 = ""
  875. set MyFile = MyFile & "|" & MyFile2 & "|" & MyFile3 & "|" & Absss & "|" & GuildNfo & "|" & GuildList
  876.  
  877. set mmVictim = file("" & SrvPath & "NewWorldsOnlineServer\DAT\MURDERS\" & string(HisName) & ".txt").read
  878. if mmVictim = VOID then set mmVictim = "0:0"
  879.  
  880. set MyKwests = file("" & SrvPath & "NewWorldsOnlineServer\DAT\QUESTS\" & string(HisName) & ".txt").read
  881. if MyKwests = VOID then set MyKwests = ""
  882. set ArenaRep = file("" & SrvPath & "NewWorldsOnlineServer\DAT\REP\" & string(HisName) & ".txt").read
  883. if ArenaRep = VOID then set ArenaRep = "0"
  884.  
  885. set PVPArenaRep = file("" & SrvPath & "NewWorldsOnlineServer\DAT\PVP\" & string(HisName) & ".txt").read
  886. if PVPArenaRep = VOID then set ArenaRep = "0"
  887.  
  888.  
  889. if Hirelings[Symbol(HisName)] = VOID then
  890.  
  891. set Myrelings = file("" & SrvPath & "NewWorldsOnlineServer\DAT\HIRELINGS\" & string(HisName) & ".txt").read
  892. set MyFile = MyFile & "%" & mmVictim & "|" & "%" & Myrelings & "%" & MyKwests & "%" & ArenaRep & "%" & PVPArenaRep & "%" & MyOrbz
  893.  
  894. else
  895.  
  896. set MyFile = MyFile & "%" & mmVictim & "|" & "%" & GetProp(Hirelings, Symbol(HisName)) & "%" & MyKwests & "%" & ArenaRep
  897. set MyFile = MyFile & "%" & PVPArenaRep & "%" & MyOrbz
  898.  
  899. end if
  900.  
  901.  
  902. set Monerskillz = file("" & SrvPath & "NewWorldsOnlineServer\DAT\CHAR\" & string(HisName) & "-MonsterKills.txt").read
  903.  
  904. User.sendMessage("uBio1", MyFile, 0, FALSE, user.name)
  905. User.sendMessage("MonsterKills", Monerskillz, 0, FALSE, user.name)
  906.  
  907.  
  908. "Warp":
  909. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  910. set MyNamee = "*" & string(user.name) & "*"
  911.  
  912. if FileAdmins contains MyNamee then
  913. Warp(me, movie, group, user, fullmsg)
  914. end if
  915.  
  916. "StartingMap":
  917. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  918. set MyNamee = "*" & string(user.name) & "*"
  919.  
  920. set iscestarcst = ":" & string(user.name) & ":"
  921.  
  922. if FileAdmins contains MyNamee then
  923. set TheDt = string(fullmsg.content)
  924. set TheMap = word 1 of TheDt
  925. set TheX = word 2 of TheDt
  926. set TheY = word 3 of TheDt
  927. set nFoMap = TheMap & "-x" & TheX & "y" & TheY
  928. file("" & SrvPath & "NewWorldsOnlineServer\DAT\startingmap.txt").write(nFoMap)
  929. end if
  930.  
  931.  
  932. "SaveMap":
  933. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  934. set MyNamee = "*" & string(user.name) & "*"
  935. set the itemdelimiter = "`"
  936. set AMapNum = string(item 1 of fullmsg.content)
  937. set TheMapNum = string(item 1 of fullmsg.content) & ".txt"
  938.  
  939. set iscestarcst = ":" & string(user.name) & ":"
  940.  
  941. if FileAdmins contains MyNamee then
  942. file("" & SrvPath & "NewWorldsOnlineServer\DAT\MAPS\" & TheMapNum).write(string(fullmsg.content))
  943.  
  944. file("C:\BNewWorldsOnlineServer\DAT\zMAPS\" & TheMapNum).write(string(fullmsg.content))
  945. file("B:\zMAPS\" & TheMapNum).write(string(fullmsg.content))
  946.  
  947.  
  948. User.sendMessage("wealt", "Map has been saved", 0, FALSE, user.name)
  949. set the itemdelimiter = "`"
  950. set SafeMap = item 2 of string(fullmsg.content)
  951. CheckSafeMap(SafeMap, AMapNum)
  952.  
  953. set EverySingleMap = file("" & SrvPath & "NewWorldsOnlineServer\DAT\EverySingleMap.txt").read
  954. set oSrchStr = "*" & AMapNum & "*"
  955.  
  956. if EverySingleMap contains oSrchStr then
  957.  
  958. else
  959.  
  960.  
  961. set EverySingleMap = EverySingleMap & oSrchStr & "/"
  962. file("" & SrvPath & "NewWorldsOnlineServer\DAT\EverySingleMap.txt").write(string(EverySingleMap))
  963. AddProp nPlayerMaps, Symbol(AMapNum), ""
  964. end if
  965.  
  966. end if
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981. "SaveMapBlocks":
  982.  
  983. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  984. set MyNamee = "*" & string(user.name) & "*"
  985. set the itemdelimiter = "`"
  986. set AMapNum = string(item 1 of fullmsg.content)
  987. set TheMapNum = string(item 1 of fullmsg.content) & ".txt"
  988. set Contentsf = string(item 2 of fullmsg.content)
  989.  
  990. set iscestarcst = ":" & string(user.name) & ":"
  991.  
  992. if FileAdmins contains MyNamee then
  993. file("C:\BNewWorldsOnlineServer\DAT\zOriginalBlocks\" & TheMapNum).write(string(Contentsf))
  994. file("B:\zOriginalBlocks\" & TheMapNum).write(string(Contentsf))
  995. end if
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001. "SaveMapBlocks2":
  1002.  
  1003. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  1004. set MyNamee = "*" & string(user.name) & "*"
  1005. set the itemdelimiter = "`"
  1006. set AMapNum = string(item 1 of fullmsg.content)
  1007. set TheMapNum = string(item 1 of fullmsg.content) & ".txt"
  1008. set Contentsf = string(item 2 of fullmsg.content)
  1009.  
  1010. set iscestarcst = ":" & string(user.name) & ":"
  1011.  
  1012. if FileAdmins contains MyNamee then
  1013. file("C:\BNewWorldsOnlineServer\DAT\zOriginalBlocks\b" & TheMapNum).write(string(Contentsf))
  1014. file("B:\zOriginalBlocks\b" & TheMapNum).write(string(Contentsf))
  1015. end if
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024. "AdminLoadMap":
  1025. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  1026. set MyNamee = "*" & string(user.name) & "*"
  1027. set iMapNum = string(fullmsg.content)
  1028. set TheMapNum = string(fullmsg.content) & ".txt"
  1029.  
  1030. set iscestarcst = ":" & string(user.name) & ":"
  1031.  
  1032.  
  1033. if FileAdmins contains MyNamee then
  1034. set TheMap = file("" & SrvPath & "NewWorldsOnlineServer\DAT\MAPS\" & TheMapNum).read
  1035. set TheMobs = file("" & SrvPath & "NewWorldsOnlineServer\DAT\MOBS\" & TheMapNum).read
  1036. set TheItems = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ITEMS\" & TheMapNum).read
  1037. set Thievery = file("" & SrvPath & "NewWorldsOnlineServer\DAT\THIEVERY\" & TheMapNum).read
  1038.  
  1039. if Thievery = VOID then set Thievery = "0"
  1040.  
  1041. User.sendMessage("wealt", "Map has been loaded", 0, FALSE, user.name)
  1042.  
  1043. if TheMap = VOID then
  1044. User.sendMessage("wealt", "Map has been loaded", 0, FALSE, user.name)
  1045. exit
  1046. end if
  1047.  
  1048. set TheDat = TheMap & "/" & TheMobs & "/" & TheItems & "/" & Thievery
  1049. User.sendMessage("AdminLoadMap", TheDat, 0, FALSE, user.name)
  1050. end if
  1051.  
  1052.  
  1053.  
  1054. "SaveMobs":
  1055.  
  1056. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  1057. set MyNamee = "*" & string(user.name) & "*"
  1058. set the itemdelimiter = "`"
  1059. set CurMob = string(item 1 of fullmsg.content)
  1060. set TheMapNumX = string(item 1 of fullmsg.content)
  1061. set TheMapNum = string(item 1 of fullmsg.content) & ".txt"
  1062. set MobDooders = string(item 2 of fullmsg.content)
  1063.  
  1064. if FileAdmins contains MyNamee then
  1065.  
  1066. else
  1067.  
  1068. exit
  1069. end if
  1070.  
  1071. set jTheMobs = file("" & SrvPath & "NewWorldsOnlineServer\DAT\MOBMAPS.TXT").read
  1072.  
  1073. set theSrch = "*" & TheMapNumX & "*"
  1074.  
  1075. if jTheMobs contains TheSrch then
  1076. set WeAlreadyHaveThisOne = TRUE
  1077.  
  1078. else
  1079.  
  1080. set WeAlreadyHaveThisOne = FALSE
  1081. set NumberOfMobMaps = NumberOfMobMaps + 1
  1082. set jTheMobs = jTheMobs & theSrch & ":"
  1083. file("" & SrvPath & "NewWorldsOnlineServer\DAT\MOBMAPS.TXT").write(jTheMobs)
  1084. end if
  1085.  
  1086. if MobDooders contains "Scrambler Host" then
  1087. set ScramblerMap = TheMapNumX
  1088. file("" & SrvPath & "NewWorldsOnlineServer\DAT\Scrambler Map.txt").write(ScramblerMap)
  1089. end if
  1090.  
  1091. file("" & SrvPath & "NewWorldsOnlineServer\DAT\MOBS\" & TheMapNum).write(MobDooders)
  1092.  
  1093.  
  1094. set jTheMobs = file("" & SrvPath & "NewWorldsOnlineServer\DAT\MOBMAPS.TXT").read
  1095.  
  1096.  
  1097. if WeAlreadyHaveThisOne = FALSE then
  1098. AddProp MobsMap, Symbol(TheMapNumX), MobDooders
  1099. AddProp SavedMobSet, Symbol(TheMapNumX), MobDooders
  1100. set NumberOfMobMaps = NumberOfMobMaps + 1
  1101. end if
  1102.  
  1103. if WeAlreadyHaveThisOne = TRUE then
  1104. SetProp MobsMap, Symbol(TheMapNumX), MobDooders
  1105. SetProp SavedMobSet, Symbol(TheMapNumX), MobDooders
  1106. end if
  1107.  
  1108. myPMovie.sendMessage("@" & TheMapNumX, "UpdatesMobs", MobDooders)
  1109.  
  1110.  
  1111. "SoulGemCapture":
  1112. SoulGemCapture(me, movie, group, user, fullmsg)
  1113.  
  1114.  
  1115. "iesleatiaonsg":
  1116. stopwatching2(me, movie, group, user, fullmsg)
  1117.  
  1118.  
  1119. "attempteviction":
  1120. set MyName = string(user.name)
  1121. set pToEv = string(fullmsg.content)
  1122.  
  1123. set ProperMap = GetProp(nPlayerPositions, Symbol(MyName))
  1124. set the itemdelimiter = "*"
  1125. set MyMap = item 1 of ProperMap
  1126.  
  1127. set TheLockz = file("" & SrvPath & "NewWorldsOnlineServer\DAT\HOUSES\" & MyMap & "-combination.txt").read
  1128. if TheLockZ = VOID then exit
  1129.  
  1130. set MyConds = GetProp(PlayerConds, Symbol(MyName))
  1131.  
  1132. if MyConds contains TheLockZ then
  1133.  
  1134. myPMovie.sendMessage(pToEv, "iesleatiaonsg", "3fh3")
  1135.  
  1136. else
  1137.  
  1138. end if
  1139.  
  1140.  
  1141.  
  1142. "sveguildcrest":
  1143. set CrestDAT = string(fullmsg.content)
  1144. set MyName = string(user.name)
  1145.  
  1146. set MyGuild = file("" & SrvPath & "NewWorldsOnlineServer\DAT\Guilds\" & MyName & ".txt").read
  1147. if MyGuild = "None" then exit
  1148. if MyGuild = VOID then exit
  1149.  
  1150. set GuildName = MyGuild
  1151. set MyGuild = file("" & SrvPath & "NewWorldsOnlineServer\DAT\Guilds\G-" & GuildName & ".txt").read
  1152.  
  1153. set SrchStr = MyName & ":Lord"
  1154.  
  1155. if MyGuild contains SrchStr then
  1156.  
  1157. else
  1158.  
  1159. myPMovie.sendMessage(MyName, "sqa", "* Only a guild's lord can edit the guild crest!")
  1160. exit
  1161. end if
  1162.  
  1163.  
  1164. myPMovie.sendMessage("@" & GuildName, "sqa", "* " & MyName & " has edited the guild crest!")
  1165.  
  1166. file("" & SrvPath & "NewWorldsOnlineServer\DAT\Guilds\X-" & GuildName & ".txt").write(CrestDAT)
  1167. myPMovie.sendMessage("@" & GuildName, "TheGuildCrest", CrestDAT)
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173. "rzu":
  1174. put rUzrse
  1175.  
  1176.  
  1177. "SaveItems":
  1178.  
  1179. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  1180. set MyNamee = "*" & string(user.name) & "*"
  1181. set the itemdelimiter = "`"
  1182. set CurMob = integer(item 1 of fullmsg.content)
  1183. set TheMapNum = string(item 1 of fullmsg.content) & ".txt"
  1184.  
  1185. set iscestarcst = ":" & string(user.name) & ":"
  1186.  
  1187.  
  1188. if FileAdmins contains MyNamee then
  1189. set TheCurMobs = string(item 2 of fullmsg.content)
  1190. file("" & SrvPath & "NewWorldsOnlineServer\DAT\ITEMS\" & TheMapNum).write(TheCurMobs)
  1191. end if
  1192.  
  1193.  
  1194.  
  1195.  
  1196. "SaveThievery":
  1197.  
  1198. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  1199. set MyNamee = "*" & string(user.name) & "*"
  1200. set the itemdelimiter = "`"
  1201. set CurMob = integer(item 1 of fullmsg.content)
  1202. set TheMapNum = string(item 1 of fullmsg.content) & ".txt"
  1203.  
  1204. set iscestarcst = ":" & string(user.name) & ":"
  1205.  
  1206.  
  1207. if FileAdmins contains MyNamee then
  1208. set TheCurMobs = string(item 2 of fullmsg.content)
  1209. file("" & SrvPath & "NewWorldsOnlineServer\DAT\THIEVERY\" & TheMapNum).write(TheCurMobs)
  1210. end if
  1211.  
  1212.  
  1213.  
  1214.  
  1215. "TypChatMsg":
  1216. set MyName = string(user.name)
  1217. set TheBCast = string(fullmsg.content)
  1218.  
  1219. set BCastDat = "255<" & MyName & " says " & QUOTE & TheBCast & QUOTE
  1220. -- if MyName = "Slim" then set BCastDat = "83<" & MyName & " says " & QUOTE & TheBCast & QUOTE
  1221. -- if MyName = "Special" then set BCastDat = "83<" & MyName & " says " & QUOTE & TheBCast & QUOTE
  1222. -- if MyName = "Starr" then set BCastDat = "83<" & MyName & " says " & QUOTE & TheBCast & QUOTE
  1223. -- if MyName = "Jum" then set BCastDat = "83<" & MyName & " says " & QUOTE & TheBCast & QUOTE
  1224. -- if MyName = "Halo" then set BCastDat = "83<" & MyName & " says " & QUOTE & TheBCast & QUOTE
  1225. -- if MyName = "Cais" then set BCastDat = "83<" & MyName & " says " & QUOTE & TheBCast & QUOTE
  1226.  
  1227. set the itemdelimiter = "*"
  1228. set MyFFile = GetProp(nPlayerPositions, Symbol(MyName))
  1229.  
  1230. set MyTempMap = item 1 of MyFFile
  1231.  
  1232. set MyTempMap = item 1 of MyTempMap
  1233.  
  1234.  
  1235. movie.sendmessage("@" & MyTempMap, "Broadcast", BCastDat)
  1236.  
  1237.  
  1238.  
  1239. "teamchat":
  1240. set MyName = string(user.name)
  1241. set TheText = string(fullmsg.content)
  1242.  
  1243. set Myteam = "X"
  1244.  
  1245. if BlueTeamEnrai contains MyName then
  1246. repeat with J = 1 to 12
  1247. if line J of BlueTeamEnrai = MyName then set Myteam = "BlueTeam"
  1248. end repeat
  1249. end if
  1250.  
  1251. if RedTeamEnrai contains MyName then
  1252. repeat with J = 1 to 12
  1253. if line J of RedTeamEnrai = MyName then set Myteam = "RedTeam"
  1254. end repeat
  1255. end if
  1256.  
  1257.  
  1258. if MyTeam = "X" then exit
  1259.  
  1260. if Myteam = "BlueTeam" then set BCastDat = "5<" & MyName & " tells the team " & QUOTE & TheText & QUOTE
  1261. if Myteam = "RedTeam" then set BCastDat = "9<" & MyName & " tells the team " & QUOTE & TheText & QUOTE
  1262. movie.sendmessage("@" & MyTeam, "Broadcast", BCastDat)
  1263.  
  1264.  
  1265. "Broadcast":
  1266. set TheName = string(user.name)
  1267. set TheBCast = string(fullmsg.content)
  1268. set gSrch = "*" & theName & "*"
  1269.  
  1270. set iiPlayerSkillQueue = ":" & PlayerSkillQueue
  1271.  
  1272. set SrchStrrr = ":" & TheName & "/jail"
  1273.  
  1274. if iiPlayerSkillQueue contains SrchStrrr then exit
  1275.  
  1276. set PtGotIt = "*"
  1277.  
  1278.  
  1279. set iscestarcst = ":" & string(user.name) & ":"
  1280.  
  1281. if rUzrse contains iscestarcst then
  1282.  
  1283. else
  1284.  
  1285.  
  1286. end if
  1287.  
  1288.  
  1289.  
  1290. set AmIRegged = GetProp(ReggedUsers, Symbol(TheName))
  1291.  
  1292. if FreeBCastsOff = "OFF" then
  1293.  
  1294. if AmIRegged = "X" then
  1295. User.sendMessage("sqa", "* You must be registered to use this feature!", 0, FALSE, user.name)
  1296. exit
  1297. end if
  1298. end if
  1299.  
  1300.  
  1301.  
  1302. set jCastDat = TheName & " broadcasts " & QUOTE & TheBCast & QUOTE
  1303.  
  1304. set BCastDat = "255<" & TheName & " broadcasts " & QUOTE & TheBCast & QUOTE
  1305.  
  1306. set MyEnt = GetProp(CharacterEventList, Symbol(THeName))
  1307.  
  1308. if MyEnt contains "*Immortal*" then set BCastDat = "83<" & TheName & " broadcasts " & QUOTE & TheBCast & QUOTE
  1309.  
  1310. set SrchStrrr = "*" & TheName & "*"
  1311.  
  1312. if SavedImmortals contains SrchStrrr then set BCastDat = "33<" & TheName & " broadcasts " & QUOTE & TheBCast & QUOTE
  1313.  
  1314. set the itemdelimiter = ":"
  1315.  
  1316. repeat with XQWW = 1 to 300
  1317. if item XQWW of EveryUserForFile <> "" then
  1318. set ThisGie = item XQWW of rUzrse
  1319. movie.sendmessage(ThisGie, "Broadcast", BCastDat)
  1320. end if
  1321. end repeat
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327. "IncreaseAbs":
  1328. set MyName = string(user.name)
  1329. set TheDat = integer(fullmsg.content)
  1330. if TheDat < 2 then exit
  1331. set MyAbilities = GetProp(PlayerAbs, Symbol(MyName))
  1332. set the itemdelimiter = ":"
  1333.  
  1334. if integer(item 1 of MyAbilities) < 1 then
  1335. User.sendMessage("Abilities", MyAbilities, 0, FALSE, user.name)
  1336. exit
  1337. end if
  1338.  
  1339. set MyPt = integer(item 1 of MyAbilities)
  1340. set MyPt = MyPt - 1
  1341. put MyPt into item 1 of MyAbilities
  1342. set WhichToImp = integer(item TheDat of MyAbilities)
  1343. set WhichToImp = WhichToImp + 1
  1344. put WhichToImp into item TheDat of MyAbilities
  1345. SetProp PlayerFiles, Symbol(MyName), MyAbilities
  1346. User.sendMessage("Abilities", MyAbilities, 0, FALSE, user.name)
  1347.  
  1348. "Tiklepc":
  1349. Tiklepc(me, movie, group, user, fullmsg)
  1350.  
  1351. "Magic":
  1352. UserCastMagic(me, movie, group, user, fullmsg)
  1353.  
  1354. "GuildInvite":
  1355. GuildInvite(me, movie, group, user, fullmsg)
  1356.  
  1357. "GuildDie":
  1358. GuildDie(me, movie, group, user, fullmsg)
  1359.  
  1360. "bscm":
  1361. set ChrName = string(user.name)
  1362. set MyFile = GetProp(PlayerFiles, Symbol(ChrName))
  1363. file("" & SrvPath & "NewWorldsOnlineServer\DAT\CHAR\" & string(ChrName) & ".txt").write(MyFile)
  1364.  
  1365. "SendPM":
  1366. set TheDat = string(fullmsg.content)
  1367. set the itemdelimiter = "~"
  1368. set theU = item 1 of TheDat
  1369. set theM = item 2 of TheDat
  1370. set MyName = string(user.name)
  1371.  
  1372. if CurUserList contains theU then
  1373.  
  1374.  
  1375. set BCastDat = "1<" & "* You tell " & theU & " " & QUOTE & TheM & QUOTE
  1376. myPmovie.sendmessage(MyName, "Broadcast", BCastDat )
  1377.  
  1378.  
  1379. set BCastDat = "133<" & "> " & MyName & " tells you " & QUOTE & TheM & QUOTE
  1380. myPmovie.sendmessage(theU, "Broadcast", BCastDat )
  1381.  
  1382. else
  1383.  
  1384.  
  1385. set mProfchar = file("" & SrvPath & "NewWorldsOnlineServer\DAT\CHAR\" & string(theU) & ".txt").read
  1386.  
  1387. if mProfchar <> VOID then
  1388.  
  1389. if theM contains ":" then
  1390. repeat with J = 1 to 200
  1391. if char J of theM = ":" then put "" into char J of theM
  1392. end repeat
  1393. end if
  1394.  
  1395. if theM contains "~" then
  1396. repeat with J = 1 to 200
  1397. if char J of theM = "@" then put "" into char J of theM
  1398. end repeat
  1399. end if
  1400.  
  1401. myPmovie.sendmessage(MyName, "sqa", "* This player is not logged on!")
  1402.  
  1403. else
  1404.  
  1405. myPmovie.sendmessage(MyName, "sqa", "* This user does not exist!")
  1406. exit
  1407.  
  1408. end if
  1409. end if
  1410.  
  1411.  
  1412.  
  1413. "MGC":
  1414. MGC(me, movie, group, user, fullmsg)
  1415.  
  1416. "eriapr":
  1417. erepair(me, movie, group, user, fullmsg)
  1418.  
  1419. "riapr":
  1420. repair(me, movie, group, user, fullmsg)
  1421.  
  1422. "dPno":
  1423. HouseDoorOpenAttempt(me, movie, group, user, fullmsg)
  1424.  
  1425. "SaveMrMini":
  1426. SaveMrMini(me, movie, group, user, fullmsg)
  1427.  
  1428.  
  1429. "SaveAllMapLines":
  1430. SaveAllMapLines(me, movie, group, user, fullmsg)
  1431.  
  1432. "GuildPromote":
  1433. GuildPromote(me, movie, group, user, fullmsg)
  1434.  
  1435. "GuildDemote":
  1436. GuildDemote(me, movie, group, user, fullmsg)
  1437.  
  1438. "NPCBuy":
  1439. NPCBuy(me, movie, group, user, fullmsg)
  1440.  
  1441. "Si91":
  1442. RunTheSkill2(me, movie, group, user, fullmsg)
  1443.  
  1444. "Sk91":
  1445. RunTheSkill(me, movie, group, user, fullmsg)
  1446.  
  1447. "sktoep":
  1448. RanOverSpikeTrap(me, movie, group, user, fullmsg)
  1449.  
  1450.  
  1451. "RmHLEq":
  1452. set MyName = string(user.name)
  1453.  
  1454. if PlayerBattles[Symbol(MyName)] <> VOID then
  1455. myPMovie.sendMessage(MyName, "sqa", "* You cannot equip while in a battle!")
  1456. exit
  1457. end if
  1458.  
  1459. RemoveHirelingEQ(me, movie, group, user, fullmsg)
  1460.  
  1461.  
  1462.  
  1463.  
  1464. "h349c3r":
  1465. set MyName = string(user.name)
  1466. set theDat = string(fullmsg.content)
  1467. set the itemdelimiter = "/"
  1468. set theMap = item 1 of TheDat
  1469. set WhoIHit = item 2 of TheDat
  1470. set WhereWasIH = item 3 of TheDat
  1471. set WhereWasIV = item 4 of TheDat
  1472. RunPVPScript(MyName, WhoIHit, TheMap, WhereWasIH, WhereWasIV)
  1473.  
  1474.  
  1475.  
  1476. "banSomeone":
  1477. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  1478. set MyNamee = "*" & string(user.name) & "*"
  1479. set TheGoods = string(fullmsg.content)
  1480. set the itemdelimiter = ":"
  1481. set WhotoBan = item 1 of TheGoods
  1482. set HowLong = item 2 of TheGoods
  1483.  
  1484. set iscestarcst = ":" & string(user.name) & ":"
  1485.  
  1486. if FileAdmins contains MyNamee then
  1487. set the itemdelimiter = "/"
  1488.  
  1489. repeat with N = 1 to 400
  1490. if item N of BannedAccounts = "" then
  1491. set TheLN = WhoToBan & ":" & HowLong
  1492. put theLN into item N of BannedAccounts
  1493. file("" & SrvPath & "NewWorldsOnlineServer\DAT\BannedAccounts.txt").write(BannedAccounts)
  1494. file("" & SrvPath & "NewWorldsOnlineServer\DAT\CHARSTATES\" & WhoToBan & ".txt").write("Banned")
  1495. User.sendMessage("sqa", "* " & WhotoBan & " has been banned for " & HowLong & " days (FSO2 time).", 0, FALSE, user.name)
  1496.  
  1497. set HisEmailAddress = file("" & SrvPath & "NewWorldsOnlineServer\DAT\EmailAddresses\" & WhotoBan & ".txt").read
  1498. set TheDat = HisEmailAddress & ":" & WhotoBan & ":" & HowLong
  1499. myPMovie.sendMessage("Admin", "banned", TheDat)
  1500.  
  1501. exit
  1502. end if
  1503. end repeat
  1504. end if
  1505.  
  1506.  
  1507.  
  1508.  
  1509. "FreeBCastsOff":
  1510. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  1511. set MyNamee = "*" & string(user.name) & "*"
  1512. set TheGoods = string(fullmsg.content)
  1513.  
  1514. set iscestarcst = ":" & string(user.name) & ":"
  1515.  
  1516. if FileAdmins contains MyNamee then
  1517. set FreeBCastsOff = "OFF"
  1518. end if
  1519.  
  1520.  
  1521. "FreeBCastsOn":
  1522. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  1523. set MyNamee = "*" & string(user.name) & "*"
  1524. set TheGoods = string(fullmsg.content)
  1525.  
  1526. set iscestarcst = ":" & string(user.name) & ":"
  1527.  
  1528. if FileAdmins contains MyNamee then
  1529. set FreeBCastsOff = "ON"
  1530. end if
  1531.  
  1532.  
  1533.  
  1534. "iplookups":
  1535. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  1536. set MyNamee = "*" & string(user.name) & "*"
  1537. set TheGoods = string(fullmsg.content)
  1538.  
  1539. set iscestarcst = ":" & string(user.name) & ":"
  1540.  
  1541. if FileAdmins contains MyNamee then
  1542. set DToGet = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ACCOUNTS\" & TheGoods & ".txt").read
  1543. User.sendMessage("lastip", DToGet, 0, FALSE, user.name)
  1544. end if
  1545.  
  1546.  
  1547.  
  1548.  
  1549. "AdminDrop":
  1550. set FileAdmins = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt").read
  1551. set MyNamee = "*" & string(user.name) & "*"
  1552.  
  1553.  
  1554. set iscestarcst = ":" & string(user.name) & ":"
  1555.  
  1556.  
  1557. if FileAdmins contains MyNamee then
  1558. AdminDrop(me, movie, group, user, fullmsg)
  1559. end if
  1560.  
  1561.  
  1562.  
  1563. "CTFGLDStClick":
  1564. set TheFL= file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\ctfguildhighscore.txt").read
  1565. if TheFL = VOID then set TheFL = ""
  1566. set TheFL = "The Greatest CTF Players:" & TheFL
  1567. User.sendMessage("ShowAScoreBox3", TheFL, 0, FALSE, user.name)
  1568.  
  1569. "CTFStClick":
  1570. set TheFL= file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\ctfhighscore.txt").read
  1571. if TheFL = VOID then set TheFL = ""
  1572. set TheFL = "The Greatest CTF Players:" & TheFL
  1573. User.sendMessage("ShowAScoreBox2", TheFL, 0, FALSE, user.name)
  1574.  
  1575.  
  1576. "AsnsStClick":
  1577. set TheFL= file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\assassinhighscore.txt").read
  1578. if TheFL = VOID then set TheFL = ""
  1579. set TheFL = "The Greatest Assassins:" & TheFL
  1580. User.sendMessage("ShowAScoreBox2", TheFL, 0, FALSE, user.name)
  1581.  
  1582. "WarStClick":
  1583. set TheFL= file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\highscore.txt").read
  1584. if TheFL = VOID then set TheFL = "|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||"
  1585. set TheFL = "Top 100 Player vs Player Ratings:" & TheFL
  1586. User.sendMessage("ShowAScoreBox2", TheFL, 0, FALSE, user.name)
  1587.  
  1588. "WarStClick2":
  1589. set TheFL= file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\highscore2.txt").read
  1590. if TheFL = VOID then set TheFL = "|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||"
  1591. set TheFL = "Top 100 Guild Player vs Player Ratings:" & TheFL
  1592. User.sendMessage("ShowAScoreBox2", TheFL, 0, FALSE, user.name)
  1593.  
  1594.  
  1595. "TChampClick":
  1596. set TheFL= file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\tournaments.txt").read
  1597. if TheFL = VOID then set TheFL = "|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||"
  1598. set TheFL = "Top 100 Guild Player vs Player Ratings:" & TheFL
  1599. User.sendMessage("ShowAScoreBox0", TheFL, 0, FALSE, user.name)
  1600.  
  1601.  
  1602.  
  1603.  
  1604. "cSp4239":
  1605. CastPlayerSpell(me, movie, group, user, fullmsg)
  1606.  
  1607. "f3i1fh66h43":
  1608. GiveOwnerShipTo(me, movie, group, user, fullmsg)
  1609.  
  1610. "MCSPL":
  1611. CastSpellMon(me, movie, group, user, fullmsg)
  1612.  
  1613. "xhaust":
  1614. xhaust(me, movie, group, user, fullmsg)
  1615.  
  1616. "DeedQuery":
  1617. DeedQuery(me, movie, group, user, fullmsg)
  1618.  
  1619. "vDrop":
  1620. Vault1Add(me, movie, group, user, fullmsg)
  1621.  
  1622. "GBankAdd":
  1623. GBankAdd(me, movie, group, user, fullmsg)
  1624.  
  1625. "Start CTF":
  1626. StartCTF(me, movie, group, user, fullmsg)
  1627.  
  1628.  
  1629. "bgnbtle":
  1630. JoinBattle(me, movie, group, user, fullmsg)
  1631.  
  1632. "wtchahbatil":
  1633. LetsWatchABattle(me, movie, group, user, fullmsg)
  1634.  
  1635.  
  1636. "questmsgsent":
  1637. set MyName = string(user.name)
  1638. set ProperMap = GetProp(nPlayerPositions, Symbol(MyName))
  1639. set the itemdelimiter = "*"
  1640. set MyMap = item 1 of ProperMap
  1641. CheckForQuestVrb (MyName, MyMap)
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647. "GBankRem":
  1648. GBankRem(me, movie, group, user, fullmsg)
  1649.  
  1650. "CheckTeams":
  1651. CheckTeams(me, movie, group, user, fullmsg)
  1652.  
  1653. "UnEqSpell":
  1654. UnEquipSpellStone(me, movie, group, user, fullmsg)
  1655.  
  1656.  
  1657. "rwpnme":
  1658. rwpnme(me, movie, group, user, fullmsg)
  1659.  
  1660. "h49ah":
  1661. BuyHouse(me, movie, group, user, fullmsg)
  1662.  
  1663. "MapContainsMobs":
  1664. MapContainsMobs(me, movie, group, user, fullmsg)
  1665.  
  1666. "x389":
  1667. IDrowned(me, movie, group, user, fullmsg)
  1668.  
  1669. "BankAdd":
  1670. BankAdd(me, movie, group, user, fullmsg)
  1671.  
  1672. "BankRem":
  1673. BankRem(me, movie, group, user, fullmsg)
  1674.  
  1675. "MSMBS":
  1676. MoveSomeMobs(me, movie, group, user, fullmsg)
  1677.  
  1678. "rfctoej3":
  1679. PlacedRedFlag(me, movie, group, user, fullmsg)
  1680.  
  1681. "vv5533":
  1682. set MyName = string(user.name)
  1683. setprop CanBeMurderered, Symbol(MyName), "TRUE"
  1684.  
  1685. "bfctoej3":
  1686. PlacedBlueFlag(me, movie, group, user, fullmsg)
  1687.  
  1688. "guildacceptance":
  1689. set hisname = string(fullmsg.content)
  1690. set MyName = string(user.name)
  1691. SetProp GuildAcpts, Symbol(MyName), hisname
  1692.  
  1693. "Jail":
  1694. Jail(me, movie, group, user, fullmsg)
  1695.  
  1696. "MakeGuild":
  1697. set oMyName = string(user.name)
  1698. set AmIRegged = GetProp(ReggedUsers, Symbol(oMyName))
  1699.  
  1700. if AmIRegged = "X" then
  1701. User.sendMessage("sqa", "* You must be registered to use this feature!", 0, FALSE, user.name)
  1702. exit
  1703. end if
  1704.  
  1705. MakeGuild(me, movie, group, user, fullmsg)
  1706.  
  1707. "NPCSell":
  1708. NPCSell(me, movie, group, user, fullmsg)
  1709.  
  1710. "Guildleave":
  1711. Guildleave(me, movie, group, user, fullmsg)
  1712.  
  1713. "GuildDisband":
  1714. GuildDisband(me, movie, group, user, fullmsg)
  1715.  
  1716. "ViewVault":
  1717. ViewVault(me, movie, group, user, fullmsg)
  1718.  
  1719.  
  1720. "LookieMap":
  1721. LookieMap(me, movie, group, user, fullmsg)
  1722.  
  1723. "vpiu":
  1724. vpiu(me, movie, group, user, fullmsg)
  1725.  
  1726. "GuildKick":
  1727. GuildKick(me, movie, group, user, fullmsg)
  1728.  
  1729. "GuildBank:Deposit":
  1730. GuildBankDeposit(me, movie, group, user, fullmsg)
  1731.  
  1732. "GuildBank:Withdraw":
  1733. GuildBankWithdraw(me, movie, group, user, fullmsg)
  1734.  
  1735. "GuildBank:Balance":
  1736. GuildBankBalance(me, movie, group, user, fullmsg)
  1737.  
  1738.  
  1739. "GiveON":
  1740. set MyName = string(user.name)
  1741. SetProp Trades, Symbol(MyName), "ON"
  1742.  
  1743. "GiveOFF":
  1744. set MyName = string(user.name)
  1745. SetProp Trades, Symbol(MyName), "OFF"
  1746.  
  1747.  
  1748. "eqspl":
  1749. EquipASpellStone(me, movie, group, user, fullmsg)
  1750.  
  1751.  
  1752. "imacowardyesitstrue":
  1753. RunAwayPussy(me, movie, group, user, fullmsg)
  1754.  
  1755. "stopwatching":
  1756. stopwatching(me, movie, group, user, fullmsg)
  1757.  
  1758.  
  1759. "x225y334-5-1":
  1760. HitByMob(me, movie, group, user, fullmsg)
  1761.  
  1762. "chkers":
  1763. JoinCheckersGame(me, movie, group, user, fullmsg)
  1764.  
  1765. "InfoItem2":
  1766. InfoItem2(me, movie, group, user, fullmsg)
  1767.  
  1768. "InfoItem":
  1769. InfoItem(me, movie, group, user, fullmsg)
  1770.  
  1771. "iDrop":
  1772. iDrop(me, movie, group, user, fullmsg)
  1773.  
  1774. "iExch":
  1775. iExch(me, movie, group, user, fullmsg)
  1776.  
  1777. "DKey":
  1778. DKey(me, movie, group, user, fullmsg)
  1779.  
  1780. "ssHLL":
  1781. ---- HealNPC(me, movie, group, user, fullmsg)
  1782.  
  1783. "Bank:Balance":
  1784. set MyName = string(user.name)
  1785. set TheDat = string(fullmsg.content)
  1786. set the itemdelimiter = ":"
  1787. set Map = item 1 of TheDat
  1788. set TheNPCFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\MOBS\" & string(Map) & ".txt").read
  1789.  
  1790.  
  1791. if TheNPCFile contains "Banker" then
  1792.  
  1793. set MyBFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\BANK\" & MyName & ".txt").read
  1794. set the itemdelimiter = ":"
  1795. set CurG = integer(item 1 of MyBFile)
  1796.  
  1797. set TheGewds = item 1 of MyBFile & " Silver, "
  1798. set TheGewds = TheGewds & item 2 of MyBFile & " Gold, "
  1799. set TheGewds = TheGewds & item 3 of MyBFile & " Rubies, "
  1800. set TheGewds = TheGewds & item 4 of MyBFile & " Emeralds, "
  1801. set TheGewds = TheGewds & item 5 of MyBFile & " Diamonds, and "
  1802. set TheGewds = TheGewds & item 6 of MyBFile & " Gems"
  1803.  
  1804. User.sendMessage("sqa", "The Banker says " & QUOTE & "You have " & TheGewds & " in the bank." & QUOTE, 0, FALSE, user.name)
  1805.  
  1806. else
  1807.  
  1808. User.sendMessage("sqa", "* There is no banker here!", 0, FALSE, user.name)
  1809. end if
  1810.  
  1811.  
  1812.  
  1813. "chshtinehas":
  1814. set MyName = string(user.name)
  1815. set MyDT = string(fullmsg.content)
  1816.  
  1817. set the itemdelimiter = ":"
  1818. set TheCodee = item 1 of MyDT
  1819. set WhatIwants = item 2 of MyDT
  1820. if WhatIWants contains RETURN then exit
  1821. if WhatIWants = "" then exit
  1822. if TheCodee = "" then exit
  1823. if TheCodee = "X" then exit
  1824. if char 4 of TheCodee = "" then exit
  1825. set CashedInCodes = file("" & SrvPath & "NewWorldsOnlineServer\CashedInCodes.txt").read
  1826. if CashedInCodes = VOID then set CashedInCodes = ":"
  1827. if CashedInCodes = "" then set CashedInCodes = ":"
  1828.  
  1829.  
  1830. set SrchStr = ":" & TheCodee & ":"
  1831.  
  1832. if LegalCodes contains SrchStr then
  1833.  
  1834. else
  1835.  
  1836. User.sendMessage("alert", "This code is invalid!", 0, FALSE, user.name)
  1837. exit
  1838. end if
  1839.  
  1840. if CashedInCodes contains SrchStr then
  1841. User.sendMessage("alert", "This code has already been cashed in!", 0, FALSE, user.name)
  1842. exit
  1843. end if
  1844.  
  1845.  
  1846. set MyFile = GetProp(PlayerFiles, Symbol(MyName))
  1847. set MyConds = GetProp(PlayerConds, Symbol(MyName))
  1848. set the itemdelimiter= "|"
  1849.  
  1850. set MyInv = item 2 of Myfile
  1851. set MyFile = item 1 of myFile
  1852.  
  1853. set the itemdelimiter = ":"
  1854.  
  1855. repeat with N = 1 to 32
  1856. if item N of MyInv = "" then exit repeat
  1857. end repeat
  1858.  
  1859. if N > 30 then
  1860. User.sendMessage("alert", "Your inventory is too full, you can cash in your code later!", 0, FALSE, user.name)
  1861. exit
  1862. end if
  1863.  
  1864.  
  1865. set wItem = ""
  1866.  
  1867. if WhatIWants contains "Ring of Rejuvenation" then set wItem = "Ring of Rejuvenation"
  1868. if WhatIWants contains "Mage's Ring" then set wItem = "Mage's Ring"
  1869. if WhatIWants contains "Ring of Protection" then set wItem = "Ring of Protection"
  1870. if WhatIWants contains "Ring of Precision" then set wItem = "Ring of Precision"
  1871. if WhatIWants contains "Ring of Quickness" then set wItem = "Ring of Quickness"
  1872. if WhatIWants contains "Ring of Darkness" then set wItem = "Ring of Darkness"
  1873. if WhatIWants contains "Gold Pendant" then set wItem = "Gold Pendant"
  1874. if WhatIWants contains "Blue Pendant" then set wItem = "Blue Pendant"
  1875. if WhatIWants contains "Fire Pendant" then set wItem = "Fire Pendant"
  1876. if WhatIWants contains "Orange Pendant" then set wItem = "Orange Pendant"
  1877. if WhatIWants contains "Avatar Murder Helm" then set wItem = "Avatar Murder Helm"
  1878. if WhatIWants contains "Avatar Black Gauntlets" then set wItem = "Avatar Black Gauntlets"
  1879. if WhatIWants contains "Avatar Sun Helm" then set wItem = "Avatar Sun Helm"
  1880. if WhatIwants contains "1000" then set wItem = "Gold"
  1881.  
  1882.  
  1883.  
  1884.  
  1885. if wItem = "" then exit
  1886.  
  1887. set TheLne = "150|0|1"
  1888. set the itemdelimiter = ":"
  1889.  
  1890. if wItem = "Gold" then
  1891. set WhatIwants = "Gold"
  1892. set TheLne = "150|0|10000"
  1893.  
  1894. repeat with E = 1 to 30
  1895. if item E of MyInv contains "Gold" then
  1896. set TheLne = item E of MyConds
  1897. set the itemdelimiter = "|"
  1898. set cGolds = integer(item 3 of TheLne)
  1899. set cGolds = cGolds + 10000
  1900. put cGolds into item 3 of TheLne
  1901. set N = E
  1902. exit repeat
  1903. end if
  1904. end repeat
  1905. end if
  1906.  
  1907. set the itemdelimiter = ":"
  1908.  
  1909. put wItem into item N of MyInv
  1910. put TheLne into item N of MyConds
  1911.  
  1912.  
  1913. if WhatIwants contains "2 random" then
  1914.  
  1915. repeat with N = 1 to 32
  1916. if item N of MyInv = "" then exit repeat
  1917. end repeat
  1918.  
  1919. if N > 30 then
  1920. User.sendMessage("alert", "Your inventory is too full, you can cash in your code later!", 0, FALSE, user.name)
  1921. exit
  1922. end if
  1923.  
  1924. set Its2 = random(3)
  1925. if Its2 = 1 then set wItem = "Strength Pill"
  1926. if Its2 = 2 then set wItem = "Aim Pill"
  1927. if Its2 = 3 then set wItem = "Intelligence Pill"
  1928.  
  1929. set TheLne = "150|0|1"
  1930. set the itemdelimiter = ":"
  1931. put wItem into item N of MyInv
  1932. put TheLne into item N of MyConds
  1933. end if
  1934.  
  1935. set CashedInCodes = CashedInCodes & TheCodee & ":"
  1936. file("" & SrvPath & "NewWorldsOnlineServer\CashedInCodes.txt").write(CashedInCodes)
  1937.  
  1938. set MyCharFile = MyFile & "|" & MyInv
  1939. SetProp PlayerFiles, Symbol(MyName), MyCharFile
  1940. SetProp PlayerConds, Symbol(MyName), MyConds
  1941. myPMovie.sendMessage(MyName, "HereAmInvX", MyInv)
  1942. myPMovie.sendMessage(MyName, "HereAmCond", MyConds)
  1943.  
  1944.  
  1945.  
  1946.  
  1947. "Bank:Deposit":
  1948. set MyName = string(user.name)
  1949. set TheDat = string(fullmsg.content)
  1950. set the itemdelimiter = ":"
  1951. set Map = item 1 of TheDat
  1952. set Amount = integer(item 2 of TheDat)
  1953. if Amount < 1 then exit
  1954. if Amount > 99999 then exit
  1955. set Currency = item 3 of TheDat
  1956.  
  1957. if Currency contains "Silver" then set Currency = "Silver"
  1958. if Currency contains "Gol" then set Currency = "Gold"
  1959. if Currency contains "Rubie" then set Currency = "Rubies"
  1960. if Currency contains "Ruby" then set Currency = "Rubies"
  1961. if Currency contains "Emerald" then set Currency = "Emeralds"
  1962. if Currency contains "Diamond" then set Currency = "Diamonds"
  1963. if Currency contains "Gem" then set Currency = "Gems"
  1964.  
  1965.  
  1966. set TheNPCFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\MOBS\" & string(Map) & ".txt").read
  1967.  
  1968. if TheNPCFile contains "Banker" then
  1969. set MyCharFile = GetProp(PlayerFiles, Symbol(MyName))
  1970. set ConditionsFile = GetProp(PlayerConds, Symbol(MyName))
  1971. set the itemdelimiter = "|"
  1972. set MyInv = item 2 of MyCharFile
  1973. set MyCharFile = item 1 of MyCharFile
  1974.  
  1975. set the itemdelimiter = ":"
  1976.  
  1977. repeat with x = 1 to 33
  1978. if item x of MyInv = Currency then exit repeat
  1979. end repeat
  1980.  
  1981. if x > 30 then
  1982. User.sendMessage("sqa", "* You have no " & Currency & " to deposit!", 0, FALSE, user.name)
  1983. exit
  1984. end if
  1985.  
  1986. set WhichCond = item x of ConditionsFile
  1987. set the itemdelimiter = "|"
  1988. set HowManygot = integer(item 3 of WhichCond)
  1989.  
  1990. if HowManyGot < Amount then
  1991. User.sendMessage("sqa", "* You don't have enough " & Currency & " to deposit!", 0, FALSE, user.name)
  1992. exit
  1993. end if
  1994.  
  1995. set HowManyGot = HowManygot - Amount
  1996. put HowManyGot into item 3 of WhichCond
  1997. set the itemdelimiter = ":"
  1998. put WhichCond into item x of ConditionsFile
  1999. if HowManyGot < 1 then put "" into item x of ConditionsFile
  2000. if HowManygot < 1 then put "" into item x of MyInv
  2001.  
  2002. set MyCharFile = MyCharFile & "|" & MyInv
  2003. SetProp PlayerFiles, Symbol(MyName), MyCharFile
  2004. SetProp PlayerConds, Symbol(MyName), COnditionsFile
  2005. User.sendMessage("HereAmInv", MyInv, 0, FALSE, user.name)
  2006. User.sendMessage("HereAmCond", ConditionsFile, 0, FALSE, user.name)
  2007. User.sendMessage("sqa", "The Banker says " & QUOTE & "Thanks for your deposit." & QUOTE, 0, FALSE, user.name)
  2008.  
  2009. set MyBFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\BANK\" & MyName & ".txt").read
  2010. set the itemdelimiter = ":"
  2011.  
  2012. if Currency contains "Silver" then set WhichSlot = 1
  2013. if Currency contains "Gol" then set WhichSlot = 2
  2014. if Currency contains "Rubie" then set WhichSlot = 3
  2015. if Currency contains "Ruby" then set WhichSlot = 3
  2016. if Currency contains "Emerald" then set WhichSlot = 4
  2017. if Currency contains "Diamond" then set WhichSlot = 5
  2018. if Currency contains "Gem" then set WhichSlot = 6
  2019.  
  2020.  
  2021. set CurG = integer(item WhichSlot of MyBFile)
  2022. set CurG = CurG + Amount
  2023. put CurG into item WhichSlot of MyBFile
  2024. file("" & SrvPath & "NewWorldsOnlineServer\DAT\BANK\" & MyName & ".txt").write(MyBFile)
  2025.  
  2026. else
  2027.  
  2028. User.sendMessage("sqa", "* There is no banker here!", 0, FALSE, user.name)
  2029. end if
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036. "Bank:Withdraw":
  2037. set MyName = string(user.name)
  2038. set TheDat = string(fullmsg.content)
  2039. set the itemdelimiter = ":"
  2040. set Map = item 1 of TheDat
  2041. set Amount = integer(item 2 of TheDat)
  2042. if Amount < 1 then exit
  2043. if Amount > 99999 then exit
  2044. set Currency = item 3 of TheDat
  2045.  
  2046. if Currency contains "Silver" then set Currency = "Silver"
  2047. if Currency contains "Gol" then set Currency = "Gold"
  2048. if Currency contains "Rubie" then set Currency = "Rubies"
  2049. if Currency contains "Ruby" then set Currency = "Rubies"
  2050. if Currency contains "Emerald" then set Currency = "Emeralds"
  2051. if Currency contains "Diamond" then set Currency = "Diamonds"
  2052. if Currency contains "Gem" then set Currency = "Gems"
  2053.  
  2054.  
  2055. set TheNPCFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\MOBS\" & string(Map) & ".txt").read
  2056.  
  2057. if TheNPCFile contains "Banker" then
  2058. set MyCharFile = GetProp(PlayerFiles, Symbol(MyName))
  2059. set ConditionsFile = GetProp(PlayerConds, Symbol(MyName))
  2060. set the itemdelimiter = "|"
  2061. set MyInv = item 2 of MyCharFile
  2062. set MyCharFile = item 1 of MyCharFile
  2063.  
  2064. set the itemdelimiter = ":"
  2065.  
  2066. repeat with x = 1 to 33
  2067. if item x of MyInv = Currency then exit repeat
  2068. end repeat
  2069.  
  2070. set j = "X"
  2071.  
  2072. if x > 30 then
  2073. repeat with j = 1 to 34
  2074. if item j of MyInv = "" then exit repeat
  2075. end repeat
  2076.  
  2077. if j > 30 then
  2078. User.sendMessage("sqa", "* You don't have any room to carry this!", 0, FALSE, user.name)
  2079. exit
  2080. end if
  2081.  
  2082. set x = j
  2083. end if
  2084.  
  2085. set MyBFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\BANK\" & MyName & ".txt").read
  2086. set the itemdelimiter = ":"
  2087.  
  2088. if Currency contains "Silver" then set WhichSlot = 1
  2089. if Currency contains "Gol" then set WhichSlot = 2
  2090. if Currency contains "Rubie" then set WhichSlot = 3
  2091. if Currency contains "Ruby" then set WhichSlot = 3
  2092. if Currency contains "Emerald" then set WhichSlot = 4
  2093. if Currency contains "Diamond" then set WhichSlot = 5
  2094. if Currency contains "Gem" then set WhichSlot = 6
  2095.  
  2096. set CurG = integer(item WhichSlot of MyBFile)
  2097.  
  2098. set WhichCond = item x of ConditionsFile
  2099. if j <> "X" then set WhichCond = "50|0|0"
  2100. set the itemdelimiter = "|"
  2101. set HowManygot = integer(item 3 of WhichCond)
  2102.  
  2103. if CurG < Amount then
  2104. User.sendMessage("sqa", "* You don't have that much in your account!", 0, FALSE, user.name)
  2105. exit
  2106. end if
  2107.  
  2108. set HowManyGot = HowManygot + Amount
  2109. put HowManyGot into item 3 of WhichCond
  2110. set the itemdelimiter = ":"
  2111. put WhichCond into item x of ConditionsFile
  2112. put Currency into item x of MyInv
  2113.  
  2114. set MyCharFile = MyCharFile & "|" & MyInv
  2115. SetProp PlayerFiles, Symbol(MyName), MyCharFile
  2116. SetProp PlayerConds, Symbol(MyName), COnditionsFile
  2117. User.sendMessage("HereAmInv", MyInv, 0, FALSE, user.name)
  2118. User.sendMessage("HereAmCond", ConditionsFile, 0, FALSE, user.name)
  2119. User.sendMessage("sqa", "The Banker says " & QUOTE & "Thanks for your withdrawl." & QUOTE, 0, FALSE, user.name)
  2120.  
  2121. set CurG = CurG - Amount
  2122. put CurG into item WhichSlot of MyBFile
  2123. file("" & SrvPath & "NewWorldsOnlineServer\DAT\BANK\" & MyName & ".txt").write(MyBFile)
  2124.  
  2125. else
  2126.  
  2127. User.sendMessage("sqa", "* There is no banker here!", 0, FALSE, user.name)
  2128. end if
  2129.  
  2130.  
  2131. ----------------------------------------------------------------------------------------------------------------------------------- end bank
  2132. ---- Gold
  2133.  
  2134.  
  2135. "iGuildList":
  2136. set HisName = string(fullmsg.content)
  2137. set MyGuildName = file("" & SrvPath & "NewWorldsOnlineServer\DAT\GUILDS\" & HisName & ".txt").read
  2138. if MyGuildName = VOID then exit
  2139. if MyGuildName = "" then exit
  2140. if MyGuildName = "NONE" then exit
  2141. set TheGuildDat = file("" & SrvPath & "NewWorldsOnlineServer\DAT\GUILDS\G-" & MyGuildName & ".txt").read
  2142. set TheGuildDatX = file("" & SrvPath & "NewWorldsOnlineServer\DAT\GUILDS\X-" & MyGuildName & ".txt").read
  2143. if TheGuildDatX = VOID then set TheGuildDatX = ""
  2144.  
  2145. set GuildPVP = file("" & SrvPath & "NewWorldsOnlineServer\DAT\PVP\G-" & MyGuildName & ".txt").read
  2146.  
  2147. User.sendMessage("AGuildList", MyGuildName & "*" & TheGuildDat & "*" & TheGuildDatX & "*" & GuildPVP , 0, FALSE, user.name)
  2148.  
  2149.  
  2150.  
  2151.  
  2152. "tourneyadder":
  2153.  
  2154.  
  2155. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt"
  2156. set IMMMs = file(FilName).read
  2157. set CheckName = "*" & string(user.name) & "*"
  2158.  
  2159. if IMMMs contains CheckName then
  2160. set tDat = string(fullmsg.content)
  2161. set the itemdelimiter = "+"
  2162. set Wz = item 1 of tDat
  2163. set Wr = item 2 of tDat
  2164. if char 1 of Wr = " " then put "" into char 1 of Wr
  2165.  
  2166.  
  2167. set cTurz = file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\tournaments.txt").read
  2168. set TLine = Wz & "-" & wr & "--" & the date
  2169. set cTurz = TLine & "|" & CTurz
  2170.  
  2171. file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\tournaments.txt").write(cTurz)
  2172. User.sendMessage("sqa", "* Tournament added" & QUOTE, 0, FALSE, user.name)
  2173. end if
  2174.  
  2175.  
  2176. "SaveExit":
  2177. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt"
  2178. set IMMMs = file(FilName).read
  2179. set CheckName = "*" & string(user.name) & "*"
  2180.  
  2181.  
  2182. set iscestarcst = ":" & string(user.name) & ":"
  2183.  
  2184.  
  2185. if IMMMs contains CheckName then
  2186. set TheDat = string(fullmsg.content)
  2187. set The itemdelimiter = "`"
  2188. set MapName = item 1 of Thedat
  2189. set MapDat = item 2 of Thedat
  2190. file("" & SrvPath & "NewWorldsOnlineServer\DAT\EXITS\" & MapName).write(MapDat)
  2191. set the itemdelimiter = ":"
  2192. if item 5 of MapDat = "ON" then set nThe = "VACANT"
  2193. if item 5 of MapDat = "OFF" then set nThe = "X"
  2194. file("" & SrvPath & "NewWorldsOnlineServer\DAT\HOUSES\" & MapName).write(nThe)
  2195. end if
  2196.  
  2197.  
  2198. "SaveNPC":
  2199. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt"
  2200. set IMMMs = file(FilName).read
  2201. set CheckName = "*" & string(user.name) & "*"
  2202.  
  2203. if IMMMs contains CheckName then
  2204. set TheDat = string(fullmsg.content)
  2205. set The itemdelimiter = "`"
  2206. set MapName = item 1 of Thedat
  2207. set MapDat = item 2 of Thedat
  2208. file("" & SrvPath & "NewWorldsOnlineServer\DAT\NPCs\" & MapName).write(MapDat)
  2209. end if
  2210.  
  2211.  
  2212. "SaveSign":
  2213. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt"
  2214. set IMMMs = file(FilName).read
  2215. set CheckName = "*" & string(user.name) & "*"
  2216.  
  2217. if IMMMs contains CheckName then
  2218. set TheDat = string(fullmsg.content)
  2219. set The itemdelimiter = "`"
  2220. set MapName = item 1 of Thedat
  2221. set MapDat = item 2 of Thedat
  2222. file("" & SrvPath & "NewWorldsOnlineServer\DAT\ITEMS\" & MapName).write(MapDat)
  2223. end if
  2224.  
  2225. "sHtMej":
  2226. ASpellBashedMe(me, movie, group, user, fullmsg)
  2227.  
  2228. "ShowExit":
  2229. set TheDat = string(fullmsg.content)
  2230. set the itemdelimiter = "`"
  2231. set TheMap = item 1 of TheDat
  2232. set TheSprite = item 2 of TheDat
  2233. set WhichExit = TheMap & "-" & TheSprite & ".txt"
  2234. set TheFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\EXITS\" & WhichExit).read
  2235. if TheFile = VOID then set TheFile = ":::::::::::::::::"
  2236. User.sendMessage("YourExit", TheFile, 0, FALSE, user.name)
  2237.  
  2238. "ShowNPC":
  2239. set TheDat = string(fullmsg.content)
  2240. set the itemdelimiter = "`"
  2241. set TheMap = item 1 of TheDat
  2242. set TheSprite = item 2 of TheDat
  2243. set WhichExit = TheMap & "-" & TheSprite & ".txt"
  2244. set TheFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\NPCs\" & WhichExit).read
  2245. if TheFile = VOID then set TheFile = "1:500:500"
  2246. User.sendMessage("YourNPC", TheFile, 0, FALSE, user.name)
  2247.  
  2248. "ShowShopNPC":
  2249. set TheDat = string(fullmsg.content)
  2250. set the itemdelimiter = "`"
  2251. set TheMap = item 1 of TheDat
  2252. set TheSprite = item 2 of TheDat
  2253. set WhichExit = TheMap & "-" & TheSprite & ".txt"
  2254. set TheFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\NPCs\" & WhichExit).read
  2255. if TheFile = VOID then set TheFile = "1:500:500"
  2256. User.sendMessage("YourShopNPC", TheFile, 0, FALSE, user.name)
  2257.  
  2258. "ShowSignDat":
  2259. set TheDat = string(fullmsg.content)
  2260. set the itemdelimiter = "`"
  2261. set TheMap = item 1 of TheDat
  2262. set TheSprite = item 2 of TheDat
  2263. set WhichExit = TheMap & "-" & TheSprite & ".txt"
  2264. set TheFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ITEMS\" & WhichExit).read
  2265. if TheFile = VOID then set TheFile = "???"
  2266. User.sendMessage("YourSignDat", TheFile, 0, FALSE, user.name)
  2267.  
  2268.  
  2269. "KickTheDOOD":
  2270. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt"
  2271. set IMMMs = file(FilName).read
  2272. set CheckName = "*" & string(user.name) & "*"
  2273. set WarpUser = string(fullmsg.content)
  2274.  
  2275. if IMMMs contains CheckName then
  2276. movie.sendMessage(WarpUser, "234882347782347823482347", "x")
  2277. end if
  2278.  
  2279. set CheckName = "+" & string(user.name) & "+"
  2280.  
  2281. if IMMMs contains CheckName then
  2282. movie.sendMessage(WarpUser, "234882347782347823482347", "x")
  2283. end if
  2284.  
  2285. "BanPlayer":
  2286. set UserToBan = string(fullmsg.content)
  2287.  
  2288. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt"
  2289. set Immortals = file(FilName).read
  2290.  
  2291. set Immname = "*" & user.name & "*"
  2292.  
  2293. if Immortals contains Immname then
  2294. set MyFile = GetProp(PlayerFiles, Symbol(UserToBan))
  2295. set MyFile = "BANNED!!!!!!!!!!!" & MyFile
  2296. SetProp PlayerFiles, Symbol(UserToBan), MyFile
  2297. movie.sendMessage(UserToBan, "5697838", "x")
  2298. end if
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304. "ServerSideSMessage":
  2305.  
  2306. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\immortals.txt"
  2307. set Immortals = file(FilName).read
  2308.  
  2309. set Immname = "*" & user.name & "*"
  2310.  
  2311. if Immortals contains Immname then
  2312. set TheMsg = string(fullmsg.content)
  2313.  
  2314. if word 1 of TheMsg = "/boot" then
  2315. --- set WhoToBoot = word 2 of TheMsg
  2316.  
  2317. --- set oCurrentBattleQueue = "Ded^" & WhoToBoot & "$"
  2318. --- myPMovie.sendMessage(WhoToBoot , "BattleQueue", oCurrentBattleQueue)
  2319.  
  2320. --- myPMovie.sendMessage(WhoToBoot, "playframe", "56")
  2321. --- RSPWNiXXX(WhoToBoot)
  2322. end if
  2323. end if
  2324.  
  2325.  
  2326.  
  2327.  
  2328.  
  2329.  
  2330.  
  2331. "ShowScriptList":
  2332. set SCriptList = file("" & SrvPath & "NewWorldsOnlineServer\DAT\AllScripts.txt").read
  2333. movie.sendMessage(string(user.name), "ScriptList", SCriptList)
  2334.  
  2335. "AddToQueue":
  2336. Global MoveQMaps, MoveQDAT, TotalMapsCounted
  2337.  
  2338. set DtToAdd = string(fullmsg.content)
  2339. set the itemdelimiter = "*"
  2340. set WhichMap = item 1 of DtToAdd
  2341. set RestOfDat = item 2 of DtToAdd
  2342.  
  2343. set SrchStr = "*" & WhichMap & "*"
  2344.  
  2345. if MoveQMaps contains SrchStr then
  2346.  
  2347. set CurMapQueue = GetProp(MoveQDAT, Symbol(WhichMap))
  2348.  
  2349. else
  2350.  
  2351. set TotalMapsCounted = TotalMapsCounted + 1
  2352. AddProp MoveQDAT, Symbol(WhichMap), ""
  2353. set MoveQMaps = MoveQMaps & WhichMap & "*"
  2354. set CurMapQueue = ""
  2355.  
  2356. end if
  2357.  
  2358. set CurMapQueue = CurMapQueue & RestOfDat & "/"
  2359. SetProp MoveQDAT, Symbol(WhichMap), CurMapQueue
  2360.  
  2361. -- put MoveQMaps
  2362. -- put MoveQDAT
  2363. -- put "_____________"
  2364.  
  2365. ----------------- * * *
  2366.  
  2367. "UpdateJnNMpGo1321":
  2368.  
  2369. set Dtt = string(fullmsg.content)
  2370. set MyName = string(user.name)
  2371. file("" & SrvPath & "NewWorldsOnlineServer\DAT\Temp Save Maps\" & MyName & ".txt").write(Dtt)
  2372.  
  2373.  
  2374.  
  2375.  
  2376. "UpdateJnNMpGo132":
  2377. set Dtt = string(fullmsg.content)
  2378.  
  2379. set MyName = string(user.name)
  2380.  
  2381. if PlayerBattles[Symbol(MyName)] <> VOID then exit
  2382.  
  2383. set Dtt = Dtt & ":" & MyName
  2384.  
  2385. if Dtt contains "*" then
  2386.  
  2387. else
  2388. exit
  2389. end if
  2390.  
  2391. set MurderState = GetProp(Murderers, Symbol(MyName))
  2392. set Dtt = Dtt & "::::" & MurderState
  2393. SetProp nPlayerPositions, Symbol(MyName), Dtt
  2394.  
  2395.  
  2396. "JnNMpGo132": -- map sorting
  2397. set Dtt = string(fullmsg.content)
  2398. set MyName = string(user.name)
  2399.  
  2400. set the itemdelimiter = "*"
  2401. set mapNum = item 1 of Dtt
  2402. set Dtt = Dtt & ":" & MyName
  2403. set TheMapUsers = GetProp(nPlayerMaps, Symbol(mapNum))
  2404. set MyOldMapDAT = GetProp(nPlayerPositions, Symbol(MyName))
  2405.  
  2406. if MyOldMapDAT <> "X" then
  2407. set PreviousMap = item 1 of MyOldMapDAT
  2408. set MyPreviousMapUsers = GetProp(nPlayerMaps, Symbol(PreviousMap))
  2409.  
  2410. repeat with Q = 1 to 20
  2411. if item Q of MyPreviousMapUsers = MyName then
  2412. put "" into item Q of MyPreviousMapUsers
  2413.  
  2414. set NewMapDoods = ""
  2415.  
  2416. repeat with R = 1 to 20
  2417. if item R of MyPreviousMapUsers <> "" then set NewMapDoods = NewMapDoods & item R of MyPreviousMapUsers & "*"
  2418. end repeat
  2419.  
  2420. SetProp nPlayerMaps, Symbol(PreviousMap), NewMapDoods
  2421. end if
  2422. end repeat
  2423.  
  2424. end if
  2425.  
  2426.  
  2427. SetProp nPlayerPositions, Symbol(MyName), Dtt
  2428.  
  2429.  
  2430. set the itemdelimiter = "*"
  2431. if TheMapUsers contains MyName then
  2432. repeat with Q = 1 to 20
  2433. if item Q of TheMapUsers = MyName then
  2434. exit
  2435. end if
  2436. end repeat
  2437. end if
  2438.  
  2439. set TheMapUsers = TheMapUsers & MyName & "*"
  2440.  
  2441. SetProp nPlayerMaps, Symbol(mapNum), TheMapUsers
  2442.  
  2443.  
  2444.  
  2445. "savearenabattle":
  2446. SaveArenaDATS(me, movie, group, user, fullmsg)
  2447.  
  2448.  
  2449. "Recrtuitl":
  2450. RecruitHireling(me, movie, group, user, fullmsg)
  2451.  
  2452.  
  2453. "<M>Write":
  2454. OverworldMapWrite(me, movie, group, user, fullmsg)
  2455.  
  2456. "<M>FInd":
  2457. OverworldMapFind(me, movie, group, user, fullmsg)
  2458.  
  2459. "sHtMbi":
  2460. UserSpellHitAMob(me, movie, group, user, fullmsg)
  2461.  
  2462. "xHt":
  2463. xHt(me, movie, group, user, fullmsg)
  2464.  
  2465. "SPHt":
  2466. SPHt(me, movie, group, user, fullmsg)
  2467.  
  2468. "SMonHit":
  2469. SMonHit(me, movie, group, user, fullmsg)
  2470.  
  2471. "PlayerTrade":
  2472. PlayerTrade(me, movie, group, user, fullmsg)
  2473. "MonHit":
  2474. MonHit(me, movie, group, user, fullmsg)
  2475.  
  2476. "pShop":
  2477. pShop(me, movie, group, user, fullmsg)
  2478.  
  2479. "NPCTrade":
  2480. NPCTrade(me, movie, group, user, fullmsg)
  2481.  
  2482. "bxeit":
  2483. BoatEntrance(me, movie, group, user, fullmsg)
  2484.  
  2485.  
  2486. "NPCClicked":
  2487. NPCClicked(me, movie, group, user, fullmsg)
  2488.  
  2489. "ctbtcap":
  2490. CaptainBoat(me, movie, group, user, fullmsg)
  2491.  
  2492. "ResortHisInv":
  2493. ResortHisInv(me, movie, group, user, fullmsg)
  2494.  
  2495. "Aru3j1":
  2496. AuraTake(me, movie, group, user, fullmsg)
  2497.  
  2498. "FSugi":
  2499. ForumPost(me, movie, group, user, fullmsg)
  2500.  
  2501. "FClicked":
  2502. FClicked(me, movie, group, user, fullmsg)
  2503.  
  2504. "UpdateAllBlocks":
  2505. set BlockMap = string(fullmsg.content)
  2506. UpdateAllBlocks(BlockMap)
  2507.  
  2508.  
  2509. "HrlDismiss":
  2510. HirelingDismiss(me, movie, group, user, fullmsg)
  2511.  
  2512.  
  2513.  
  2514. "SignClicked":
  2515. if fullmsg.content contains "./" then exit
  2516. if fullmsg.content contains ".\" then exit
  2517. SignClicked(me, movie, group, user, fullmsg)
  2518.  
  2519. "itswptn3h1":
  2520. SwapInvItemsOut(me, movie, group, user, fullmsg)
  2521.  
  2522. "Wear":
  2523. Wear(me, movie, group, user, fullmsg)
  2524.  
  2525. "jsticarrVote":
  2526. JusticarVote(me, movie, group, user, fullmsg)
  2527.  
  2528. "JusticarStatue":
  2529. myPmovie.sendmessage(string(user.name), "jstcorj", Justicar)
  2530.  
  2531. "greetings":
  2532. -- put "ok!"
  2533. myPmovie.sendmessage("Slim", "greetings", "greetings")
  2534.  
  2535.  
  2536. "HrlSwap":
  2537. HirelingSwap(me, movie, group, user, fullmsg)
  2538.  
  2539.  
  2540.  
  2541. "vldtem3amp":
  2542. VAlidateMapUsersQuickly(me, movie, group, user, fullmsg)
  2543.  
  2544. "UseItem":
  2545. UseItem(me, movie, group, user, fullmsg)
  2546.  
  2547. "VaultGrab":
  2548. VaultGrab(me, movie, group, user, fullmsg)
  2549.  
  2550. "remove":
  2551. remove(me, movie, group, user, fullmsg)
  2552.  
  2553. "CkOTleTSpt":
  2554. WeAreTryingToSeeABattleHireling(me, movie, group, user, fullmsg)
  2555.  
  2556. "PlayerBuy":
  2557. PlayerBuy(me, movie, group, user, fullmsg)
  2558.  
  2559. "EQinH1":
  2560. set WhichHireling = 1
  2561. HirelingEquip(me, movie, group, user, fullmsg, WhichHireling)
  2562.  
  2563. "EQinH2":
  2564. set WhichHireling = 2
  2565. HirelingEquip(me, movie, group, user, fullmsg, WhichHireling)
  2566.  
  2567. "EQinH3":
  2568. set WhichHireling = 3
  2569. HirelingEquip(me, movie, group, user, fullmsg, WhichHireling)
  2570.  
  2571. "EQinH4":
  2572. set WhichHireling = 4
  2573. HirelingEquip(me, movie, group, user, fullmsg, WhichHireling)
  2574.  
  2575. "EQinH5":
  2576. set WhichHireling = 5
  2577. HirelingEquip(me, movie, group, user, fullmsg, WhichHireling)
  2578.  
  2579.  
  2580. "PlayerSell":
  2581. PlayerSell(me, movie, group, user, fullmsg)
  2582.  
  2583. "HitMob":
  2584. HitMob(me, movie, group, user, fullmsg)
  2585.  
  2586. "kooc":
  2587. CookIt(me, movie, group, user, fullmsg)
  2588.  
  2589. "drop":
  2590. drop(me, movie, group, user, fullmsg)
  2591.  
  2592. "o5h3o4gai-uigfff":
  2593. ResetFedupMobMap(me, movie, group, user, fullmsg)
  2594.  
  2595. "MHt":
  2596. MHt(me, movie, group, user, fullmsg)
  2597.  
  2598. "PHt":
  2599. PHt(me, movie, group, user, fullmsg)
  2600.  
  2601. "KHt":
  2602. KHt(me, movie, group, user, fullmsg)
  2603.  
  2604. "DLMap":
  2605. DLMap(me, movie, group, user, fullmsg)
  2606.  
  2607. "exit":
  2608. Xexit(me, movie, group, user, fullmsg)
  2609.  
  2610. "RSPWNi":
  2611. set MyName = string(user.name)
  2612. set MyCharDat = GetProp(PlayerFiles, Symbol(MyName))
  2613. set the itemdelimiter = "|"
  2614. set MyCharInv = item 2 of MycharDat
  2615. set MyCharDat = item 1 of MyCharDat
  2616.  
  2617. set the itemdelimiter = ":"
  2618. set MyHearts = item 5 of MyCharDat
  2619. set the itemdelimiter = "/"
  2620. set CurHearts = integer(item 1 of MyHearts)
  2621.  
  2622. if CurHearts > 7 then exit
  2623.  
  2624. RSPWNi(me, movie, group, user, fullmsg)
  2625.  
  2626.  
  2627.  
  2628. "ViewHackers":
  2629. set MyName = string(user.name)
  2630. set CaughtHackers = string(file("" & SrvPath & "NewWorldsOnlineServer\DAT\CaughtHackers.txt").read)
  2631. if CaughtHackers = VOID then set CaughtHackers = ""
  2632. User.sendMessage("sqa", CaughtHackers, 0, FALSE, user.name)
  2633.  
  2634.  
  2635. "hi3434hii334qp1":
  2636. set MyName = string(user.name)
  2637. set CaughtHackers = string(file("" & SrvPath & "NewWorldsOnlineServer\DAT\CaughtHackers.txt").read)
  2638. if CaughtHackers = VOID then set CaughtHackers = ""
  2639.  
  2640. set SrchStr = " " & MyName & ","
  2641. if CaughtHackers contains SrchStr then exit
  2642.  
  2643. set CaughtHackers = CaughtHackers & MyName & ", "
  2644. file("" & SrvPath & "NewWorldsOnlineServer\DAT\CaughtHackers.txt").write(CaughtHackers)
  2645.  
  2646. if UseProStuff = TRUE then
  2647. set Ttxj = "* " & MyName & " was just caught hacking"
  2648. myPmovie.sendMessage("@elt99", "sqa", Ttxj)
  2649. end if
  2650.  
  2651.  
  2652. "SavesmobBattleN":
  2653. SavesmobBattleN(me, movie, group, user, fullmsg)
  2654.  
  2655. "ShowzmobBattleN":
  2656. ShowzmobBattleN(me, movie, group, user, fullmsg)
  2657.  
  2658.  
  2659. "PlayerBuy":
  2660. PlayerBuy(me, movie, group, user, fullmsg)
  2661.  
  2662. "PlayerSell":
  2663. PlayerSell(me, movie, group, user, fullmsg)
  2664.  
  2665. "leevebutdontdck":
  2666. BackToBoat(me, movie, group, user, fullmsg)
  2667.  
  2668. "ckMveq":
  2669. CheckersMove(me, movie, group, user, fullmsg)
  2670.  
  2671. "btdcko":
  2672. DockBoat(me, movie, group, user, fullmsg)
  2673.  
  2674. "pardonsomeone":
  2675. PardonMe(me, movie, group, user, fullmsg)
  2676.  
  2677. "IWannaTailorThis":
  2678. IWannaTailorThis(me, movie, group, user, fullmsg)
  2679.  
  2680. "IWannaForgeThis":
  2681. IWannaForgeThis(me, movie, group, user, fullmsg)
  2682.  
  2683. "IWannaCarpenterThis":
  2684. IWannaCarpenterThis(me, movie, group, user, fullmsg)
  2685.  
  2686. "BldBt":
  2687. BuildBoat(me, movie, group, user, fullmsg)
  2688.  
  2689. "SideExit2":
  2690. SideExit2(me, movie, group, user, fullmsg)
  2691.  
  2692.  
  2693. "Ginny":
  2694. set MyName = string(user.name)
  2695. set BadName = TRUE
  2696. if MyName = "Slim" then set BadName = FALSE
  2697. if MyName = "Special" then set BadName = FALSE
  2698. if MyName = "Starr" then set BadName = FALSE
  2699. if MyName = "Halo" then set BadName = FALSE
  2700. if MyName = "Jum" then set BadName = FALSE
  2701. if MyName = "Cais" then set BadName = FALSE
  2702. if BadName = TRUE then exit
  2703. ReGenerateNPCStuff
  2704.  
  2705.  
  2706. "btclkr3":
  2707. BattleClick(me, movie, group, user, fullmsg)
  2708.  
  2709.  
  2710. "j33o1h4gf":
  2711. SideExit(me, movie, group, user, fullmsg)
  2712.  
  2713. "ShowMob2":
  2714. ShowMob2(me, movie, group, user, fullmsg)
  2715.  
  2716. "MobBuy":
  2717. MobBuy(me, movie, group, user, fullmsg)
  2718.  
  2719. "QuestGive":
  2720. QuestGive(me, movie, group, user, fullmsg)
  2721.  
  2722. "scrgz":
  2723. ScramblerGuess(me, movie, group, user, fullmsg)
  2724.  
  2725. "MobSell":
  2726. MobSell(me, movie, group, user, fullmsg)
  2727.  
  2728. "MobSellb":
  2729. MobSellb(me, movie, group, user, fullmsg)
  2730.  
  2731. "imaquitter":
  2732. QuitGame(me, movie, group, user, fullmsg)
  2733.  
  2734. "WhatCanITailor":
  2735. WhatCanITailor(me, movie, group, user, fullmsg)
  2736.  
  2737.  
  2738.  
  2739.  
  2740. "SaveMapPcx":
  2741. SaveMapPcx(me, movie, group, user, fullmsg)
  2742.  
  2743.  
  2744.  
  2745.  
  2746.  
  2747. "WhatCanIMix":
  2748. WhatCanIMix(me, movie, group, user, fullmsg)
  2749.  
  2750. "WhatCanICarpenter":
  2751. WhatCanICarpenter(me, movie, group, user, fullmsg)
  2752.  
  2753. "ShowBuyList":
  2754. ShowBuyList(me, movie, group, user, fullmsg)
  2755.  
  2756. "ShowSellList":
  2757. ShowSellList(me, movie, group, user, fullmsg)
  2758.  
  2759. "ShowMob":
  2760. ShowMob(me, movie, group, user, fullmsg)
  2761.  
  2762. "WriteMob":
  2763. WriteMob(me, movie, group, user, fullmsg)
  2764.  
  2765. "Sccr":
  2766. set scre = integer(fullmsg.content)
  2767. set MyName = user.name
  2768. CheckHighScore(MyName, scre)
  2769.  
  2770. "ShowScores":
  2771. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\highscore.txt"
  2772. set HighScoreList = file(FilName).read
  2773. User.sendMessage("scrlst", HighScoreList, 0, FALSE, user.name)
  2774.  
  2775.  
  2776. --------------------------------------------------
  2777.  
  2778. "SortIP":
  2779. MyIPP = fullmsg.content
  2780. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\bans.txt"
  2781. set MyFile = file(FilName).read
  2782. if MyFile contains MyIPP then User.sendMessage("927417351", "x", 0, FALSE, user.name)
  2783.  
  2784. "AddBan":
  2785. set IPtoBan = string(fullmsg.content)
  2786. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\bans.txt"
  2787. set BannedIPs = file(FilName).read
  2788. set BannedIPs = BannedIPs & "*" & IPtoBan & "*"
  2789. file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\bans.txt").write(BannedIPs)
  2790.  
  2791. "RemoveBan":
  2792. set IPtoRemove = string(fullmsg.content)
  2793. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\bans.txt"
  2794. set BannedIPs = file(FilName).read
  2795. set the itemdelimiter = "*"
  2796. repeat with x = 1 to 500
  2797. if item x of BannedIPs = IPtoRemove then put "" into item x of BannedIPs
  2798. end repeat
  2799. file("" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\bans.txt").write(BannedIPs)
  2800.  
  2801.  
  2802.  
  2803.  
  2804. ----------------- EMAIL EMAIL EMAIL
  2805.  
  2806. "GiveMeMyMail":
  2807. set MyName = string(user.name)
  2808.  
  2809. set AllMyMail = file("" & SrvPath & "NewWorldsOnlineServer\DAT\Email\" & string(MyName) & ".txt").read
  2810.  
  2811. if AllMyMail = VOID then set AllMyMail = ""
  2812.  
  2813. set MailToGiveYou = ""
  2814.  
  2815. repeat with WEQ = 1 to 50
  2816. set the itemdelimiter = "`"
  2817. if item WEQ of AllMyMail <> "" then
  2818. set ThisCMail = item WEQ of AllMyMail
  2819. set the itemdelimiter = "~"
  2820. set MailStructure = item 1 of ThisCMail & "~" & item 2 of ThisCMail & "~" & item 3 of ThisCMail
  2821. set MailToGiveYou = MailToGiveYou & MailStructure & "`"
  2822. end if
  2823. end repeat
  2824.  
  2825. myPmovie.sendmessage(MyName, "YourMail", MailToGiveYou)
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831. "SendMail":
  2832. set zMailDat = string(fullmsg.content)
  2833. set the itemdelimiter = "~"
  2834. set From = string(user.name)
  2835.  
  2836.  
  2837.  
  2838. set AmIRegged = GetProp(ReggedUsers, Symbol(From))
  2839.  
  2840. if AmIRegged = "X" then
  2841. User.sendMessage("sqa", "* You must be registered to use this feature!", 0, FALSE, user.name)
  2842. exit
  2843. end if
  2844.  
  2845.  
  2846.  
  2847.  
  2848. set ToWho = item 1 of zMailDat
  2849. set WhichMail = "sup"
  2850. SendUserMail(From, ToWho, zMailDat)
  2851.  
  2852.  
  2853. "ReadEmail":
  2854. set EmailNum = integer(fullmsg.content)
  2855. set MyName = string(user.name)
  2856.  
  2857. set AllMyMail = file("" & SrvPath & "NewWorldsOnlineServer\DAT\Email\" & string(MyName) & ".txt").read
  2858. if AllMyMail = VOID then set AllMyMail = ""
  2859. set the itemdelimiter = "`"
  2860. set ThisEmail = item EmailNum of AllMyMail
  2861. myPmovie.sendmessage(MyName, "ThisEmail", ThisEmail)
  2862.  
  2863.  
  2864.  
  2865. "DeleteEmail":
  2866. set EmailNum = integer(fullmsg.content)
  2867. set MyName = string(user.name)
  2868.  
  2869. set AllMyMail = file("" & SrvPath & "NewWorldsOnlineServer\DAT\Email\" & string(MyName) & ".txt").read
  2870. if AllMyMail = VOID then set AllMyMail = ""
  2871.  
  2872. set the itemdelimiter = "`"
  2873.  
  2874. put "" into item EmailNum of AllMyMail
  2875.  
  2876. set cMail = ""
  2877.  
  2878. repeat with W = 1 to 50
  2879. if item W of AllMyMail <> "" then set cMail = cMail & item W of AllMyMail & "`"
  2880. end repeat
  2881.  
  2882. set AllMyMail = cMail
  2883.  
  2884. file("" & SrvPath & "NewWorldsOnlineServer\DAT\Email\" & string(MyName) & ".txt").write(AllMyMail)
  2885.  
  2886.  
  2887. repeat with WEQ = 1 to 50
  2888. set the itemdelimiter = "`"
  2889. if item WEQ of AllMyMail <> "" then
  2890. set ThisCMail = item WEQ of AllMyMail
  2891. set the itemdelimiter = "~"
  2892. set MailStructure = item 1 of ThisCMail & "~" & item 2 of ThisCMail & "~" & item 3 of ThisCMail
  2893. set MailToGiveYou = MailToGiveYou & MailStructure & "`"
  2894. end if
  2895. end repeat
  2896.  
  2897. myPmovie.sendmessage(MyName, "YourMail", MailToGiveYou)
  2898.  
  2899. if AllMyMail = VOID or AllMyMail = "" then
  2900. set MyFile = "" & SrvPath & "NewWorldsOnlineServer\DAT\Email\" & string(MyName) & ".txt"
  2901. file(MyFile).delete()
  2902. end if
  2903.  
  2904.  
  2905.  
  2906.  
  2907. "GShowBalance":
  2908. set FiletoGet = string(user.name)
  2909. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\GUILDS\" & FiletoGet & ".txt"
  2910. set GuildName = file(FilName).read
  2911.  
  2912. if GuildName = "NONE" then
  2913. User.sendMessage("sqa", "This chest is for guild members only.", 0, FALSE, user.name)
  2914. exit
  2915. end if
  2916.  
  2917. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\GUILDS\G-" & GuildName & ".txt"
  2918. set GuildBnk = file(FilName).read
  2919. set the itemdelimiter = "-"
  2920. set Bankk = item 3 of GuildBnk
  2921.  
  2922. User.sendMessage("BalanceReturned", Bankk, 0, FALSE, user.name)
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928. "AddFriend":
  2929. set WhoToAdd = string(fullmsg.content)
  2930.  
  2931. if WhoToAdd = "" then exit
  2932. if WhotoAdd = " " then exit
  2933. if WhoToAdd contains "?" then exit
  2934.  
  2935. set MyName = string(user.name)
  2936.  
  2937. if WhoToAdd = MyName then exit
  2938.  
  2939. set MyFriendsIN = GetProp(FriendsIN, Symbol(MyName))
  2940.  
  2941. set the itemdelimiter = "*"
  2942.  
  2943. if MyFriendsIN contains WhoToAdd then
  2944. repeat with J = 1 to 100
  2945. if item J of MyFriendsIN = WhoToAdd then
  2946. myPmovie.sendmessage(MyName, "sqa", "* " & WhotoAdd & " is already on your friend's list!")
  2947. exit
  2948. end if
  2949. end repeat
  2950. end if
  2951.  
  2952. set MyFriendsIN = MyFriendsIN & WhoToAdd & "*"
  2953. SetProp FriendsIN, Symbol(MyName), MyFriendsIN
  2954.  
  2955. set SrchStr = "*" & WhoToAdd & "*"
  2956.  
  2957. if AllowedUsersToConverse contains SrchStr then
  2958.  
  2959. set HisFriendsOut = GetProp(FriendsOUT, Symbol(WhoToAdd))
  2960. set HisFriendsOut = HisFriendsOut & MyName & "*"
  2961. SetProp FriendsOUT, Symbol(WhoToAdd), HisFriendsOut
  2962.  
  2963. myPmovie.sendmessage(MyName, "ImOnline", WhoToAdd)
  2964.  
  2965. else
  2966.  
  2967. set HismFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\CHAR\" & string(WhoToAdd) & ".txt").read
  2968.  
  2969. if HismFile = VOID then
  2970. myPmovie.sendmessage(MyName, "sqa", "* Invalid user!")
  2971. exit -- he doesn't exist, can't add him!
  2972. end if
  2973.  
  2974. set HisFriendsOut = file("" & SrvPath & "NewWorldsOnlineServer\DAT\Friends\" & string(WhoToAdd) & "-out.txt").read
  2975. set HisFriendsOut = HisFriendsOut & MyName & "*"
  2976. file("" & SrvPath & "NewWorldsOnlineServer\DAT\Friends\" & string(WhoToAdd) & "-out.txt").write(HisFriendsOut)
  2977.  
  2978. myPmovie.sendmessage(MyName, "sqa", "* Added " & WhoToAdd & " to your friends list!")
  2979.  
  2980. end if
  2981.  
  2982.  
  2983.  
  2984.  
  2985.  
  2986.  
  2987. "RemoveFriend":
  2988. set WhoToAdd = string(fullmsg.content)
  2989.  
  2990. if WhoToAdd = "" then exit
  2991. if WhotoAdd = " " then exit
  2992.  
  2993. set MyName = string(user.name)
  2994.  
  2995. set MyFriendsIN = GetProp(FriendsIN, Symbol(MyName))
  2996.  
  2997. set the itemdelimiter = "*"
  2998.  
  2999. set HeWasAFriend = FALSE
  3000.  
  3001. repeat with J = 1 to 100
  3002. if item J of MyFriendsIN = WhoToAdd then
  3003. set HeWasAFriend = TRUE
  3004. put "" into item J of MyFriendsIN
  3005. end if
  3006. end repeat
  3007.  
  3008. set NewF = ""
  3009.  
  3010. repeat with J = 1 to 100
  3011. if item J of MyFriendsIN <> "" then set NewF = NewF & item J of MyFriendsIN & "*"
  3012. end repeat
  3013.  
  3014. set MyFriendsIN = NewF
  3015. SetProp FriendsIN, Symbol(MyName), MyFriendsIN
  3016.  
  3017. if HeWasAFriend = TRUE then myPmovie.sendmessage(MyName, "sqa", "* Removed " & WhoToAdd & " from your friends list!")
  3018. if HeWasAFriend = FALSE then myPmovie.sendmessage(MyName, "sqa", "* " & WhoToAdd & " isn't on your friend's list!")
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029. "ShowBalance":
  3030. set FiletoGet = string(user.name)
  3031. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\BANK\" & FiletoGet & ".txt"
  3032. set Bankk = file(FilName).read
  3033. User.sendMessage("BalanceReturned", Bankk, 0, FALSE, user.name)
  3034.  
  3035. "LoadNews":
  3036. set FilName = "" & SrvPath & "NewWorldsOnlineServer\DAT\SETTINGS\News.txt"
  3037. set MyFile = file(FilName).read
  3038. if myFile = "" then exit
  3039. User.sendMessage("News", MyFile, 0, FALSE, user.name)
  3040.  
  3041. "ItTake":
  3042.  
  3043.  
  3044. set TheDat = string(fullmsg.content)
  3045. set MyName = string(user.name)
  3046. set the itemdelimiter = ":"
  3047. set TheMapName = string(item 1 of TheDat)
  3048.  
  3049.  
  3050. set TheItem = item 2 of TheDat
  3051.  
  3052.  
  3053. set WhichSprt = integer(item 3 of TheDat)
  3054.  
  3055.  
  3056. set gItemDat = file("B:\HirelingDat\" & string(TheItem) & ".txt").read
  3057.  
  3058.  
  3059. if gItemDat = VOID then exit
  3060.  
  3061.  
  3062.  
  3063. set TheItmFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\ITEMS\" & string(TheMapName) & ".txt").read
  3064.  
  3065. set ConditionsFile = GetProp(PlayerConds, Symbol(MyName))
  3066. set MapConditionsFile = file("" & SrvPath & "NewWorldsOnlineServer\DAT\CONDITIONS\" & string(TheMapName) & ".txt").read
  3067.  
  3068. if ConditionsFile = VOID or ConditionsFile = "" then
  3069. SetProp PlayerConds, Symbol(MyName), "::::::::::::::::::::::::::::::::::::::::::::::::"
  3070. set ConditionsFile = "::::::::::::::::::::::::::::::"
  3071. end if
  3072.  
  3073. if MapConditionsFile = VOID or MapConditionsFile = "" then
  3074. file("" & SrvPath & "NewWorldsOnlineServer\DAT\CONDITIONS\" & string(TheMapName) & ".txt").write("::::::::::::::::::::::::::::::::::::::::")
  3075. set MapConditionsFile = "::::::::::::::::::::::::::::::::::::::::"
  3076. end if
  3077.  
  3078. set SearchSt = TheItem & ":"
  3079.  
  3080. set the itemdelimiter = "|"
  3081.  
  3082. if item WhichSprt of TheItmFile contains SearchSt then
  3083.  
  3084. if TheItem contains "Platform" then exit
  3085. if TheItem contains "exit" then exit
  3086. if TheItem contains "sign" then exit
  3087. if TheItem contains "Anvil" then exit
  3088. if TheItem contains "waterfall" then exit
  3089. if TheItem contains "Lamp" then exit
  3090. if TheItem contains "Torch" then exit
  3091. if TheItem contains "Bones" then exit
  3092. if TheItem contains "8869" then exit
  3093. if TheItem contains "Chest" then exit
  3094. if TheItem contains "rpv" then exit
  3095. if TheItem contains "exit" then exit
  3096. if TheItem contains "epv" then exit
  3097. if TheItem contains "Vault" then exit
  3098. if TheItem contains "Vinour" then exit
  3099. if TheItem contains "Dresser" then exit
  3100. if TheItem contains "Cabinet" then exit
  3101. if TheItem contains "Forum" then exit
  3102. if TheItem contains "House" then exit
  3103. if TheItem contains "Key Duplicator" then exit
  3104. if TheItem contains "Tent" then exit
  3105. if TheItem contains "Barrel" then exit
  3106. if TheItem contains "SuitOf" then exit
  3107. if TheItem contains "Carpet" then exit
  3108. if TheItem contains "Candle" then exit
  3109. if TheItem contains "Spring" then exit
  3110. if TheItem contains "Hidden" then exit
  3111. if TheItem contains "Visible" then exit
  3112. if TheItem contains "Base" then exit
  3113. if TheItem contains "Stack" then exit
  3114. if TheItem contains "Portal" then exit
  3115. if TheItem contains "EventChest" then exit
  3116. if TheItem contains "Sewing Mach" then exit
  3117. if TheItem contains "Art1" then exit
  3118. if TheItem contains "Art2" then exit
  3119. if TheItem contains "Art3" then exit
  3120. if TheItem contains "Art4" then exit
  3121. if TheItem contains "Art5" then exit
  3122. if TheItem contains "Art6" then exit
  3123. if TheItem contains "Art7" then exit
  3124. if TheItem contains "Art8" then exit
  3125. if TheItem contains "Art9" then exit
  3126. if TheItem contains "Art10" then exit
  3127. if TheItem contains "Art11" then exit
  3128. if TheItem contains "Art12" then exit
  3129. if TheItem contains "Art14" then exit
  3130. if TheItem contains "Art13" then exit
  3131. if TheItem contains "Art15" then exit
  3132.  
  3133.  
  3134. set ItsIdol = FALSE
  3135. if TheItem contains "Idol" then set ItsIdol = TRUE
  3136.  
  3137. set OnePickUpOnly = FALSE
  3138.  
  3139.  
  3140. set IsItStraighttoUse = FALSE
  3141. if TheItem contains "Lil" then set IsItStraighttoUse = TRUE
  3142.  
  3143. set MyCharFile = GetProp(PlayerFiles, Symbol(MyName))
  3144.  
  3145. set the itemdelimiter = ":"
  3146. set the itemdelimiter = "|"
  3147. set MyInv = item 2 of MyCharFile
  3148. set MyCharFile = item 1 of MyCharFile
  3149.  
  3150. set the itemdelimiter = ":"
  3151. set WhichItem = 0
  3152. set WeGotItemStack = FALSE
  3153. set ggTheItem = TheItem
  3154.  
  3155.  
  3156.  
  3157. set ItemDatFile = file("B:\HirelingDat\" & string(TheItem) & ".txt").read
  3158.  
  3159. if ItemDatFile contains "\Stackable=TRUE" or ggTheItem = "Gold" then
  3160. repeat with x = 1 to 30
  3161. if item x of MyInv = ggTheItem then
  3162. set WhichItem = x
  3163. set WeGotitemStack = TRUE
  3164. exit repeat
  3165. end if
  3166. end repeat
  3167. end if
  3168.  
  3169.  
  3170.  
  3171.  
  3172. if WeGotItemStack = FALSE then
  3173. repeat with x = 1 to 30
  3174. if item x of MyInv = "" then set WhichItem = x
  3175. if item x of MyInv = "" then exit repeat
  3176. end repeat
  3177. end if
  3178.  
  3179. set the itemdelimiter = ":"
  3180. set TheCond = item WhichSprt of MapConditionsFile
  3181.  
  3182. if TheCond contains "]" then
  3183. --- set the itemdelimiter = "]"
  3184. --- put item 20 of TheCond
  3185. --- put MyName into item 20 of TheCond
  3186. end if
  3187.  
  3188. set the itemdelimiter = ":"
  3189.  
  3190. if TheCond = "" or TheCond = VOID then set TheCond = "50|0|1"
  3191. put "" into item WhichSprt of MapConditionsFile
  3192.  
  3193. if WeGotItemStack = TRUE then
  3194. set ThisMyCond = item WhichItem of ConditionsFile
  3195. set the itemdelimiter = "|"
  3196. set MyItemNum = integer(item 3 of ThisMyCond)
  3197. set HisItemNum = integer(item 3 of TheCond)
  3198. set NewTotal = MyItemNum + HisItemNum
  3199. put NewTotal into item 3 of ThisMyCond
  3200. set the itemdelimiter = ":"
  3201. put ThisMyCond into item WhichItem of ConditionsFile
  3202. end if
  3203.  
  3204. if WeGotItemStack = FALSE then put TheCond into item WhichItem of ConditionsFile
  3205.  
  3206.  
  3207. if ItemDatFile contains "\Stackable=TRUE" then
  3208.  
  3209. else
  3210.  
  3211. set the itemdelimiter = "|"
  3212. put "1" into item 3 of TheCond
  3213. set the itemdelimiter = ":"
  3214. put TheCond into item WhichItem of ConditionsFile
  3215. end if
  3216.  
  3217.  
  3218.  
  3219.  
  3220. if IsItStraighttoUse = TRUE then set WhichItem = 4
  3221. if WhichItem = 0 then exit
  3222.  
  3223. if IsItStraighttoUse = FALSE then put ggTheItem into item WhichItem of MyInv
  3224. set MyCharFile = MyCharFile & "|" & MyInv
  3225.  
  3226. SetProp PlayerFiles, Symbol(MyName), MyCharFile
  3227. SetProp PlayerConds, Symbol(MyName), ConditionsFile
  3228.  
  3229.  
  3230. User.sendMessage("HereAmInv", MyInv, 0, FALSE, user.name)
  3231. set MyCCFile = GetProp(PlayerConds, Symbol(MyName))
  3232. User.sendMessage("HereAmCond", MyCCFile, 0, FALSE, user.name)
  3233. set TheMapName = string(TheMapName)
  3234. set the itemdelimiter = "|"
  3235. put "" into item WhichSprt of TheItmFile
  3236. file("" & SrvPath & "NewWorldsOnlineServer\DAT\ITEMS\" & string(TheMapName) & ".txt").write(TheItmFile)
  3237. set ex = WhichSprt + 229
  3238. myPMovie.sendMessage("@" & TheMapName , "RemIttt", ex)
  3239.  
  3240. file("" & SrvPath & "NewWorldsOnlineServer\DAT\CONDITIONS\" & string(TheMapName) & ".txt").write(MapConditionsFile)
  3241. SetProp PlayerConds, Symbol(MyName), ConditionsFile
  3242. User.sendMessage("HereAmCond", ConditionsFile, 0, FALSE, user.name)
  3243.  
  3244. set BlockMap = TheMapName
  3245. UpdateAllBlocks(BlockMap)
  3246.  
  3247. if ItsIdol = TRUE then
  3248. set TheIdolIsHere = FALSE
  3249. set TheresAPlatformHere = FALSE
  3250.  
  3251. repeat with EQ = 1 to 20
  3252. set the itemdelimiter = "|"
  3253. if item EQ of TheItmFile contains "Platform" then
  3254. set TheresAPlatformHere = TRUE
  3255. set ThisPlatform = item EQ of TheItmFile
  3256. set the itemdelimiter = ":"
  3257. set Platformcolor = item 1 of ThisPlatform
  3258. set Platformcolor = word 1 of Platformcolor
  3259. set PlatformH = integer(item 2 of thisPlatform)
  3260. set PlatformV = integer(item 3 of ThisPlatform)
  3261.  
  3262. set SrchStr = PlatformColor & " " & "Idol:" & PlatformH & ":" & PlatformV
  3263.  
  3264. if TheItmFile contains SrchStr then set TheIdolIsHere = TRUE
  3265. exit repeat
  3266.  
  3267. end if
  3268. end repeat
  3269.  
  3270. --------------------------------------
  3271. if TheresAPlatformHere = TRUE then
  3272. if TheIdolIsHEre = FALSE then
  3273.  
  3274. repeat with WhatDoor = 1 to 20
  3275. set the itemdelimiter = "|"
  3276. set WhatsThisOne = item WhatDoor of TheItmFile
  3277.  
  3278. if WhatsThisOne contains "Visible Door" or WhatsThisOne contains "Visible Stairs" or WhatsThisOne contains "Visible Slammer" then
  3279. set the itemdelimiter = ":"
  3280. if WhatsThisOne contains "Visible Door" then put "Hidden Door" into item 1 of WhatsThisOne
  3281. if WhatsThisOne contains "Visible Stairs" then put "Hidden Stairs" into item 1 of WhatsThisOne
  3282. if WhatsThisOne contains "Visible Slammer" then put "Hidden Slammer" into item 1 of WhatsThisOne
  3283.  
  3284.  
  3285. set the itemdelimiter = "|"
  3286. put WhatsThisOne into item WhatDoor of TheItmFile
  3287.  
  3288. file("" & SrvPath & "NewWorldsOnlineServer\DAT\ITEMS\" & string(TheMapName) & ".txt").write(TheItmFile)
  3289.  
  3290. set sqadat = "* A door has been locked."
  3291. movie.sendMessage("@" & TheMapName, "sqa", sqadat)
  3292.  
  3293. set theSP = 20
  3294. set sDat = "lock:5:" & theSP
  3295. myPmovie.sendMessage("@" & TheMapName, "uSnd", sDat)
  3296.  
  3297. set SuperLine = WhatsThisOne & ":" & WhatDoor
  3298. movie.sendMessage("@" & TheMapName, "ItemDrop", SuperLine)
  3299.  
  3300. set BlockMap = TheMapName
  3301. UpdateAllBlocks(BlockMap)
  3302.  
  3303. end if
  3304. end repeat
  3305.  
  3306.  
  3307.  
  3308.  
  3309. end if
  3310. end if
  3311. ----------------------------------------
  3312.  
  3313. end if
  3314.  
  3315.  
  3316.  
  3317. exit
  3318. end if
  3319.  
  3320.  
  3321.  
  3322. end case
  3323.  
  3324. end
Add Comment
Please, Sign In to add comment