Skip to content
MSN

Help with Scripts

A TG007 community discussion started by BraveMickey.

Discussion 16 posts
Page 1 of 1
Open
Topic #5214 · 16 published posts · 1,318 views

Im currently using Kenobi in my MSN group chatroom. I know I am not utilizing it to its full capacity, but I'd like to change that.

I know how to turn the scripts on that came with Kenobi, but I have no idea how to add new ones and to use them.

I was also wondering if there was a script out there that would print out certain answers when certain text was entered. For example....We are a "recovery" site for recovering addicts and alcoholics. I'd like to have a script that when someone typed in Step 1, that the step was given in the room by the bot. Is that possible and if so, does anyone know of a script that is already written to do that?

Of anyone can help me, Id be forever grateful.

 

you could change the bot talk in kenobi to do that

My code does NOT have bugs. It just develops random features.

Thiers help on to do text actions for ya

 

open note pade copy and paste those thier then when u have done as many steps as u want save it as Twelvesteps.mrc for eg

 

on *:text:*step1*:#:/msg $chan S \rTahoma;0 YOUR MESSAGE HERE  
on *:text:*step2*:#:/msg $chan S \rTahoma;0 YOUR MESSAGE HERE  

 

and maybe for a onjoin message to room in a time message so it dont disply to room every time someone entres u could use this

 

on *:join:#:{
 .ctcpreply $nick TIME (*)We are a "recovery" site for recovering addicts and alcoholics (Y)
}

 

You could just place the onjoin in the same file if u like seeing its about the same thing

 

Hope this helps

 

once u have it setup all u have to do is copy and paste the mirc file called twelvesteps.mrc for eg into ya main script folder then goto ya main script window use the keys Alt and r together and the remotes will pop up then goto the word file select new then goto file and select load or load script wich eva it maybe and search for the mirc file called twelvesteps.mrc and click it and say ok then close the remote and all going well it will work

 

Hope this helps

 

If someone wants to say how to load via typing load rs thng i cant rember how to prolly be easier

you could change the bot talk in kenobi to do that

 

Could you explain how I would change the bot talk?

 

Also..........Once i write all that out in notepad, how do I get it into Kenobi? Im completely lost about adding scripts and running them, but I am a quick learner.

 

Thank you for all y'alls help.

To add a script to kenobi do this

--------------------------------------

;Open Kenobi Script

;Click on the keyboard

"Alt + R"

;A dialog will open

"File > Load > Script"

;Chose the script you want to load..what ever the name you saved it with

;Click "OK"

--------------------------------------

The script will be loaded

Edited Nov 16, 2005 10:47 AM by fahad_aka_hitman

Ignorance Is Bliss

Could you explain how I would change the bot talk?

 

Also..........Once i write all that out in notepad, how do I get it into Kenobi? Im completely lost about adding scripts and running them, but I am a quick learner.

 

Thank you for all y'alls help.

 

 

Please bear with me for my slowness in learning this...........

 

;Open Kenobi Script

;Click on the keyboard

"Alt + R"

;A dialog will open

"File > Load > Script"

;Chose the script you want to load..what ever the name you saved it with

;Click "OK"

 

Where and/or how do I open Kenobi script? Is that the window you mean that I open in order to join the room? I can not find the keyboard you refer too.

 

Also, this may be along the same lines and it may not..............

I did see how to turn the bot talk on but is there a way to limit some of the things that are said? He responds to winks and other things that seem to be disruptive to the flow of chat.

 

Im sorry for asking and bothering you with all these questions that I am sure are very stupid sounding questions, but my desire to learn is out weighing my humility and I so appreciate the willingness you all have to help me.

 

Thanks again.

BraveMickey :lmaojump: open kenobi so you can see a page that has the creators name on it .. press Alt +R on ur keyboard .. that will take you into remote .. at the top of remote you will see file /edit / view / listen / options/ help .. click on view and a drop down menu will appear ... scroll down untill you see ozzybottalk.mrc and click on that and it will open ozzy's bot talk for kenobi .. there you can edit out what you wont as long as you lol dont upset the creator ;)

Edited Nov 16, 2005 6:43 PM by Johnson

Oh Johnson...............Thank you sooooooooooooo much. I got to where you gave instructions to and am going to play around in there.

Thank you so very much for your patience and willingness to help. :lmaojump:

Oh Johnson...............Thank you sooooooooooooo much. I got to where you gave instructions to and am going to play around in there.

Thank you so very much for your patience and willingness to help. :lmaojump:

 

It is a great script and I hold my hands up to ozzy .. I love that script and .. hey it took me sometime to learn how to use him :lolwave: But like you this forum gave me the help I needed :D

