If this isnt in the right section please do move.
Hey mutor u know the Right clicker in Rulers hub i use same one.
And i wanted a catergory in right clicker like e.g Messages , Redirects, Bans < then they have a menu off of them
I wanted the catergory to Be DcHubAd then the menu to be Advertise, Client Help
so it would 'look like this'
DcHubAd > Advertise
? ? ? ? ? ? ? ? ?Client Help
Then once clicked on either advertise or client help it sends the web address in pm to user??
Soz this mite make no sense but i know nout bout scripting lol , i would also like the code so i could add things to my right clicker in future ect ect.
If ya could help much appreciated! x
Oh i forgot to mention i dont want to run a seperate script for this i just want tobe able to slip it into my bot script if possible?
rite cant post or pm u it as it exceeds maximum length so i send it in one of the hubs ok?
Quote from: Kiss_me on 19 April, 2006, 22:26:36
rite cant post or pm u it as it exceeds maximum length so i send it in one of the hubs ok?
Attach...
here u go >>
u is a star :P cheers much appreciated!!!!!
I got this function (wich i mod it) if (cmd=="!showredirects") then
local RedirAdress,ShareRedir,SlotRedir,RatioRedir,MaxHubRedir,NoTagRedir,BanRedir = frmHub:GetRedirectAddress(),frmHub:GetShareRedirAddr(),frmHub:GetSlotsRedirAddr(),frmHub:GetRatioRedirAddr(),frmHub:GetMaxHubsRedirAddr(),frmHub:GetNoTagRedirAddr(),frmHub:GetBanRedirAddr()
return user:SendData("*** Present Redirect Settings are: \r\n "..
"\r\n On Hub Full Redirect: \t"..RedirAdress..
"\r\n On Max/Min Share Redirect: \t"..ShareRedir..
"\r\n On Min/Max Slots Redirect: \t"..SlotRedir..
"\r\n On Slot Ratio Redirect: \t"..RatioRedir..
"\r\n On Max Hub Redirect: \t"..MaxHubRedir..
"\r\n On No Tag Redirect: \t"..NoTagRedir..
"\r\n On Banned User Redirect: \t"..BanRedir.."\r\n"),1
end
but when for example the ptokax user didnt set the On Max/Min Share Redirect, i would want to add *N/A*...i got no sucess in adding or "*N/A*" "\r\n On Max/Min Share Redirect: \t"..ShareRedir..
Help plz :-\
Edit//- By the way whos create this script?
Quote from: Markitos on 21 April, 2006, 15:10:13
but when for example the ptokax user didnt set the On Max/Min Share Redirect, i would want to add *N/A*...i got no sucess in adding or "*N/A*" "\r\n On Max/Min Share Redirect: \t"..ShareRedir..
Just follow this syntax:
(sVar or "*N/A*")
You may have noticed that your code was missing those two parenthesis.
ruler scripted this script for the hubs we use & run.
Quote from: jiten on 21 April, 2006, 15:19:05
Quote from: Markitos on 21 April, 2006, 15:10:13
but when for example the ptokax user didnt set the On Max/Min Share Redirect, i would want to add *N/A*...i got no sucess in adding or "*N/A*" "\r\n On Max/Min Share Redirect: \t"..ShareRedir..
Just follow this syntax:
(sVar or "*N/A*")
You may have noticed that your code was missing those two parenthesis.
Nop were???
Quote from: Markitos on 21 April, 2006, 16:23:55
Nop were???
It was just an example. The correct syntax for that situation would be:
"\r\n On Max/Min Share Redirect: \t"..(ShareRedir or "*N/A*")..
As you can see, you will need parenthesis to use the "or" keyword.
Quote from: jiten on 21 April, 2006, 16:45:42
Quote from: Markitos on 21 April, 2006, 16:23:55
Nop were???
It was just an example. The correct syntax for that situation would be:
"\r\n On Max/Min Share Redirect: \t"..(ShareRedir or "*N/A*")..
As you can see, you will need parenthesis to use the "or" keyword.
:D
hey any 1 know why this is?
Im runing the modified version of my script by mutor (my lover) , and ive lost a few things off my right clicker>
Mass message to unreg (seperate script)
Dvd_Quiz (seperate script)
But..? my other master still has them (its wierd she has them though)? i restarted dc, & hub. but they havent returned :S any ideas?
Is the modified script interfering with those other 2? or is it jus me? as i had them b4 on right clicker! x
seriously its screwed up lol its just happened & i dont know why :(
Could it be my client playng up?
no one knows then??