Eclipse
January 05, 2009, 07:32:38 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Chat Help Rules Arcade Search Calendar Gallery Login Register  
 
 
 
Recent Topics +-
Azkanan's Workshop (Graphics) by Devogen
Today at 07:28:02 PM

New DezireSoft forums by The BanHammer! [Thor!]
Today at 07:27:15 PM

Makai Realms by Sʎ|3><(_)z
Today at 07:25:28 PM

Lostica [Project Revamp] by Sʎ|3><(_)z
Today at 07:23:54 PM

Teh Cult by Teh_General
Today at 07:17:35 PM

Phantasy Forum by Sʎ|3><(_)z
Today at 07:16:16 PM

Will do custom graphics using Photoshop (GUI/Banners/Logos/PD Sprites/ect..) by Sʎ|3><(_)z
Today at 07:15:30 PM

[E++] Fun with sprites! by Hikaru
Today at 07:11:35 PM

The New Eclipse Raid on Runscape by Teh Jna
Today at 07:10:00 PM

Disparity Recruiting by Peter
Today at 07:08:30 PM

Members Online +-
15 Guests, 29 Users
Kreator,
Dr. Who Cares,
Baron,
‪‫‬‭‮‪‫‬‭The Admiral,
Ambard,
Sʎ|3><(_)z,
karminezr0x,
westin444,
Hikaru,
2guns,
Southern,
Airscar,
Xavi,
shrig94,
Devogen,
The BanHammer! [Thor!],
Echo ♥ Pie,
Simius Cruentus,
dragonlord52,
Keebler Elf,
Niko,
MrAreth,
Syner,
Electrokinesis,
Elixix,
grenegg1,
Teh_General,
colby250,
kira423
Pages: [1]
  Print  
Author Topic: GM and MOD signs  (Read 3360 times)
0 Members and 1 Guest are viewing this topic.
Franky
BASIC <3
Active Member
***
Offline Offline

Posts: 415


View Profile WWW Email
« on: April 12, 2007, 03:48:11 PM »

OK, this is real simple

The GM Sighn

Just open up Main.txt and seach for:
Code: [Select]
/away
Now under where it says:
Code: [Select]
'End IfPress the space bar.

Now copy this:
Code: [Select]
Select Case LCase(Trim(TextSay))   
    Case "/gm"
        'If GetPlayerAccess(index) >= 2 Then
            If GetVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "Status") = 0 Then
                Call PlayerMsg("", 14)
                Call PutVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "Status", 1)
                Call PutVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "TempPlayerName", GetPlayerName(index))
                Call SetPlayerName(index, "GM - " & GetPlayerName(index) )
                Call SendPlayerData(index)
                Exit Sub
            ElseIf GetVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "Status") = 1 Then
                Call SetPlayerName(index, GetVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "TempPlayerName"))
                Call PlayerMsg("", 14)
                Call PutVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "Status", 0)
                Call SendPlayerData(index)
                Exit Sub
            End If
        'End If
and paste it there.

OK, now when you log in typ /gm. You should now have a GM sign next to your name.

The MOD Sign

Just open up Main.txt and seach for:
Code: [Select]
/away
NOTE: If you already did the first one, the just paste the code right under it.

Now under where it says:
Code: [Select]
'End IfPress the space bar.

Now copy this:
Code: [Select]
Select Case LCase(Trim(TextSay))   
    Case "/mod"
        'If GetPlayerAccess(index) >= 2 Then
            If GetVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "Status") = 0 Then
                Call PlayerMsg("", 14)
                Call PutVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "Status", 1)
                Call PutVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "TempPlayerName", GetPlayerName(index))
                Call SetPlayerName(index, "MOD - " & GetPlayerName(index) )
                Call SendPlayerData(index)
                Exit Sub
            ElseIf GetVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "Status") = 1 Then
                Call SetPlayerName(index, GetVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "TempPlayerName"))
                Call PlayerMsg("", 14)
                Call PutVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "Status", 0)
                Call SendPlayerData(index)
                Exit Sub
            End If
        'End If
and paste it there.

OK, now when you log in typ /mod. You should now have a MOD sign next to your name.

NOTE: Just typ /gm or /mod another time to get the sign off.

This is my second script so tell me how I did!  ^-^ ^-^ ^-^
Flaw
Member
**
Offline Offline

Posts: 89

GUI/GFX MAN!


View Profile Email
« Reply #1 on: April 15, 2007, 06:04:59 AM »

Simple, but it looks right from what i read... But i'm just to lazy and sick to read it carefully right now... lol...

Well done man.
Franky
BASIC <3
Active Member
***
Offline Offline

Posts: 415


View Profile WWW Email
« Reply #2 on: April 15, 2007, 06:31:47 AM »

Hey, thanks. It didn't really take along time because I just modified the /away command. But thanks for the reply.  ^-^ ^-^ ^-^
unixfr3ak
Member
**
Offline Offline

Posts: 74


Green Dixy The Source is Your End


View Profile Email
« Reply #3 on: October 31, 2007, 10:46:36 AM »

nice script noticed something thoe server when you reload the scripts gave error after adding so i  took out    Select Case LCase(Trim(TextSay))   on top  so instead of

Select Case LCase(Trim(TextSay))   
    Case "/gm"

i only have
 
    Case "/gm"


works fine now 
.:Mike:.
Advanced Member
****
Offline Offline

Posts: 643


mariah :) my one and only


View Profile Email
« Reply #4 on: October 31, 2007, 10:02:18 PM »

dont necro post XD this is 6-7 mons old ROFL
unixfr3ak
Member
**
Offline Offline

Posts: 74


Green Dixy The Source is Your End


View Profile Email
« Reply #5 on: November 02, 2007, 12:12:34 AM »

that may be the case for it being old but for the ones that cant figure out howto get rid of the error and looking at this script it will help them out ... just trying to be helpfull   :P
‪‫‬‭‮‪‫‬‭The Admiral
-_-'
Moderator
Advanced Eclipser
*
Online Online

Posts: 1,185


!deifieD


View Profile WWW Email
« Reply #6 on: November 02, 2007, 05:42:27 PM »

maybe we should change the rules for necroposting?
DANG!

God still killed a kitten though!
360236
Time Of Heroes Online(TOH)
Active Member
***
Offline Offline

Posts: 258


I P33N J00


View Profile WWW Email
« Reply #7 on: May 04, 2008, 03:56:15 PM »

doesnt work for me =[




(if you say im nerco posting so are you =D0(does it matter)
Balliztik
Veteran
Advanced Eclipser
*
Offline Offline

Posts: 1,987


View Profile Email
« Reply #8 on: May 04, 2008, 04:12:13 PM »

It doesn't work because the original script has unended Select cases in it. Remove the first line of each script.

Also, you might want to uncomment the access requirements, or normal players can display GM and MOD as well.
Franky
BASIC <3
Active Member
***
Offline Offline

Posts: 415


View Profile WWW Email
« Reply #9 on: May 06, 2008, 01:50:19 PM »

Jesus, why do people post on these year old topics lol. It probably wont even work since it was for like TE 1  :razz:
Pages: [1]
  Print  
 
 

Powered by EzPortal
Powered by MySQL Powered by PHP Powered by SMF 2.0 Beta 4 | SMF © 2006–2008, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!
Page created in 0.363 seconds with 33 queries.