Skip to content
MSN

Creation, ocxless

A TG007 community discussion started by Gazzy.

Discussion 8 posts
Page 1 of 1
Open
Topic #5820 · 8 published posts · 988 views

Hello, i wrote a connection which is ocxless for the first time all works fine accept creation.. this is the creation code

 

sockwrite -n wOrm $+(nick $me,$cr,prop $ ROLE %role,$cr,Create UL %joins Created l 50 EN-US 1 Gazzy 0)

 

any ideas?

if this is in groups, 2 things:

 

1. make sure there is a full $crlf between the ROLE bit and the CREATE bit, not just $cr or $lf

 

2. make sure that the G in %#G_<name> is capitalized

bfush.PNG

sockwrite -n server.groups NICK $me

sockwrite -n server.groups PROP $ ROLE $+( :, $getppp(role) )

sockwrite -n server.groups CREATE UL $hget(Dem0n,room) ScreeM!Created l 9999 EN-US 1 $gSpass 0

 

 

test this.

Edited Feb 1, 2006 1:27 AM by ScreeM

Still couldn't get it to work i just get;

 

:TK2CHATWBG04 702 hairyfish :Channel not found

:hairyfish NICK hairyfish

:TK2CHATWBG04 908 hairyfish :No permissions to perform command

:TK2CHATWBG04 908 hairyfish :No permissions to perform command

the 908 raw is : channel access denied

on me:*:join:#:hop #

:TK2CHATWBG04 702 hairyfish :Channel not found

:hairyfish NICK hairyfish

:TK2CHATWBG04 908 hairyfish :No permissions to perform command

:TK2CHATWBG04 908 hairyfish :No permissions to perform command

 

 

Look.

 

4 make a room, first. see the server auth. dont put a role.. in a main server groups

 

see.

 

sockwrite -n $sockname $+( $lf AUTH 1 S $getAuthGate( $getppp( ticket ), $getppp( profile ) ) $lf USER " " " :, $dvers )

 

 

now.

 

 

elseif ( $2 == 702 ) {

echo 4 -a Room Not Found $hget( Dem0n, room ) creating...

if ( $gettok( $sockname, 2, 46 ) == groups ) {

 

hadd Dem0n is $+ $hget(Dem0n,room) $2

msn.getrole -u $hget(Dem0n,room)

}

else {

hadd -h q $hget(Dem0n,room) $gSpass

sockwrite -tn $sockname CREATE CP $hget(Dem0n,room) Dem0n\bconn. l 555 EN-US 1 $gSpass 0

 

}

 

}

 

 

put a get user role info in this place.

 

 

now..

 

 

 

on 1:sockread:msn.getrole.????:{

if ( !$sockerr ) {

var %ur, %sk, %e

sockread %ur

%sk = $sock( $sockname ).mark

if ( >RenderChat isin %ur ) {

if ( $gettok( %sk, 1, 32 ) == -u ) {

%e = $getppp( email )

getppp $hget( Dem0n, room ) $ctime $gettok( %ur, 8, 39 )

if ( $hget( Dem0n, is $+ $hget( Dem0n, room ) ) == 702 ) {

sockwrite -n server.groups $+( NICK $me, $lf, PROP $ ROLE :, $sRole( info, $hget( Dem0n, room ) ) )

sockwrite -n server.groups CREATE UL $hget( Dem0n, room ) Http://forumScripterz.tk3.net l 9999 EN-US 1 $gSpass 0

set -u10 %acreate. [ $+ [ $hget(Dem0n,room) ] ]

}

; etc etc is not a full getrole code *

 

 

... see.

 

 

If you put the creator in the same place of raw, this it did not work absolutely well. U needs time to obtain user Info... (role)

 

 

 

ScreeM

also remember that you must sign onto the lookup server with the passport that you want to use to create the room, otherwise it wont work.

and the alias of msn.getrole shud be ? :P

on me:*:join:#:hop #