Skip to content
MSN

prop ownerkey problem

A TG007 community discussion started by DreaM.

Discussion 6 posts
Page 1 of 1
Open
Topic #829 · 6 published posts · 702 views

hi guys biggrin.gif , me again lol

 

when my script changes code, I always get one of the following errors in status window:

 

1- too many arguements

2- owner bad command

 

any help please?

 

I use: prop # ownerkey $read passes.txt

Try setting a variable for the read part. Here is a code to try...

 

alias ownerkey change {
  var %getownerkey = $read passes.txt
   prop $chan ownerkey %getownerkey
}

 

I don't know if this will work for you. I haven't tried it out, yet, but hopefully it will work. If not, just let me know, and I'll come up with something? smile.gif

Your problem:

$read passes.txt 

Should be:

$read(passes.txt)

If you're using this code in a dialog event, eg if you press a button and it props a pass (supposed to) then you must use Prop $active ownerkey $read(passes.txt)

"Be more concerned with your character than your reputation

because your character is who you really are while your reputation is merely what others think of you."

 

DesolateMx 8.0

thank you all, I tried $read(passes.txt) and yes it changes code like before but I still get error: owner bad command so any more help please? help.gif

from what i know, this means that there is sumthing wrong with pas your tryin to set. It means that part of it isn't allowed by msn or sumthin lyke that, i get that too, but when i try to set the pass as sumthin else, it works smile.gif

 

--SpAzz--