Jump to content
  • 0

Script is giving me errors, it used to work.


Question

Posted (edited)

I have a script that's supposed to do @hide on login if you're a GM of a certain level.

Here's the scripts contents....

-	script	PCLogin::PCLogin3	-1,{
OnPcLoginEvent:
if (getgmlevel() >= 99)
atcommand strcharinfo(0) + "@hide" ;
end;
}

rA gives me an error upon logging in

warning: script: buildin_atcommand: failed to execute command 'strcharinfo<0>@hide'

I've been out of the RO scene for awhile and I'm getting back into it...I don't remember any of my scripting stuff. ;(

Edited by DR4LUC0N

2 answers to this question

Recommended Posts

Posted

1st off, wanna tell you go take a look at our conf\groups.conf

it has been split into 2 script commmands

getgmlevel() and getgroupid()

-	script	kjhfksjfhs	-1,{
OnPCLoginEvent:
if ( getgmlevel() == 99 )
	atcommand "@hide";
end;
}

something like this I guess

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...