Thank you guys for all your help!
About the Script
The script should be placed into it's own script
<Alt+R
File
<New
Do CTRL F and say Find #Genius_Bar
and Replace with #YourChannel
Now to use it, it instructs the person who joins the channel to type !genius to work it. If it's not working, they will type !other
It will send a notice to all of the operators in the channel. Operators should be good with computers ;)
Changelog
Change 1:
Changed to several lines of msg
Added Content
Change 2:
Fixed some duplication bugs
Change 3:
Fixed !yes !no !other functions
Changed greet message
Change 4:
Basically rewrote the script :P
Shortened msgs, now sends to links (too avoid flooding)
Change 5:
Changed channel messages to /notice (whisper) the nicks to avoid confustions
on *:JOIN:#Genius_Bar: {
msg $chan 14Hello 7 $+ $nick $+ 14! For help, type 4!genius14. If the 7Genius_Bar 14 is not working, type 4!other
}
on 1:TEXT:!genius:#Genius_Bar:{
notice $nick 14What can I help you with?
notice $nick 4!iTunes - 14Importing FrostWire music into iTunes
notice $nick 7!Scripts - 14How to access your scripts, and where to find freeware script snippets.
notice $nick 4!Peercommons - 14Using Peercommons services (ChanServ, NickServ, and MemoServ)
notice $nick 7!FrostWire - 14FrostWire help
notice $nick 4!other - 14If you're having a problem unrelated to this help function
notice $nick -end-
}
on 1:TEXT:!iTunes:#Genius_Bar:{
notice $nick 14To load your 4FrostWire 14tunes to 4iTunes, 14visit this site for help: 4http://www.tinyurl.com/itunes-frostwire/
}
on 1:TEXT:!scripts:#Genius_Bar:{
notice $nick 14To load your 4mIRC 14scripts, press 4ALT R 14on your keyboard. This will bring up your Remotes. You can click the other tabs for other scripts
notice $nick 14For help with scripting, press 4F1 14on your keyboard.
notice $nick 14This dialog can be confusing, so try 4http://snipurl.com/beginner-help
}
on 1:TEXT:!peercommons:#Genius_Bar:{
notice $nick 14For help with registering a channel, use 4Chanserv14. 4http://snipurl.com/chanserv-cmds
notice $nick 14For help with sending messages to people both online and offline, use 4MemoServ14. 4http://snipurl.com/memoserv-cmds
notice $nick 14For help with making your nick permanent, and not allowing anyone to impersonate you, use 4NickServ14. 4http://snipurl.com/nickserv-cmds
}
on 1:TEXT:!frostwire:#Genius_Bar:{
notice $nick 14Other than the 4!iTunes 14command, we do not have any additional help for 4FrostWire
notice $nick 14For specific help, join 4#support 15<<<<<<Double-Cick
}
on 1:TEXT:!other:#Genius_Bar:{
notice $nick 14Sorry we could not help you. We are adding help to the Genius_Bar all the time!
notice $nick 14Please wait to see if anyone is available to help you!
.onotice $chan 14Help needed in 4#Genius_Bar!
}
Thats true miniCruzer.. it would be better to use onotice...
But the reason that the,
.set %assist-channel # $+ $r(100000000000,999999999999)
Is there is so that every person has there own channel.
that way thewre not all in one and every body is talking and getting confused.
I just prefer to be in a channel rather then pm. but thats just me.
@ iCub - Sorry, I read it wrong =/ Good idea too, I never thought about that! I'll be sure to change it.
@ mr_president Instead of
.timer 1 2 /msg minicruzer $nick needs assistance in %assist-channel
Over time I will have more and more technicians for the system, so I use .onotice $chan
.timer 1 2 /onotice $chan $nick needs assistance in channel %assist-channel
It sends a notice to the operators.
May I ask what this is doing?:
.set %assist-channel # $+ $r(100000000000,999999999999)
@ PATX - Following!
Thanks for all your help, guys! It means a lot!
Very true iCub, you should...
That is one idea that i belive would work for it...
I put the timers there to give it time to set the varible.
on join, instead of messaging the channel, a notice will suffice and will create less spam in the channel.
Also i would go with Kirbeh_Pr0nz idea of querying the nicks
eg: on 1:TEXT:!genius:?:{
and instead of:
msg $chan
do
.msg $nick
(the . makes it silent)
Good luck I guess
Oh and btw, I wouldn't have a clue about how to insert the proper 'code' html.
I designed it to be easier on the eyes, you know? I thought having a bunch of stuff in a few lines would be overwhelming, because half the users that join my channel are tarded and don't use it right...
Hash Tables: How do I get them to command my bot? So the same concept I am using with .ini files, but with Hash Tables...
Hashtables...
Kirbeh_Pr0nz: Should I had some 4 second timers?
JordanT: I'm (trying to) make a hashtable. First I am experimenting with (lol,brb,afk) hashtables. I've written one, now I'm trying to get it saved...
on *:START: {
; Creates the hash table
/hmake 10
}
alias acronym.init {
; Adds values to table
/hadd acronym afk Away From Keyboard
/hadd acronym brb Be Right Back
/hadd acronym gtg Go To Go
/hadd acronym lol Lauging Out Loud
/hadd acronym Talk To You Later
}
Good start, glad to see you're using $iif & if statements.
Nice wide variety of options, ncie work on incorporating the menu, I like that.
However, you could put it into hashtables for easier access and faster response times, although you could just stick with ini's.
Good work though, would like to see more from you :)
Theres no need for all the on text events, can be compiled into one.
on 1:TEXT:*:#ComputerSupport: {
if ($1 == !slow) <command>
if ($1 == !Protection) <command>
if ($1 == !FrostWire) <command>
}
also,
notice $nick Your greet message has been set to: $2-
Putting a '.' before notice makes it silent so it wont show on your window you sent the notice. But it will show the $nick that you are noticing.