Eclipse - Free 2D Mmorpg Maker
March 11, 2010, 07:10:15 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Chat(2) Login Register  
 
 
   
 
collapse

* No Spam Or Websites

Refresh History
  • nickpop123: lonely*
    Today at 07:09:09 PM
  • Bit: Siedge would you mind logfging on ARtizan?
    Today at 07:09:05 PM
  • nickpop123: pmo is so lonly at night :O
    Today at 07:08:37 PM
  • Jungletoe: Theres a viking rpg now?
    Today at 07:06:21 PM
  • SHADERS: ya we can
    Today at 07:04:35 PM
  • ciocod: guess not
    Today at 07:04:10 PM
  • ciocod: can yall see me typing?
    Today at 07:03:44 PM
  • ciocod: whats goin on everyone?
    Today at 07:03:28 PM
  • Jungletoe: The wierd thing about a pirate rpg is trying to make variated tiles. Any suggestions? For example, life raft, bowies...
    Today at 06:55:57 PM
  • SHADERS: ice, ur not talkin funni anymor
    Today at 06:51:58 PM
  • XxshadowchrisXx: its not the end of the world
    Today at 06:48:11 PM
  • Robin: Holy Christ, I made a spelling mistake. Here*
    Today at 06:47:38 PM
  • Ice: am i robin?
    Today at 06:47:11 PM
  • Robin: And on that note, I'm going to bed. Nearing 3am.
    Today at 06:47:02 PM
  • Robin: Because you're hear bugging people.
    Today at 06:46:29 PM
  • Ice: ya why it say site may be buggy?
    Today at 06:45:15 PM
  • Jungletoe: You mean da site?
    Today at 06:44:19 PM
  • Ice: what happend?
    Today at 06:42:52 PM
  • Jungletoe: Im calling it Avast probably...
    Today at 06:42:41 PM
  • Jungletoe: I like the word cove...
    Today at 06:42:16 PM

* Recent Topics

Count to 1,000,000! by Jna
[Today at 06:53:15 PM]


Eclipse Origins v1.0.1 by Robin
[Today at 06:42:54 PM]


Eclipse's Networking Manual by Godlord
[Today at 06:12:31 PM]


[WIP] Domination by Soul
[Today at 06:08:59 PM]


A Couple Of Questions by PainKiller
[Today at 06:07:57 PM]


[Real Life Picture Thread] by Tylian!
[Today at 06:06:38 PM]


My Server is offline for other users by Admiral Refuge
[Today at 05:21:26 PM]


Pokemon Cyrus Online 2010 by Wraith
[Today at 05:20:00 PM]


Viking's Monster Graphics by Ghost
[Today at 05:19:48 PM]


Changing and adding stats names by Admiral Refuge
[Today at 04:00:47 PM]


* Who's Online


Site Author : Topic: /jail playername command  (Read 3757 times)
0 Members and 1 Guest are viewing this topic.
February 27, 2007, 01:39:23 PM
Veteran
Active Member
*
User No : 850
Posts: 421
Seriously...
  • View Profile
Code: (vb) [Select]

'script made by sting
   If LCase(Mid(TextSay, 1, 5)) = "/jail" Then
        If Len(TextSay) > 6 Then
            If GetPlayerAccess(index) < 2 Then
                Call PlayerMsg(index, "You need be of a higher access to use this command!", 4)
                Exit Sub
            End If
               
            n = Mid(TextSay, 6, Len(TextSay) - 5)
            n = FindPlayer(n)
           
            If n <> index Then
                If n > 0 Then
                    Call PlayerWarp(n, 1, 5, 5)
Code: (vb) [Select]
                    Call GlobalMsg(GetPlayerName(n) & " has been sent to jail by " & GETplayername(index) & ".", 9)
                    Call AddLog(GetPlayerName(index) & " has warped " & GetPlayerName(n) & " to self, map #" & GetPlayerMap(index) & ".", ADMIN_LOG)
                Else
                    Call PlayerMsg(index, "Player is not online.", 15)
                End If
            Else
                Call PlayerMsg(index, "You cannot jail yourself to yourself!", 15)
            End If
        End If
        Exit Sub
    End If
'script made by sting

that warp is the jail location u kno the part that is left out of code (it still must be included i just didnt put it in code so people could see it easyer)

call player warp(n, map num, x, y)

edit it so it works for u!

EDIT: my bad there was a bug fixed it now tho
« Last Edit: February 27, 2007, 02:24:46 PM by Sting » Logged

...ive got my swim trunks and my flippy floppys you at kinkos straight flippin copies...
February 27, 2007, 01:56:19 PM
Active Member
***
User No : 2221
Posts: 379
Location : Canadia
  • View Profile
  • WWW
I was making a /jail command lol.. nice, the jails i have are 3 so i'd just add a random to jail on different cells.. thanks
Logged

DanilO Network™ presents Rebelion Online - The Last Survivor

Unique PVP system ever seen, Incredible effects and Features..




Take the Magic: The Gathering 'What Color Are You?' Quiz.
 


Powered by MySQL Powered by PHP Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
SimplePortal 2.3.1 © 2008-2009, SimplePortal
Valid XHTML 1.0! Valid CSS!
Page created in 0.284 seconds with 24 queries.