Oh Johnson...............Thank you sooooooooooooo much. I got to where you gave instructions to and am going to play around in there.

Thank you so very much for your patience and willingness to help. :lmaojump:

 

 

Me again, the pest.............

I did what you suggested and it works great...........EXCEPT

 

When I say Step 10, it recognizes the 1 and will only put out Step 1. Any suggestions? I typed it out long hand i.e. Step Ten but would rather just use 10 if I can.

BraveMickey ... Try this but change the number i.e. 1 and 2 and so on until you get 10

on *:TEXT:*step*1*:*:/msg #  that is your first step $replace($nick,>,Guest_)

remember you can change the text between msg # and $replace($nick,>,Guest_) good luck

I tried that.. it works

BraveMickey ... Try this but change the number i.e. 1 and 2 and so on until you get 10

on *:TEXT:*step*1*:*:/msg #  that is your first step $replace($nick,>,Guest_)

remember you can change the text between msg # and $replace($nick,>,Guest_) good luck

 

on *:TEXT:*Step 1*:*:/msg # Step 1. We admitted we were powerless over alcohol~that our lives had become unmanageable.

($nick,>,Guest_)

 

This is what I have

 

That works great, but for steps 10, 11 and 12 I have...........

 

on *:TEXT:*Step *1*0*:*:/msg # Step 10. Continued to take personal inventory and when we were wrong promptly admitted it

($nick,>,Guest_)

 

and I tried

 

on *:TEXT:*Step *10*:*:/msg # Step 10. Continued to take personal inventory and when we were wrong promptly admitted it

($nick,>,Guest_)

 

The bot only sees the 1 and spits out step 1 not 10. Do you know how to fix this?

try this, i've tested it and shows the right msg with the right step

 

on *:TEXT:step*:#:{

if ($2 == 1) { msg # Step 1. <msg here> }

elseif ($2 == 2) { msg # Step 2. <msg here> }

elseif ($2 == 3) { msg # Step 3. <msg here> }

elseif ($2 == 4) { msg # Step 4. <msg here> }

elseif ($2 == 5) { msg # Step 5. <msg here> }

elseif ($2 == 6) { msg # Step 6. <msg here> }

elseif ($2 == 7) { msg # Step 7. <msg here> }

elseif ($2 == 8) { msg # Step 8. <msg here> }

elseif ($2 == 9) { msg # Step 9. <msg here> }

elseif ($2 == 10) { msg # Step 10. <msg here> }

}

 

just replace <msg here> with your own

"the important thing was, that i had an onion on my belt, which was the style at the time"

BraveMickey as before just add your text between the msg# and $replace($nick,>,Guest_)

 

on *:TEXT:*step*1*:*:/msg #  $replace($nick,>,Guest_)
on *:TEXT:*step*2*:*:/msg #  $replace($nick,>,Guest_)
on *:TEXT:*step*3*:*:/msg #  $replace($nick,>,Guest_)
on *:TEXT:*step*4*:*:/msg #  $replace($nick,>,Guest_)
on *:TEXT:*step*5*:*:/msg #  $replace($nick,>,Guest_)
on *:TEXT:*step*6*:*:/msg #  $replace($nick,>,Guest_)
on *:TEXT:*step*7*:*:/msg #  $replace($nick,>,Guest_)
on *:TEXT:*step*8*:*:/msg #  $replace($nick,>,Guest_)
on *:TEXT:*step*9*:*:/msg #  $replace($nick,>,Guest_)
on *:TEXT:*step*10*:*:/msg #  $replace($nick,>,Guest_)
on *:TEXT:*step*11*:*:/msg #  $replace($nick,>,Guest_)
on *:TEXT:*step*12*:*:/msg #  $replace($nick,>,Guest_)
on *:TEXT:*step*13*:*:/msg #  $replace($nick,>,Guest_)
on *:TEXT:*step*14*:*:/msg #  $replace($nick,>,Guest_)
on *:TEXT:*step*15*:*:/msg #  $replace($nick,>,Guest_)

 

Here is an example /on *:TEXT:*step*1*:*:/msg # The first step to take on Alcohol $replace($nick,>,Guest_) . is give up drinking

TY TY TY TY

Id like to thank you all for your help..............IT WORKED!!!!!!!!!!!!!!!!!!!!!!

 

Im doing the snoopy dance.

 

Thank you just doesnt seem enough for the gratitude I feel for you all taking the time to help me out.

 

There is so much out there that I can do and I just was not utilizing Kenobi anywhere near

what I can.

 

Thank you again.............. :lmaojump: