It is currently Mon Sep 24, 2018 12:04 pm

All times are UTC [ DST ]




 Page 1 of 1 [ 5 posts ] 
Author Message
 Post subject: [General Scripting] Imput lists for X.
PostPosted: Wed Jun 22, 2005 7:43 am 
User avatar

Joined: Tue Oct 05, 2004 9:31 am
Posts: 35
Location: Argentina Buenos Aires
you must put that in your remote section :

Quote:
on 1:input:*: {

if ($1 == xlog) { .msg x@channels.undernet.org login $?="Username" $?*="Password"

if ($1 == xajoin) { .msg x set $chan Autojoin $2- | haltdef }

if ($1 == xmdeop) { .msg x set $chan massdeoppro $2- | haltdef }

if ($1 == xstrictop) { .msg x set $chan strictop $2- | haltdef }

if ($1 == xpart) { .msg x part $chan | haltdef }

if ($1 == xfloatlim) { .msg x set $chan floatlim $2- | haltdef }

if ($1 == xfloatgrace) { .msg x set $chan floatgrace $2- | haltdef }

if ($1 == xfloatmargin) { .msg x set $chan floatmargin $2- | haltdef }

if ($1 == .xfloatmax) { .msg x set $chan floatmax $2- | haltdef }

if ($1 == xfloatperiod) { .msg x set $chan floatperiod $2- | haltdef }

if ($1 == xatopic) { .msg x set $chan autotopic $2- | haltdef }

if ($1 == xdescription) { .msg x set $chan description $2- | haltdef }

if ($1 == xkeyw) { .msg x set $chan keywords $2- | haltdef }

if ($1 == xmode) { .msg x set $chan mode | haltdef }

if ($1 == xurl) { .msg x set $chan URL $2- | haltdef }

if ($1 == xuflags) { .msg x set $chan userflags $2- | haltdef }

if ($1 == xjoin) { .msg x join $chan | haltdef }

if ($1 == xpart) { .msg x part $chan | haltdef }

if ($1 == xadduser) { .msg x adduser $chan $2- | haltdef }

if ($1 == xremuser) { .msg x remuser $chan $2- | haltdef }

if ($1 == xclearmode) { .msg x clearmode $2 | haltdef }

if ($1 == xnlevel) { .msg x modinfo $chan Access $2- | haltdef }

if ($1 == xamode) { .msg x modinfo $chan Automode $2- | haltdef }

if ($1 == xkick) { .msg x kick $chan $2- | haltdef }

if ($1 == xstatus) { .msg x status $2 | haltdef }

if ($1 == xop) { .msg x op $chan $2- | haltdef }

if ($1 == xdeop) { .msg x deop $chan $2- | haltdef }

if ($1 == xinvite) { .msg x invite $chan $2- | haltdef }

if ($1 == xsuspend) { .msg x suspend $chan $2- | haltdef }

if ($1 == xususpend) { .msg x unsuspend $chan $2- | haltdef }

if ($1 == xban) { .msg x ban $chan $2- | haltdef }

if ($1 == xunban) { .msg x unban $chan $2- | haltdef }

if ($1 == xtopic) { .msg x topic $chan $2- | haltdef }

if ($1 == xvoice) { .msg x voice $chan $2- | haltdef }

if ($1 == xdevoice) { .msg x devoice $chan $2- | haltdef }

if ($1 == xbanlist) { .msg x banlist $chan | haltdef }

if ($1 == xremuser) { .msg x remuser $chan $2- | haltdef }

if ($1 == xaccess) { .msg x access $chan $2- | haltdef }

if ($1 == xlbanlist) { .msg x lbanlist $chan | haltdef }

if ($1 == xchaninfo) { .msg x chaninfo $chan | haltdef }

if ($1 == xsuspendme) { .msg x@channels.undernet.org SUSPENDME $?*="Password"

if ($1 == xhelp) { .msg x help $2- | haltdef }

if ($1 == xinfo) { .msg x info $2- | haltdef }

if ($1 == xmotd) { .msg x motd | haltdef }

if ($1 == xinvisible) { .msg x set invisible $2- | haltdef }

if ($1 == xshowcommands) { .msg x showcomannds $chan | haltdef }

if ($1 == xshowignore) { .msg x showignore | haltdef }

if ($1 == xverify) { .msg x verify $2- | haltdef }

}



Offline
 Profile  
 
 Post subject: Re: [scripting ] imput lists :)
PostPosted: Fri Jun 24, 2005 10:11 am 

Joined: Fri May 10, 2002 1:00 am
Posts: 435
Location: Netherlands
Certain suggestions:

Morfeo wrote:
if ($1 == xlog) { .msg x@channels.undernet.org login $?="Username" $?*="Password"

if ($1 == xlog) { .msg x@channels.undernet.org login $?="Username" $?*="Password" | haltdef }

Morfeo wrote:
if ($1 == .xfloatmax) { .msg x set $chan floatmax $2- | haltdef }

if ($1 == xfloatmax) { .msg x set $chan floatmax $2- | haltdef }

Morfeo wrote:
if ($1 == xsuspendme) { .msg x@channels.undernet.org SUSPENDME $?*="Password"

if ($1 == xsuspendme) { .msg x@channels.undernet.org SUSPENDME $?*="Password" | haltdef }



_________________
Don't bother reading, I'm just the lame botlender, right ?
Offline
 Profile  
 
 Post subject: ..
PostPosted: Fri Jun 24, 2005 11:37 am 
User avatar

Joined: Tue Oct 05, 2004 9:31 am
Posts: 35
Location: Argentina Buenos Aires
i dont understand your point :P <F>

morfeo


Offline
 Profile  
 
 Post subject:
PostPosted: Fri Jun 24, 2005 11:59 am 

Joined: Fri May 10, 2002 1:00 am
Posts: 435
Location: Netherlands
regarding the one about xlogin and xsuspendme:
I closed the brackets and added | haltdef

regarding xfloatmax: with the other commands you omitted the ., so let's do it here as well.



_________________
Don't bother reading, I'm just the lame botlender, right ?
Offline
 Profile  
 
 Post subject: thanks
PostPosted: Fri Jun 24, 2005 4:08 pm 
User avatar

Joined: Tue Oct 05, 2004 9:31 am
Posts: 35
Location: Argentina Buenos Aires
now i understand , thanks for that , i will update my remotes .
thanks out :)


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron