Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Easy Warping
#1
Again, this is mainly a tutorial for people coming from Elysium, though it does make using mirage much easier. It adds in an option to just type "/warp" instead of "/warptome" and "/warpmeto" and "/warpto" which can get really confusing and annoying. Just type "/warp" to go anywhere, to a player, to a map, or to the moon... well not really.

Search in modgamelogic for
Code:
'// Mapper Admin Commands //
I put my code under this block of code
Code:
' Map Editor
            If LCase$(Mid$(MyText, 1, 10)) = "/mapeditor" Then
                frmMirage.Width = 14175
                Call SendRequestEditMap
                MyText = vbNullString
                frmMirage.txtMyChat.Text = vbNullString
                Exit Sub
            End If
You can put it anywhere you want in there really... Anyway here is the code.
[code] ' Warping
If LCase$(Mid$(MyText, 1, 5)) = "/warp" Then
If IsNumeric(Mid$(MyText, 6, Len(MyText) - 5)) Then
MyText = Mid$(MyText, 6, Len(MyText) - 5)
n = Val(MyText)
' Check to make sure its a valid map #
If n > 0 And n
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)