ID:1224818
 
(See the best response by Carnage Productions.)
I'm not a programmer but I am trying to program a few small things for a little project, I am having some problems with a rules verb where you click the verb and it uses winshow to pop up the pane I have made for it if somebody could help me with it I would appreciate it a lot.

Best response
winshow(src,"windowname",1) should do the trick
In response to Carnage Productions
Carnage Productions wrote:
winshow(src,"windowname",1) should do the trick

Okay thanks
In response to Carnage Productions
Carnage Productions wrote:
winshow(src,"windowname",1) should do the trick

mob/PC
verb
Rules()
set category = "Channels"
winshow(src,"rules",1)

I done this but when I click the verb it does nothing o-o
That's because you are using a verb. In verbs, you want to use usr usually, because src is well...the verb's owner...it's complicated. Just use usr.
In response to Albro1
Albro1 wrote:
That's because you are using a verb. In verbs, you want to use usr usually, because src is well...the verb's owner...it's complicated. Just use usr.

Okay, I'll post back if it works or not, thanks =)
Yay it worked, thanks so much ^^
It's not src because the usr isn't mob/PC. So it's going to refer to mob/PC not the usr who is probably just mob.